我需要买新的 RAM。
- 首先我需要知道速度>>完成
- 其次我需要知道延迟>>如何?
我已从谷歌尝试过所有方法。
dmidecode --type memory
dmidecode 2.11
dd if=/dev/zero of=/dev/sda2 bs=1G count=1 oflag=direct
apt-get install hardinfo
apt-get install sysinfo
cat /proc/meminfo
cat /var/log/dmesg | grep Memory
decode-dimms
update-pciids
lshw -C memory | grep clock
apt-get install lshw
lshw -C memory
答案1
答案2
请使用命令1:
sudo dmidecode -t 17 or dmidecode -t memory
命令 1 的输出:
# dmidecode 2.11
SMBIOS 2.6 present.
Handle 0x000E, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: 1
Locator: M1
Bank Locator: Bank 0
Type: DDR3
Type Detail: Synchronous
Speed: 1334 MHz
Manufacturer: 830B
Serial Number: DBC8287D
Asset Tag: 1012
Part Number: NT2GC64B8HC0NS-CG
Rank: Unknown
---------------------------------------
output command 2
# dmidecode 2.11
SMBIOS 2.6 present.
Handle 0x000D, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 4
Handle 0x000E, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: 1
Locator: M1
Bank Locator: Bank 0
Type: DDR3
Type Detail: Synchronous
Speed: 1334 MHz
Manufacturer: 830B
Serial Number: DBC8287D
Asset Tag: 1012
Part Number: NT2GC64B8HC0NS-CG
Rank: Unknown
Handle 0x000F, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: 1
Locator: M2
Bank Locator: Bank 1
Type: DDR3
Type Detail: Synchronous
Speed: 1334 MHz
Manufacturer: 0198
Serial Number: A30EEB39
Asset Tag: 1044
Part Number: 9905428-012.A00LF
Rank: Unknown
Handle 0x0010, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: No Error
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: SODIMM
Set: 1
Locator: M3
Bank Locator: Bank 2
Type: DDR3
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Rank: Unknown
Handle 0x0011, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: No Error
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: SODIMM
Set: 1
Locator: M4
Bank Locator: Bank 3
Type: DDR3
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Rank: Unknown
答案3
在我的旧戴尔 Vostro 3700 笔记本上,安装了 Ubuntu 20.04,‘解码 dimms’对我有用(使用'modprobe eeprom');它返回了一堆信息,例如:
Fundamental Memory type DDR3 SDRAM
Module Type SO-DIMM
...
Maximum module speed 1333 MHz (PC3-10600)
...
Minimum Cycle Time (tCK) 1.500 ns
Minimum CAS Latency Time (tAA) 13.125 ns
来自 Crucial 网站:“延迟 (ns) = 时钟周期时间 (ns) x 时钟周期数”;因此,查找 CL 类(时钟周期数),将“Minimum CAS Latency Time”(延迟)除以“Minimum Cycle Time”(时钟周期时间):最接近的整数应该是 CL 值(我得到了 8.75,CL9 应该与我的 RAM 模块一致)。
注意:如果没有找到读取新 SPD 闪存所需的正确模块,'decode-dimms' 可能无法输出有关 DDR4 系统的信息,而且它似乎只适用于最近的 Linux 版本,正如 Guilherme Parreira 在上面所写;它甚至可能向您显示有关内存模块最大性能的信息,而不是它们正在使用的实际值。请注意。
参考:
至关重要的-RAM 速度和 CAS 延迟之间的差异
Damieng 博客-Linux 中的 DDR4 内存信息