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:43:19PM -0400, Thor Lancelot Simon wrote:
> On Tue, Apr 28, 2009 at 12:41:28PM -0400, matthew sporleder wrote:
> > On Tue, Apr 28, 2009 at 12:23 PM, Thor Lancelot Simon 
> > <tls%rek.tjls.com@localhost> wrote:
> > > 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?
> 
> I can't run it under Xen -- it doesn't work.  I'll have to wait until I
> can reboot the machine to NetBSD/amd64 to check, I guess.

for whatever it's worth, it does work in Xen here, on 5.0_RC3.
cpu0 is a p4 with HTT, so dmesg shows a cpu0 and a cpu1.
  --david

esther# cpuctl list
Num  HwId Unbound LWPs Interrupts     Last change
---- ---- ------------ -------------- ----------------------------
0    0    online       intr           Tue Apr  7 11:19:37 2009
esther# uname -a
NetBSD esther.dsrw.org 5.0_RC3 NetBSD 5.0_RC3 (XEN3_DOM0-static-pf) #0: Tue Apr 
 7 11:01:51 CDT 2009  
dlg%build-50rc3.dsrw.org@localhost:/usr/src/sys/arch/i386/compile/XE
N3_DOM0-static-pf i386
esther# grep cpu /var/run/dmesg.boot
cpu0 at mainbus0 apid 0: (boot processor)
cpu1 at mainbus0 apid 1: (application processor)
vcpu0 at hypervisor0: Intel 686-class, 2793MHz, id 0xf29
esther#

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index