DMA的速度!!!
# hdparm -t /dev/hda/dev/hda:
Timing buffered disk reads:64 MB in1.44 seconds = 44.44 MB/sec
上面是打开DMA后的速度...
命令即硬盘的信息...
# hdparm -d 1 -c 1 -k 1 /dev/hda
/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
IO_support =1 (32-bit)
using_dma =1 (on)
keepsettings =1 (on)
# hdparm -i /dev/hda
/dev/hda:
Model=IC35L040AVVA07-0, FwRev=VA2OA52A, SerialNo=VNC202A2GW816A
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=80418240
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:pio0 pio1 pio2 pio3 pio4
DMA modes:mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:2 3 4 5 最好中间加一个-X69
支持DMA100 hdparm-X69 -d 1 -c 1 -k 1 /dev/hda
测试改为
hdparm -Tt /dev/hda 我不用加X69,就可以启动UDMA5的...用上面的命令!!
页:
[1]