Hi,

Modify '/etc/conf.d/hdparam'
Then 'rc-update add hdparam default'

Cheers,
dav

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of James
Sent: Monday, April 25, 2005 3:54 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] hdparm settings


Hello,

Upon rebooting my portable I get these settings:
/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 16383/255/63, sectors = 60011642880, start = 0

I then issue: hdparm -d 1 -A 1 -m 16 -u 1 -c1 -a 256 /dev/hda

Which results in:
/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 16383/255/63, sectors = 60011642880, start = 0


So far so good. I need to stress test the HD to make sure performance
is good. However on a P4 (3GHz) portable with 1G of ram, I never get
close to using the drive. This is good news because the 2.6.11-gentoo-r6
kernel is really smoking for me, but, I need to test these HD settings
to be sure they are good.

Last, when I issue: 
hdparm -k1 /dev/hda I get:
/dev/hda:
 setting keep_settings to 1 (on)
 keepsettings =  1 (on)

But upon reboot, I'm back to:
multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)

How to test the drive  performance and make the HD settings permanent
has eluded me. Ideas are most welcome.

James


-- 
gentoo-user@gentoo.org mailing list


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


-- 
gentoo-user@gentoo.org mailing list

Reply via email to