測試的指令如下,記得要把 xvda 替換成你的磁碟機:
# hdparm -tT /dev/xvda
# hdparm -tT /dev/xvda
QUOTE:
/dev/xvda:
Timing cached reads: 14784 MB in 1.98 seconds = 7462.31 MB/sec
Timing buffered disk reads: 640 MB in 3.01 seconds = 212.77 MB/sec
-T :測試暫存區 cache 的存取效能
-t :測試硬碟的實際存取效能 (較正確!)
-t :測試硬碟的實際存取效能 (較正確!)