Guest User!

You are not Sophos Staff.

[2.060][BUG] Wrong number of CPU for asg under Xen

Hi

acc GM inventory for my asg under xen return 4 CPU whereas I've only 2 CPU !


asg:/root # lshw -C CPU
  *-cpu:0                 
       description: CPU
       product: Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
       vendor: Intel Corp.
       physical id: 1
       bus info: cpu@0
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 1
       size: 3070MHz
       capacity: 3070MHz
       width: 64 bits
       capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 x86-64 constant_tsc pni cx16 lahf_lm
  *-cpu:1
       description: CPU
       product: Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
       vendor: Intel Corp.
       physical id: 2
       bus info: cpu@1
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 2
       size: 3070MHz
       capacity: 3070MHz
       width: 64 bits
       capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 x86-64 constant_tsc pni cx16 lahf_lm
  *-cpu:2
       description: CPU
       vendor: Intel
       physical id: 5
       bus info: cpu@2
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 1
       size: 3070MHz
       capacity: 3070MHz
  *-cpu:3
       description: CPU
       vendor: Intel
       physical id: 6
       bus info: cpu@3
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 2
       size: 3070MHz
       capacity: 3070MHz


thx
Parents
  • Your 2 CPUs probably have HyperThreading, so Linux shows them as 4 (as would Windows).

    Barry
  • Your 2 CPUs probably have HyperThreading, so Linux shows them as 4 (as would Windows).

    Barry


    Nope, this is a Xen VM for which I've set 2 vCPUs only..


    asg:/root # cat /proc/cpuinfo 
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 23
    model name : Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
    stepping : 10
    cpu MHz : 3070.485
    cache size : 64 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 4
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 lm constant_tsc pni cx16 lahf_lm
    bogomips : 6154.62

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 23
    model name : Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
    stepping : 10
    cpu MHz : 3070.485
    cache size : 64 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 4
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 lm constant_tsc pni cx16 lahf_lm
    bogomips : 6140.70

    asg:/root # 


    but forget about that one I think I already reported such a thing on the asg 7.500 beta or older beta... Don't remember exactly...

    thx
  • Hi BuBU,

    hardware detection in all those different virtual environments is difficult and error-prone. We already have the memory size related issue on AxG devices running under XEN (think you reported that one as well). 

    I suggest we put these things together, but I cannot guarantee that we will be able to fix any of these issues in due time - main reason being that we primarily/only officially support Vmware ...

    Anyway, thanks for your report here [:)] !

    Regards,
    Henning
Reply
  • Hi BuBU,

    hardware detection in all those different virtual environments is difficult and error-prone. We already have the memory size related issue on AxG devices running under XEN (think you reported that one as well). 

    I suggest we put these things together, but I cannot guarantee that we will be able to fix any of these issues in due time - main reason being that we primarily/only officially support Vmware ...

    Anyway, thanks for your report here [:)] !

    Regards,
    Henning
Children
No Data