大网数据广告活动
服务器运维问答

How do I get my memory channel(Single channel, Dual channel, etc) type in Linux?

· 52CE 我爱测

I want to know what type of my memory channel in Linux, Single or Dual or etc.. I try find it by check /proc filesystem, but didn't success. And then I use dmidecode to get system informations, and check, also didn't find. How ca…

问题原文

原帖链接 · superK · CC BY-SA 4.0

I want to know what type of my memory channel in Linux, Single or Dual or etc..

  1. I try find it by check /proc filesystem, but didn't success. And then
  2. I use dmidecode to get system informations, and check, also didn't find.

How can I get it?

社区高分解答

原帖链接 · xendi · CC BY-SA 4.0

People giving "Interleaved Data Depth" as the answer are not correct. Interleaved Data Depth either is not the correct indicator or is very commonly misreported (If it's reported at all).

An easy way to obtain how many channels you're using is to do something like the following:

sudo dmidecode -t 17 | awk 'BEGIN { FS=":"; OFS="\t" } /Size|Channel/ { line = (line ? line OFS : "") $2 } /^$/ { print line; line="RAM" }' | grep -iv 'no'

sample output (Dual channel):

RAM  32 GB   ChannelA-DIMM0
RAM  32 GB   ChannelB-DIMM0

On this same machine, let's check Interleaved Data Depth:

sudo dmidecode | grep Interleaved

output:

Interleaved Data Depth: 1
Interleaved Data Depth: 1

On this same machine was also verified in Windows via CPU-Z. Under memory was reported verbatim: Dual Channel

So Interleaved Data Depth is incorrect but we can easily check our channels (A, B, C, D, etc.).

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2013-12-31)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。