Wrong data for cores on Unix Agent 2.1.1

Bug #1342038 reported by Stephan Boulinguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Medium
Frank

Bug Description

Hello,

we upgraded to 2.1.1 to have the correct number of CPU processors on our unix agents, but now, the agent gives us wrong cpu cores values:
ex:
From OCS:
Manufacturer Type Serial number Frequency Cores number L2 cache size Architecture Data width Current address width Logical CPUS Voltage Current speed Socket type
Intel Intel(R) Xeon(R) CPU E5649 @ 2.53GHz 2533 24 12288 x86_64 64 0 0 1.4 2533 Socket LGA1366
Intel Intel(R) Xeon(R) CPU E5649 @ 2.53GHz 2533 24 12288 x86_64 64 0 0 1.4 2533 Socket LGA1366
==> 24 cores found by cpu

From proc cpuinfo:
CPU 0 : intel(r) xeon(r) cpu e5649 @ 2.53ghz 6 cores, 12 threads
CPU 1 : intel(r) xeon(r) cpu e5649 @ 2.53ghz 6 cores, 12 threads
=> indeed, 6 cores only by cpu

have you already met this bug?
is there a quick fix?

Regards

Revision history for this message
Stephan Boulinguez (sboulinguez) wrote :

strange that anybody has answered yet :-/

Revision history for this message
Frank (frank-bourdeau) wrote :

Hi,

Can you give us result of
 => dmidecode -t processor command
 => cat /proc/cpuinfo file

Thanks

Changed in ocsinventory-unix-agent:
importance: Undecided → Medium
assignee: nobody → Frank (frank-bourdeau)
Revision history for this message
Stephan Boulinguez (sboulinguez) wrote :
Download full text (19.7 KiB)

Hello,

##################
cat /proc/cpuinfo :
##################
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
stepping : 2
cpu MHz : 2533.493
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 0
cpu cores : 6
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5066.98
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
stepping : 2
cpu MHz : 2533.493
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 0
cpu cores : 6
apicid : 32
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5066.80
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
stepping : 2
cpu MHz : 2533.493
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 8
cpu cores : 6
apicid : 16
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5066.86
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
stepping : 2
cpu MHz : 2533.493
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 8
cpu cores : 6
apicid : 48
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5066.80
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
stepping : 2
cpu MHz : 2533.493
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 2
cpu cores : 6
apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 11
...

Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: New → In Progress
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: In Progress → Fix Committed
Revision history for this message
Stephan Boulinguez (sboulinguez) wrote :

Hello

can we know the next release date which will include this fix?

Regards

Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
milestone: none → 2.2rc1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.