Jump to content



Photo

Speeding up Linux Using hdparm


  • Please log in to reply
18 replies to this topic

#16 Mathiasdm

Mathiasdm

    Neowinian

  • Joined: 26-November 04

Posted 04 April 2006 - 08:45

Oh, like that :-) Well, if you're happier now, I'm happy for you!

Now back to hdparm :-P
I haven't used it to speed anything up yet, but I'd sure like to try. Just a bit worried about possible problems ;-)


#17 Z3r0

Z3r0

    Neowinian

  • Joined: 27-November 01

Posted 02 May 2006 - 13:11

Pretty cool

The correct dma modes are usually set by default either way

my hitachi eide laptop drive was missing -m16 -u1 -c3 although I didn't see any performance increase, at least I know I have it set up correctly now

both my optorite cd/dvd drives on my laptop/pc were missing -c3

I have added these settings to my /etc/rc.local (ubuntu/debian)

hdparm can't acces my SATA drive but I would guess it is optimally configured by default

It also might be worth settings -A1 (enable drive lookahead feature) and -W1 (enable write caching feature) on the HDD

Edited by Z3r0, 02 May 2006 - 13:23.


#18 Miuku.

Miuku.

    A damned noob

  • Joined: 10-August 03
  • Location: Finland, EU
  • OS: :: OS X :: SLES ::

Posted 03 May 2006 - 17:02

Surprisingly enough, you can change some SATA parameters with sdparm - naturally for the most part SATA drives already use the most optimal settings available.

#19 Z3r0

Z3r0

    Neowinian

  • Joined: 27-November 01

Posted 04 May 2006 - 08:42

thanks for that information daPhoenix, I downloaded sdparm via apt

sdparm is for scsi drives and works with the sata drives too

lots of information via sdparm --enquire --all /dev/sda and sdparm --all /dev/sda to see valid options

try this too sdparm --enumerate --page ca to see the caching options page, sdparm --page=ca to see the value of WCE if WCE=1 then write caching is enabled

can't see much else to play with though