我的是西捷40G,查看DMA是否已经打开:
# hdparm -d /dev/hda
/dev/hda:
using_dma = 1 (on)
已经打开了,
如果没有,用参数-d1打开:
# hdparm -d1 /dev/hda
基本情况:
# hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 78165360, start = 0
更为详细的情况:
# hdparm -i /dev/hda
/dev/hda:
Model=ST340014A, FwRev=8.01, SerialNo=5JXH1V88
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
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=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2: ATA/ATAPI-1,2,3,4,5,6
* signifies the current active mode
速度:
# hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 1054 MB in 2.00 seconds = 526.99 MB/sec
Timing buffered disk reads: 162 MB in 3.03 seconds = 53.49 MB/sec
这是大小为6376256K(6.1G)的一组文件,转移到另一分区所用的时间:
real 11m18.078s
user 0m0.204s
sys 0m25.166s
阅读(1904) | 评论(0) | 转发(0) |