[dpdk-users] How to get the number of memory channels?

Jaganathan Palanisamy jpalanis at redhat.com
Mon Dec 11 13:09:21 CET 2017


We see that the output format of dmidecode is not consistent across
baremetals. Executed command "sudo dmidecode | grep 'DIMM' " on two
different machines and got different output formats.

Machine1 Output:
Locator: A1
Bank Locator: Not Specified
Locator: A2
Bank Locator: Not Specified
Locator: A3
Bank Locator: Not Specified
Locator: B1
Bank Locator: Not Specified
Locator: B2
Bank Locator: Not Specified
Locator: B3
Bank Locator: Not Specified

Machine2 Output:

Locator: PROC  1 DIMM  1
Bank Locator: Not Specified

Locator: PROC  1 DIMM  2

Bank Locator: Not Specified
Locator: PROC  1 DIMM  3
Bank Locator: Not Specified

Locator: PROC  2 DIMM  1

Bank Locator: Not Specified
Locator: PROC  2 DIMM  2
Bank Locator: Not Specified
Locator: PROC  2 DIMM  3
Bank Locator: Not Specified


Please let me know there is any other tools to identify the number of
memory channels per socket or we have to just rely on the hardware
manuals?


Thanks,

Jaganathan.


More information about the users mailing list