I'm trying to determine (without physically having access to a machine) the number of RAM channels it supports (single, dual, etc) - AND whether it is configured to use that setup, e.g with four slots and dual channel RAM, you only get dual channel if you plug your RAM into the correct slots.

I know how to determine how many RAM modules I have plugged in, I don't know how to get the number of channels.

Run dmidecode. The "Interleaved Data Depth" gives the number of channels.

Dual-channel memory has an interleaved depth of 2.

Handle 0x0041, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x0040
Memory Array Mapped Address Handle: 0x0049
Partition Row Position: Unknown
Interleave Position: 1
Interleaved Data Depth: 2
  • 4
    Thanks, what if the "Interleaved Data Depth" = "Unknown? – Zack Newsham Jul 11 '15 at 6:17
  • +1 for Interleaved Data Depth: Unknown – stamster Jan 4 at 9:50
  • 1
    Wrong, Interleaved Data Depth is the "Maximum number of consecutive rows from the referenced Memory Device that are accessed in a single interleaved transfer". It's not related to the number of memory channels. Interleaving and channels are different things, although to make things more complex, channels can also be interleaved, in addition to the usual bank interleaving. DMI type 37 provides with the number of channels (but not their arrangements). See SMBIOS spec for more info. – Eric Feb 22 at 15:03
# dmidecode -t memory | grep Bank
    Bank Locator: P0_Node0_Channel0_Dimm0
    Bank Locator: P0_Node0_Channel0_Dimm1
    Bank Locator: P0_Node0_Channel1_Dimm0
    Bank Locator: P0_Node0_Channel1_Dimm1
    Bank Locator: P0_Node0_Channel2_Dimm0
    Bank Locator: P0_Node0_Channel2_Dimm1
    Bank Locator: P0_Node0_Channel3_Dimm0
    Bank Locator: P0_Node0_Channel3_Dimm1
  • Not working: Bank Locator: Not Specified – Imaskar Sep 27 at 13:33

Do the dmidecode command but specify which type to use, like this:

$ sudo dmidecode -t memory | grep Size

This is the output from my system, I have a total of four channels and atm using two.

Size: 4096 MB
Size: No Module Installed
Size: 4096 MB
Size: No Module Installed
  • 5
    This displays the number of DIMM slots, not the number of channels. – Zack Newsham Jul 11 '15 at 14:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.