|
发表于 2003-6-23 11:12:07
|
显示全部楼层
这个文件不是关于硬盘的DMA吧?
[root@redhat71 /tmp]# more /proc/dma
1: SoundBlaster8
4: cascade
上面没有硬盘相关的东东,但hdparm显示我的硬盘是开启了dma的
[root@redhat71 /tmp]# hdparm /dev/hde
/dev/hde:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2498/255/63, sectors = 40132503, start = 0
[root@redhat71 /tmp]# hdparm -i /dev/hde
/dev/hde:
Model=QUANTUM FIREBALLP LM20.5, FwRev=A35.0700, SerialNo=884014767511
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1900kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
IORDY=on/off, tPIO={min:120,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
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 1 2 3 4 5
我只知道/etc/sysconfig/harddisks这个文件是有硬盘相关参数的,但从来都不需要设置它(我用的是RHL),因为系统默认就识别了,该启用的各种参数也都启用了
至少在我机上是这样,我手工折腾过一些参数,然后用hdparm -tT测试来比较结果,得到的答案是默认值就是优化值 |
|