[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm



Martin Oldfield writes:
> 
> 
> I'd like to improve the IDE performance of my system. The IDE
> controllers are on a newish Intel motherboard; /proc/pci says:
> 
> IDE interface: Intel 82371AB 430TX PIIX4 (rev 1).
> 
> The drives are older:
> 
>  Model=QUANTUM FIREBALL ST6.4A, FwRev=A0F.0800, SerialNo=15672304
>  Model=QUANTUM FIREBALL_TM3840A, FwRev=A6B.1T00, SerialNo=39662361
>  Model=ST32140A, FwRev=08.08.01, SerialNo=JBF24417
>  Model=ST32140A, FwRev=08.08.01, SerialNo=JB770285
> 
> Can anyone suggest more aggressive (yet safe!) options for hdparm to
> make things run more quickly; alternatively is there a repository of
> known good settings.

Here's a script I added to /etc/init.d (with link in /etc/rc2.d) for better
performance. Use the '-i' option alone to find out the number for the '-m'
option. (man page explains all) This script is the last thing executed during
bootup. Enjoy! Oh BTW, my transfers jump from 5 Mb/sec to 35Mb/sec.
-------------------------------------------------------
#!/bin/sh
#
# uncomment next line if you are swapping around the IDE drives
#exit 0

echo Testing IDE..
/usr/sbin/hdparm -t /dev/hdc

echo Set up hard drives for multiple sector
/usr/sbin/hdparm -m 32 /dev/hdc
/usr/sbin/hdparm -m 16 /dev/hda

echo Turning on DMA access
/usr/sbin/hdparm -d 1 /dev/hdc
/usr/sbin/hdparm -d 1 /dev/hda

echo Testing IDE..
/usr/sbin/hdparm -t /dev/hdc


-- 
-= Sent by Debian 1.3 Linux =-
Thomas Kocourek  KD4CIK 
@_@tko@westgac3.dragon.com Remove @_@ for correct Email address
--... ...-- ...  -.. .  -.- -.. ....- -.-. .. -.-


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: