Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

PCM can't find second socket on system

Alexander_Alexeev
425 Views

Hello 

I faced a problem with PCM, it can't recognize second CPU available on the board and attribute all core to the single one.

Below is an output from PCM  and after that from wmic 

Briefly in reality there are two CPU E5-2680 with SMT disabled so 8 cores each and 16 totally. PCM in turn found single CPU with 16 cores.

What could be a source of the problem?

Thanks

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 Intel(r) Performance Counter Monitor V2.7 (2014-09-10 12:12:32 +0200 ID=4ede607)

 Copyright (c) 2009-2014 Intel Corporation

Number of physical cores: 16
Number of logical cores: 16
Number of online logical cores: 16
Threads (logical cores) per physical core: 1
Num sockets: 1
Physical cores per socket: 16
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 8
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 2700000000 Hz
Package thermal spec power: 130 Watt; Package minimum power: 51 Watt; Package maximum power: 200 Watt;
PCM Warning: the bus for socket 0 on system with 1 sockets could not find via PCI bus scan. Using cpubusno reg1 memory controllers detected with total number of 4 channels.
Delay: 5
Using PCM on your system might have a performance impact as per http://software.intel.com/en-us/articles/perfos-on-snb-ep-with-vtune
You can avoid the performance impact by using the option --noJKTWA, however the cache metrics might be wrong

Detected Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz "Intel(r) microarchitecture codename Sandy Bridge-EP/Jaketow

DEBUG: caught signal to interrupt: Ctrl-C event
Cleaning up
Using PCM on your system might have a performance impact as per http://software.intel.com/en-us/articles/perfos-on-snb-ep-with-vtune
You can avoid the performance impact by using the option --noJKTWA, however the cache metrics might be wrong t
 Zeroed PMU registers

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

AddressWidth  Architecture  Availability  Caption                               ConfigManagerErrorCode  ConfigManagerUserConfig  CpuStatus  CreationClassName  CurrentClockSpeed  CurrentVoltage  DataWidth  Description                           DeviceID  ErrorCleared  ErrorDescription  ExtClock  Family  InstallDate  L2CacheSize  L2CacheSpeed  L3CacheSize  L3CacheSpeed  LastErrorCode  Level  LoadPercentage  Manufacturer  MaxClockSpeed  Name                                      NumberOfCores  NumberOfLogicalProcessors  OtherFamilyDescription  PNPDeviceID  PowerManagementCapabilities  PowerManagementSupported  ProcessorId       ProcessorType  Revision  Role  SocketDesignation  Status  StatusInfo  Stepping  SystemCreationClassName  SystemName  UniqueId  UpgradeMethod  Version  VoltageCaps  

64            9             3             Intel64 Family 6 Model 45 Stepping 7                                                   1          Win32_Processor    2701               11              64         Intel64 Family 6 Model 45 Stepping 7  CPU0                                      100       179                  2048                       4096         0                            6      2               GenuineIntel  2701           Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz  8              8                                                                                            FALSE                     BFEBFBFF000206D7  3              11527     CPU   CPU 1              OK      3                     Win32_ComputerSystem     spa                   38                                   

64            9             3             Intel64 Family 6 Model 45 Stepping 7                                                   1          Win32_Processor    2701               11              64         Intel64 Family 6 Model 45 Stepping 7  CPU1                                      100       179                  2048                       4096         0                            6      0               GenuineIntel  2701           Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz  8              8                                                                                            FALSE                     BFEBFBFF000206D7  3              11527     CPU   CPU 2              OK      3                     Win32_ComputerSystem     spa                   38                                   

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

 

0 Kudos
7 Replies
Roman_D_Intel
Employee
425 Views

Alexander,

thanks for your report.

could you please attach /proc/cpuinfo from your system?

Thank you,

Roman

0 Kudos
Alexander_Alexeev
425 Views

It is Windows system.

What information  I can provide then?

0 Kudos
Patrick_F_Intel1
Employee
425 Views

Hello Alexander,

Do you have NUMA disabled on the system?

Pat

0 Kudos
Alexander_Alexeev
425 Views

Patrick Fay (Intel) wrote:

Do you have NUMA disabled on the system?

Yes

0 Kudos
Patrick_F_Intel1
Employee
425 Views

PCM uses code based on http://msdn.microsoft.com/en-us/library/windows/desktop/ms683194%28v=vs.85%29.aspx to enumerate the nodes. Since you have numa disabled I'm assuming that pcm only sees 1 processor. 

Can you check if after enabling numa then does PCM run okay?

Maybe we need to change PCM to look at processorPackageCount instead of numaNodeCount in the GetLogicalProcessorInformation() logic.

Pat

0 Kudos
Alexander_Alexeev
425 Views

Patrick Fay (Intel) wrote:

Can you check if after enabling numa then does PCM run okay?

With NUMA enabled PCM shows two sockets.

0 Kudos
Roman_D_Intel
Employee
425 Views

Hi Alexander,

thanks for reporting this. I will send you a patch for testing.

Thanks,

Roman

0 Kudos
Reply