A [PLUG] for hdparm
Paul Heinlein
heinlein at attbi.com
Fri Mar 22 21:42:19 UTC 2002
On Fri, 22 Mar 2002, Derek Loree wrote:
> Pardon the pun, but I think the performance gained by some logical
> tweaking of hdparm is worth sharing.
Here's the hdparm stuff I've stuck in rc.local on my home machine. As
Derek mentioned, however, your mileage may vary significantly...
# hdparm magic:
# -c 1 = enable 32-bit i/o support
# -d 1 = enable dma transfers
# -k 1 = keep settings through resets
# -m 16 = set multiple-sector i/o
# -u 1 = set interrupt-unmask flag
# -S 241 = power back drives after 30 min of inactivity
# -X 66 = use UDMA mode2
/sbin/hdparm -c1 -d1 -k1 -m16 -u1 -S241 -X66 /dev/hda
/sbin/hdparm -c1 -d1 -k1 -m16 -u1 -S241 -X66 /dev/hdc
-- Paul Heinlein <heinlein at attbi.com>
More information about the PLUG
mailing list