How to check RAM Timings and SPD information on Linux

这篇具有很好参考价值的文章主要介绍了How to check RAM Timings and SPD information on Linux。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

How to check RAM Timings and SPD information on Linux - BinaryTides

Ram timings are technical specs about ram modules that are installed in laptops or desktops. These number indicate the performance of the ram module interms of how fast they can read and write data.

The appear as 4 number set separated by a hyphen, for example like this: 16-16-16-39. Now these numbers tell us how fast the ram would potentially be able to handle data read/write requests from the cpu.

The timings are indicative of clock cycles required for circuit level operations inside the ram module, and usually higher timing means slower performance. So ideally you want ram with low timings. But yes faster ram is also more expensive.

On Windows there are plenty of gui tools to check the ram timings for example Rammon, HwInfo, CPU-Z etc. However on Linux there are limited gui tools for this feature. However there are commond line tools that can report ram timings

Instal i2c-tools

The first step is to install the i2c-tools package and then load the eeprom module from it.

sudo apt-get install i2c-tools
sudo modprobe eeprom

decode-dimms is probably what you're looking for, but apparently you need to have the correct i2c module loaded before it works. Follow this tutorial:

Ubuntu See Live RAM Timings Decode DIMMS - richud.com

I got it working after these steps:

sudo aptitude install i2c-tools
sudo modprobe eeprom
sudo modprobe i2c-i801
decode-dimms

Now you can run the decode-dimms command and get the spd information the ram's spd eeprom chips.

decode-dimms

According to the man page for decode-dimms: "decode-dimms - decode the information found in memory module SPD EEPROMs". So its pretty self explanatory. We shall try running this command on multiple systems like desktops and laptops all of which are physical hardware located near me.

Testing various systems

In this example we shall run decode-dimms command on multiple systems and compare the output, to estimate the performance of the ram module. In general faster ram means faster read/write speeds and overall better system performance.

1. Ubuntu system

The first one is a Ubuntu desktop machine with Gigabyte motherboard and Corsair ram (2400 MT/s-DDR) in 16G+16G configuration with identical sticks. Lets run the decode-dimms command and see the output:文章来源地址https://www.toymoban.com/news/detail-644926.html

$ decode-dimms
# decode-dimms version 4.3

Memory Serial Presence Detect Decoder
By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
Jean Delvare, Trent Piepho and others


Decoding EEPROM: /sys/bus/i2c/drivers/ee1004/0-0050
Guessing DIMM is in                              bank 1
Kernel driver used                               ee1004

---=== SPD EEPROM Information ===---
EEPROM CRC of bytes 0-125                        OK (0x085B)
# of bytes written to SDRAM EEPROM               384
Total number of bytes in EEPROM                  512
Fundamental Memory type                          DDR4 SDRAM
SPD Revision                                     1.0
Module Type                                      UDIMM
EEPROM CRC of bytes 128-253                      OK (0x27DE)

---=== Memory Characteristics ===---
Maximum module speed                             2400 MT/s (PC4-19200)
Size                                             16384 MB
Banks x Rows x Columns x Bits                    16 x 16 x 10 x 64
SDRAM Device Width                               8 bits
Ranks                                            2
Rank Mix                                         Symmetrical
Primary Bus Width                                64 bits
AA-RCD-RP-RAS (cycles)                           16-16-16-39
Supported CAS Latencies                          25T, 20T, 19T, 18T, 17T, 16T, 15T, 14T, 13T, 12T, 11T, 10T, 9T

---=== Timings at Standard Speeds ===---
AA-RCD-RP-RAS (cycles) as DDR4-2400              16-16-16-39
AA-RCD-RP-RAS (cycles) as DDR4-2133              15-15-15-35
AA-RCD-RP-RAS (cycles) as DDR4-1866              13-13-13-31
AA-RCD-RP-RAS (cycles) as DDR4-1600              11-11-11-26

---=== Timing Parameters ===---
Minimum Cycle Time (tCKmin)                      0.833 ns
Maximum Cycle Time (tCKmax)                      1.500 ns
Minimum CAS Latency Time (tAA)                   13.320 ns
Minimum RAS to CAS Delay (tRCD)                  13.320 ns
Minimum Row Precharge Delay (tRP)                13.320 ns
Minimum Active to Precharge Delay (tRAS)         32.375 ns
Minimum Active to Auto-Refresh Delay (tRC)       45.810 ns
Minimum Recovery Delay (tRFC1)                   350.000 ns
Minimum Recovery Delay (tRFC2)                   260.000 ns
Minimum Recovery Delay (tRFC4)                   160.000 ns
Minimum Four Activate Window Delay (tFAW)        22.000 ns
Minimum Row Active to Row Active Delay (tRRD_S)  4.160 ns
Minimum Row Active to Row Active Delay (tRRD_L)  5.820 ns
Minimum CAS to CAS Delay (tCCD_L)                5.356 ns

---=== Other Information ===---
Package Type                                     Monolithic
Maximum Activate Count (MAC)                     Unlimited
Post Package Repair                              Not supported
Module Nominal Voltage                           1.2 V
Thermal Sensor                                   No

---=== Physical Characteristics ===---
Module Height                                    32 mm
Module Thickness                                 2 mm front, 2 mm back
Module Reference Card                            B revision 0

---=== Manufacturer Data ===---
Module Manufacturer                              Corsair
DRAM Manufacturer                                Micron Technology
Part Number                                      CMK16GX4M1A2400C16  


Decoding EEPROM: /sys/bus/i2c/drivers/ee1004/0-0052
Guessing DIMM is in                              bank 3
Kernel driver used                               ee1004

---=== SPD EEPROM Information ===---
EEPROM CRC of bytes 0-125                        OK (0x085B)
# of bytes written to SDRAM EEPROM               384
Total number of bytes in EEPROM                  512
Fundamental Memory type                          DDR4 SDRAM
SPD Revision                                     1.0
Module Type                                      UDIMM
EEPROM CRC of bytes 128-253                      OK (0x27DE)

---=== Memory Characteristics ===---
Maximum module speed                             2400 MT/s (PC4-19200)
Size                                             16384 MB
Banks x Rows x Columns x Bits                    16 x 16 x 10 x 64
SDRAM Device Width                               8 bits
Ranks                                            2
Rank Mix                                         Symmetrical
Primary Bus Width                                64 bits
AA-RCD-RP-RAS (cycles)                           16-16-16-39
Supported CAS Latencies                          25T, 20T, 19T, 18T, 17T, 16T, 15T, 14T, 13T, 12T, 11T, 10T, 9T

---=== Timings at Standard Speeds ===---
AA-RCD-RP-RAS (cycles) as DDR4-2400              16-16-16-39
AA-RCD-RP-RAS (cycles) as DDR4-2133              15-15-15-35
AA-RCD-RP-RAS (cycles) as DDR4-1866              13-13-13-31
AA-RCD-RP-RAS (cycles) as DDR4-1600              11-11-11-26

---=== Timing Parameters ===---
Minimum Cycle Time (tCKmin)                      0.833 ns
Maximum Cycle Time (tCKmax)                      1.500 ns
Minimum CAS Latency Time (tAA)                   13.320 ns
Minimum RAS to CAS Delay (tRCD)                  13.320 ns
Minimum Row Precharge Delay (tRP)                13.320 ns
Minimum Active to Precharge Delay (tRAS)         32.375 ns
Minimum Active to Auto-Refresh Delay (tRC)       45.810 ns
Minimum Recovery Delay (tRFC1)                   350.000 ns
Minimum Recovery Delay (tRFC2)                   260.000 ns
Minimum Recovery Delay (tRFC4)                   160.000 ns
Minimum Four Activate Window Delay (tFAW)        22.000 ns
Minimum Row Active to Row Active Delay (tRRD_S)  4.160 ns
Minimum Row Active to Row Active Delay (tRRD_L)  5.820 ns
Minimum CAS to CAS Delay (tCCD_L)                5.356 ns

---=== Other Information ===---
Package Type                                     Monolithic
Maximum Activate Count (MAC)                     Unlimited
Post Package Repair                              Not supported
Module Nominal Voltage                           1.2 V
Thermal Sensor                                   No

---=== Physical Characteristics ===---
Module Height                                    32 mm
Module Thickness                                 2 mm front, 2 mm back
Module Reference Card                            B revision 0

---=== Manufacturer Data ===---
Module Manufacturer                              Corsair
DRAM Manufacturer                                Micron Technology
Part Number                                      CMK16GX4M1A2400C16  


Number of SDRAM DIMMs detected and decoded: 2
$

到了这里,关于How to check RAM Timings and SPD information on Linux的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • Ubuntu 18.04 and 16.04 How to change the resolution

    1. open 2. Find 3. Replace the above line by the following line 4. update command 5. restart your system

    2024年01月21日
    浏览(28)
  • How to Use your mac to Read a Word and Repeat it more times

    The say command is a fun and useful feature on Mac computers that allows you to convert text to speech using the command line. With this command, you can make your Mac speak anything you type after it. say 命令是 Mac 计算机上一种有趣且实用的功能,它允许您使用命令行将文本转换为语音。使用此命令,您可以让您的 Mac 说

    2024年02月15日
    浏览(11)
  • Why Large Language Models Hallucinate and How to solve this//LLM为什么产生幻觉以及如何应对

    Why Large Language Models Hallucinate and How to solve this//LLM为什么产生幻觉以及如何应对

    \\\" Large language models (LLMs) can generate fluent and coherent text on various topics and domains, but they are also prone to hallucinations or generating plausible sounding nonsense. This can range from minor inconsistencies to completely fabricated or contradictory statements. The causes of hallucinations are related to data quality, generation methods an

    2024年02月11日
    浏览(12)
  • 【Git】Git pull代码时,出现报错:hint: you have divergent branches and need to specify how to reconcile them.

    在执行 git pull 时,出现了如下提示: 先翻译下提示的信息: git:(develop) git pull origin develop 提示:您有不同的分支,需要指定如何协调它们。 提示:您可以通过在之前某个时间运行以下命令之一来做到这一点 提示:你的下一次获取: 提示: 提示:git config pull.rebase false # 合并(默认策

    2024年04月14日
    浏览(11)
  • postgresql13远程连接报错 Connection to 117.50.184.237:5432 refused. Check that the hostname and port are c

    postgresql13远程连接报错 Connection to 117.50.184.237:5432 refused. Check that the hostname and port are c

    报错信息 Connection to hostname:port refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused: no further information 解决方案 修开配置文件 添加以下内容并保存如图 重启 再次连接 报错 FATAL: no pg_hba.conf entry for host “ip”, user “postgres”, data

    2024年02月15日
    浏览(17)
  • How AI is changing Big Data and Business

    作者:禅与计算机程序设计艺术 随着人工智能的不断进步、计算机算力的不断提高,以及基于云计算平台的大数据产生的越来越多的数据,人工智能已成为经济界和产业界的一股重要力量。而人工智能究竟能给企业带来哪些新的机遇和变化,如何运用人工智能为企业提供更好

    2024年02月08日
    浏览(8)
  • Authorization not available. Check if polkit service is running or see debug message for more inform

    在CentOS想使用Docker,但是安装完后Docker客户端无法连接到Docker守护进程 输入: 显示: 通过询问chatGPT和搜索各种博客以及csdn,均无法解决问题 1、重新安装 polkit 服务(可选) 卸载旧版本的polkit: 清除旧版本的polkit数据: 安装新版本的polkit: 2、重新安装dbus服务(可选)

    2024年02月16日
    浏览(9)
  • MIMO Broadcasting for Simultaneous Wireless Information and Power Transfer

    MIMO Broadcasting for Simultaneous Wireless Information and Power Transfer

    在本节中,我们讨论了EH和ID接收器位于同一位置的情况,从而拥有与发射器相同的信道,即 G = H G = H G = H ,因此 N E H = N I D ≜ N N_{mathrm{EH}}=N_{mathrm{ID}} triangleq N N EH ​ = N ID ​ ≜ N 。我们首先研究了这种情况下问题(P3)的最优解,从中我们获得了R-E区域可实现的速率-功率对

    2024年01月18日
    浏览(27)
  • How to Use Glslang

    Execution of Standalone Wrapper 要使用独立的二进制形式,请执行glslang,它将打印一条使用语句。基本操作是给它一个包含着色器的文件,它会打印出警告/错误以及可选的 AST。 应用的特定于阶段的规则基于文件扩展名: vert 顶点着色器 tesc 曲面细分控制着色器 tese 曲面细分评估着

    2024年02月14日
    浏览(13)
  • Rust教程:How to Rust-变量

    本文为第1篇 本专栏是优质Rust技术专栏,推荐精通一门技术栈的蟹友,不建议完全无计算机基础的同学 感谢Rust圣经开源社区的同学,为后来者提供了非常优秀的Rust学习资源 本文使用: 操作系统macOS Sonoma 14 / Apple M1 编译器:Rustc Cargo 感谢一路相伴的朋友们,感谢你们的支持

    2024年03月15日
    浏览(42)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包