fishfree 发表于 2004-3-30 09:15:35

请高手帮我调整硬盘性能参数,非常感谢!

# hdparm /dev/hda

/dev/hda:
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   = 4865/255/63, sectors = 78165360, start = 0
# hdparm -i /dev/hda

/dev/hda:

Model=ST340016A, FwRev=3.75, SerialNo=3HSCH3CC
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=16
CurCHS=4047/16/255, CurSects=16511760, 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: device does not report version:1 2 3 4 5

调整好以后怎么保存啊?谢谢!

felix 发表于 2004-3-30 09:52:53

编辑你的
    /etc/sysconfig/harddisks
按说明修改!

不过请千万小心,如果搞错,嘿嘿...

那不是我的错!

fxdlxf 发表于 2004-4-2 05:33:42

hdparm k1 /dev/hdXXX
用于保存
不要去改那个文件。比较危险的。

或许你把命令加入到/etc/rc.d/rc.local中
页: [1]
查看完整版本: 请高手帮我调整硬盘性能参数,非常感谢!