How to check RAM timings in linux?

16

1

In windows, CPUz provides info about memory timings. Is it possible to view that in linux? Is there any app that can show me the memory timings of the RAM currently installed in my system?

EDIT: I want to know the CAS latency. CPUz screenshot:

enter image description here

Papul

Posted 2012-12-15T18:25:23.497

Reputation: 269

Answers

11

Memtest will show you the timings and I found on the ubuntuforums that i2c-tools will give you what you're looking for with these commands:

sudo modprobe eeprom    
decode-dimms

dzampino

Posted 2012-12-15T18:25:23.497

Reputation: 680

Does this work with SO-DIMM memories? It does not work on my laptop – ChesuCR – 2017-03-23T10:09:16.957

Doesn't work on my Vaio VPCEB3M1E either. – rbaleksandar – 2017-04-29T12:28:55.423

Doesn't work on my Lenovo B70-80. Maybe need to modprobe? – Konrad Gajewski – 2018-03-10T01:16:43.937

7

You can get information about the memory with:

lshw -C memory

In particular, you can get the clock speed and latency with:

lshw -C memory | grep clock

balkian

Posted 2012-12-15T18:25:23.497

Reputation: 684

The tool actually reports memory capabilities, not the effective clock. For instance, on my hardware (motherboard supports memory clock up to 1600 MHz) it reports: clock: 2133MHz (0.5ns) (which is the maximum speed my DDR modules can operate at, provided they're plugged in a more modern MB). – Bass – 2016-02-18T09:46:41.757

Does this command works under virtual machine? I got nothing after executing the command – Frank Liu – 2018-09-24T07:30:50.880

4I get 1.9 ns. How do I translate that to CAS latency value, if possible? – Papul – 2012-12-15T18:58:15.287

1

If you are going to need more information, you should use i2c-tools instead.

– balkian – 2012-12-15T19:13:28.290

1That 1.9 ns is the clock interval, not the latency. This tool is reading DMI, you'd need something that reads SPD. – David Schwartz – 2013-11-28T07:11:17.063

3

This worked for me:

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

decode-dimms needs the correct module to be loaded to be able to read the DIMMs. It is unclear to me exactly which one worked for me, but I guess it depends on the chipset in your machine.

Ole Tange

Posted 2012-12-15T18:25:23.497

Reputation: 3 034

Can you please add a source/ give explanation of what those commands do? Your answer appeared on the Low Quality Posts queue. – CaldeiraG – 2019-11-06T12:55:06.477

-5

There are several ways to do this. In the console you can type the "top" and is a simple equivalent of Windows Task Manager. If you are in graphic environment, for example in Ubuntu 12.04 Gnome / Unity can search the System Monitor.

KakashiSan

Posted 2012-12-15T18:25:23.497

Reputation: 71

5I need to know the CAS latency of the RAM modules, not how much RAM is being used. – Papul – 2012-12-15T18:36:41.807