-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well you would have to try some combinations before the optimum settings can be found..do this by changing one of the settings and testing the performance using hdparm -t /dev/hda....the higher the value, the better the performance...however, if you are using one of several m/b (the one which I am using is Asus P5A-B), DO NOT enable dma (i.e. -d1) as it will screw up you hardisk i.e. "corrupt" files on the hardisk (I noticed these files were mainly in the / partition). Use the kernel-patch-ide.....deb instead to patch the kernel and enable dma support...(I successfully did this last night)...
Also note that not all the parameters set will bring on performance gains for the hardisk e.g setting -mX on my box did not bring on any performace gains and in some cases, enabling -c1 detiorated performance!!!! HTH Patrick Cheong Information Systems Assurance Measat Broadcast Network Systems e-mail: mailto:[EMAIL PROTECTED] Visit us at: http://www.astro.com.my - -----Original Message----- From: Krzys Majewski [SMTP:[EMAIL PROTECTED] Sent: Monday, September 11, 2000 10:19 AM To: CHEONG, Shu Yang [Patrick] Cc: debian-user@lists.debian.org Subject: RE: hdparm How do I know if I need any of these options for my hard drive? Are the kernel/ide driver defaults reasonable? Do these flags improve performance? (Right now I'm just using hdparm -y to spin down the disk) -chris On Mon, 11 Sep 2000, CHEONG, Shu Yang [Patrick] wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I included an additional SXX in the rc2.d dir as follows:- > > #! /bin/sh > # Enabling dma for hda > > hdparm -d1 -c1 -a1 -A1 -m8 -k1 /dev/hda > > Remember to chmod the file created to 755 less it does not execute > at boot. Also, I'd manually try this first before actually > including the above, particularly the -d1 as on some systems, it > screws up the > hardisk. Also, try a combination of the settings to get the optimum > performance from the hardisk (this can be tested using the hdparm > -t /dev/hda). Good luck! > > > Patrick Cheong > Information Systems Assurance > Measat Broadcast Network Systems > e-mail: mailto:[EMAIL PROTECTED] > Visit us at: http://www.astro.com.my > > - -----Original Message----- > From: Jamie Raymond [SMTP:[EMAIL PROTECTED] > Sent: Saturday, September 09, 2000 10:44 PM > To: debian-user@lists.debian.org > Subject: hdparm > > Hi, > > Where's the best place to put a call to hdparm so that it gets > invoked > upon booting? (would inserting it into an existing file in > /etc/init.d > be appropriate?) > > Thanks, Jamie -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBObvsX2sn1kDB0DUmEQJFAQCcDQpRO6RtQCVT0PSSkL86MceqKPMAmgM7 NNJedFIOPQtyTmVifKsBoQVA =4NjE -----END PGP SIGNATURE-----