Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: telling real from HTT CPUs under xen?



On Tue, Apr 28, 2009 at 12:23 PM, Thor Lancelot Simon 
<tls%rek.tjls.com@localhost> wrote:
> I have a system with two 3.2Ghz Pentium 4 CPUs, which have HTT.
>
> It reports CPUs with apid 0, 6, 1, 7, in that order -- both in the Xen
> and the NetBSD dmesg.  Of course these are actually 4 hardware threads
> on 2 physical processors.
>
> I will only ever have two domUs on this host and want to pin each to a
> different _physical_ processor.  The boot CPU is apid 0, and I suspect
> that 0 and 6 are on that physical CPU while 1 and 7 are on the other; but
> how can I tell?  I don't see anything relevant in any diagnostic output
> I can get either from NetBSD or Xen.
>

What does cpuctl list show in the HwId column?

Is that info in sysctl or some other easy-to-query place?


Home | Main Index | Thread Index | Old Index