[ltp] tuning with hdparm

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Fri, 03 Sep 2004 11:49:07 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2A74FD4878046530BC4BA31D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Rémi Lambert wrote:
> Hello !
> 
> I've an X31 and the hard disk sometimes produce an energic sound, like 
> pronouncing "Tac". Is this the same sound you got when your disk was 
> "rattling" (I don't know what it means, "rattling"...).
> 
> The output of the 
>  hdparm /dev/hda1
> is 
>  multicount = 16 (on)
>  IO_support =  0 (default 16-bit)
>  unmaskirq =  0 (off)
>  using_dma = 1 (on)
>  keepsettings = 0 (off)
>  ...
>  geometry = 65535/16/63, sectors = 20487537, start = 63
> 
> and the output of 
>  hdparm -tT /dev/hda1
> is
>  Timing buffer-cache reads : 704.70 MB/sec
>  Timing buffered disk reads : 28.32 MB/sec
> 
> 
> Why does the IO_support disabled ? Should I enable it (with the -c1 our -c3 
> flag ?) ?    Is it dangerous ?
> 
> 
> Should I try 
>  hdparm -qc1qu1qd1 -B254   
> ?? Is it dangerous ? :-)
> 
> 
> So, the main question in this mail is :
> "is it dangerous for my hard disk to try those two hdparm commands ?"
> :-)
> 
> 
> 
> Thank you very much !
> 
> RL
> 
> Le Jeudi 2 Septembre 2004 15:26, Szakacsits Szabolcs a écrit :
> 
>>On Thu, 2 Sep 2004, Alexander Gran wrote:
>>
>>>At least hdparm -qc1qu1qd1 should be ok. -m? -B ? should be tested,
>>>but could help.
>>
>>I must use -B254 otherwise the disk (T40, 40G) makes very irritating
>>rattling (this is already the second one, the original one crashed and
>>made exactly the same noise). One of the side-effects was 1-2 MB/sec
>>speed increase.
>>
>> Szaka

If you use an hitachi drive, then this isn`t a bug, it`s a feature. I
had a telephone call with the hitachi people, it is called something
like "low power" idle.

You can try hdparm -B 192 /dev/hda this should normaly disable this
feature and sets your drive into active idle.

I can provide you the hitachi mails, if you want to have them.

-- 
		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B

--------------enig2A74FD4878046530BC4BA31D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBOD4X2gfPYxqZWpsRAmeVAJ9HGlp3KUo+PSicrTnQZiV50dbfjgCgz75N
OnDjJEMTVMqTi8sxqkB6wCM=
=K5+g
-----END PGP SIGNATURE-----

--------------enig2A74FD4878046530BC4BA31D--