hum*_*shu 5 linux memory performance ram hardware-interface
我使用以下命令来测量 ram 写入速度,但它显示的速度远低于 RAM 上提到的速度。
time dd if=/dev/zero of=tes bs=100M count=10 oflag=dsync && sync
10+0 records in
10+0 records out
1048576000 bytes (1.0 GB) copied, 1.05167 s, 997 MB/s
real 0m1.056s
user 0m0.001s
sys 0m1.053s
Run Code Online (Sandbox Code Playgroud)
我正在使用 DDR3 并通过以下公式计算理论最大 ram 速度是:
Max transfer rate= clock x no of bits / 8
DIMM module transfer 64 bits
Max Theoretical Transfer Rate= clock x (64/8)
=1333 x 8
=10,664 MB/s
Run Code Online (Sandbox Code Playgroud)
所以理论上的预期速度应该是 10 GB/s(大约),但实际上它的速度要少得多。所以谁能告诉我为什么?提前致谢!