You are not logged in.

#1 2007-06-22 18:39:21

pain of salvation
Member
Registered: 2007-05-22
Posts: 76

Improve /dev/sda performace

I have a Samsung SATA II HD with 80G.

Which utility should I use, hdparm or sdparm? If it's sdparm, what shoult I put on /etc/rc.sysinit to improve performace?

Last edited by pain of salvation (2007-06-22 18:52:12)

Offline

#2 2007-06-22 21:59:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Improve /dev/sda performace

This is not directly related to your question, but you shouldn't edit rc.sysinit, as it will be overwritten on the next initscripts upgrade. /etc/rc.local is the right place for this.

Offline

#3 2007-11-16 03:35:40

Trixie
Member
From: New York, N.Y.
Registered: 2007-10-27
Posts: 8

Re: Improve /dev/sda performace

The Post Installation Tips wiki syas to place hdparm parameters in /etc/rc.sysinit.

Offline

#4 2007-11-16 09:22:34

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Improve /dev/sda performace

So? Thanks for the hint, I killed that section.

You don't need hdparm/sdparm at all. See, the kernel takes care of detecting the controller and loading the right modules. And those in turn will detect the drive, its capabilities and set it up accordingly. It worked like that for many many years.
Should your drive not run with DMA enabled after booting, that's most likely a driver bug or hardware issue and nothing hdparm could fix.

For special cases like adjusting power management settings or the like, use /etc/rc.local.


1000

Offline

Board footer

Powered by FluxBB