experience with hdparm

Robert Brockway rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
Sun Apr 16 01:54:33 UTC 2006


On Sat, 15 Apr 2006, Dominic Bonfiglio wrote:

> hi,
>
> has anyone tried to speed up their linux system using hdparm? any luck?
> any risks?

I did a talk on this at TLUG a couple of years back.  There are some risks 
associated with non-standard IDE interfaces and chipsets.  I've never had 
data loss despite using hdparm on a regular basis.  Having said this, I 
always backup before playing with hdparm.

I did crash a box once when I enabled DMA - it was writing to disk at the 
time.  This was an experiment :)

Here are the settings I have on one box at the moment.  This is pretty 
typical:

/sbin/hdparm -a8 -c1 -d1 -k1 -m16 -u1 -W1 /dev/hda

Experimentation is often required for ideal settings.

You can do speed testing on the disks with hdparm and also with bonnie++

Always always always back up before tweaking parameters using hdparm or 
speed testing once you have tweaked the parameters.

Rob

-- 
Robert Brockway B.Sc.        Phone:          +1-905-821-2327
Senior Technical Consultant  Urgent Support: +1-416-669-3073
OpenTrend Solutions Ltd      Email:          support-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
                              Web:            www.opentrend.net
We are open 24x365 for technical support.  Call us in a crisis.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list