Hi I''m trying to work on multiple things, basically in this case when I boot up with the 2.6.11 xen kernel, it only see''s one cpu, I thought that xen by default was smp enabled. How can I enable smp support for the xen0 kernel? Thanks Shaz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 21 July 2005 14:28, Shahzad Chohan wrote:> I''m trying to work on multiple things, basically in this case when I > boot up with the 2.6.11 xen kernel, it only see''s one cpu, I thought > that xen by default was smp enabled. How can I enable smp support for > the xen0 kernel?xen is smp enabled, but only the hypervisor itself, not the guests. so if you have 4 CPUs, you can run 4 guests and each will have its own CPU, but (currently) you can''t assign more than one CPU to a guest. Its a planned feature however, maybe its working in some xen-unstable snapshots ... /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 7/21/05, Ernst Bachmann <e.bachmann@xebec.de> wrote:> On Thursday 21 July 2005 14:28, Shahzad Chohan wrote: > > I''m trying to work on multiple things, basically in this case when I > > boot up with the 2.6.11 xen kernel, it only see''s one cpu, I thought > > that xen by default was smp enabled. How can I enable smp support for > > the xen0 kernel? > > xen is smp enabled, but only the hypervisor itself, not the guests. > so if you have 4 CPUs, you can run 4 guests and each will have its own CPU, > but (currently) you can''t assign more than one CPU to a guest. > > Its a planned feature however, maybe its working in some xen-unstable > snapshots ... >Hi Sorry what I meant was that after bootup into the xen0 kernel I can only see 1 cpu, I''ve attached my cpu list below. This server has two spu''s but only on eis being shown cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Xeon(TM) CPU 3.06GHz stepping : 5 cpu MHz : 3065.877 cache size : 512 KB fdiv_bug : no hlt_bug : yes f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6121.06 Any ideas? Thanks Shaz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 21 July 2005 14:45, Shahzad Chohan wrote:> Hi > > Sorry what I meant was that after bootup into the xen0 kernel I can > only see 1 cpu, I''ve attached my cpu list below. This server has two > spu''s but only on eis being shown > > cat /proc/cpuinfo > processor : 0...> Any ideas? > > Thanks > Shazxen0 is just another guest within xen, so its the same as with xenUs. Only one CPU for each guest. from a dual xeon with HyperThreading enabled: cat /proc/cpuinfo shows just ONE cpu (in xen0 and each xenU), but "xm info" shows: ... machine : i686 cores : 2 hyperthreads_per_core : 2 ... makes 4 CPUs total. # xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 120 0 r---- 14734.5 db01 8 511 1 -b--- 275.6 9608 db02 3 511 3 -b--- 13786.0 9603 Shows CPU''s 0,1,3 in use with CPU 2 currently unused. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 7/21/05, Ernst Bachmann <e.bachmann@xebec.de> wrote:> On Thursday 21 July 2005 14:45, Shahzad Chohan wrote: > > > Hi > > > > Sorry what I meant was that after bootup into the xen0 kernel I can > > only see 1 cpu, I''ve attached my cpu list below. This server has two > > spu''s but only on eis being shown > > > > cat /proc/cpuinfo > > processor : 0 > ... > > Any ideas? > > > > Thanks > > Shaz > > xen0 is just another guest within xen, so its the same as with xenUs. Only one > CPU for each guest. > > from a dual xeon with HyperThreading enabled: > > cat /proc/cpuinfo shows just ONE cpu (in xen0 and each xenU), > > but "xm info" shows: > ... > machine : i686 > cores : 2 > hyperthreads_per_core : 2 > ... > > makes 4 CPUs total. > > # xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 120 0 r---- 14734.5 > db01 8 511 1 -b--- 275.6 9608 > db02 3 511 3 -b--- 13786.0 9603 > > Shows CPU''s 0,1,3 in use with CPU 2 currently unused. >Great Thanks for that. Shaz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users