htctouch 2013-10-17 16:07
CentOS Linux 如何使用 hdparm 硬碟測速
Hdparm 內含滿方便的測速模式,可以看一下每個設定的速度差異。進行測試前建議先關閉所有可能影響結果的程式。最好是從終端做。<div>測試的指令如下,記得要把 <font color="#ff0000">xvda</font> 替換成你的磁碟機:<div><span style="line-height: 20.796875px;"><br></span># hdparm -tT /dev/<font color="#ff0000">xvda</font></div><div><br></div>[quote]<br>/dev/xvda:<br> Timing cached reads: 14784 MB in 1.98 seconds = 7462.31 MB/sec<br> Timing buffered disk reads: 640 MB in 3.01 seconds = 212.77 MB/sec<br>[/quote]<br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, �L�n������; font-size: 12px; line-height: 18px;">-T :測試暫存區 cache 的存取效能</span><span class="Apple-style-span" style="font-family: Verdana, Arial, �L�n������; font-size: 12px; line-height: 18px;"><br>
</span><span class="Apple-style-span" style="font-family: Verdana, Arial, �L�n������; font-size: 12px; line-height: 18px;">-t :測試硬碟的實際存取效能 (較正確!)</span></div>