Re: Appropriate hdparm use for modern IDE drives and CD-R/RW/DVD drives?

From: Lucius Chiaraviglio (luciusone_at_chapter.net)
Date: 07/24/03


Date: Thu, 24 Jul 2003 07:12:17 GMT

Florian Diesch <epsilon@gmx.de> wrote:
>Lucius Chiaraviglio <luciusone@chapter.net> wrote:
>> I am trying to improve IDE performance for the Maxtor 6Y080L0 hard drive
>> (/dev/hda, 80 Gbyte, ATA-133) and Samsung SM-348B CD-R/RW/DVD drive (/dev/hdc)
>> on my Linux From Scratch 4.1/Beyond Linux From Scratch 1.0 system (pretty
>> much by-the-book except upgraded to kernel 2.4.21 and hdparm 5.4).
>> Unfortunately just reading the man page doesn't seem to be enough (it doesn't
>> tell which -X mode corresponds to which DMA type), so I searched on the
>
>So you can't use DMA. Check if yout kernel supports your IDE controler.

        DOH!! I feel like Homer Simpson! In my kernel configuration, at one
point I had enabled CONFIG_BLK_DEV_VIA_82CXXX(*), so I didn't think to check
this, but after you mentioned it, I rechecked, and sure enough, it had gotten
turned off! (Must have happened when I was either trying to fix some other
problem or prepare my kernel to work with Mindi.)

(*) Other Soyo SY-KT333 Linux kernel 2.4.21 users reading this: this kernel
configuration parameter is key. (With "make menuconfig", you can find it in
the IDE/etc. devices section.)

        I now get approximately 51 Mbytes per second from "hdparm -Tt
/dev/hda" (3 trials) -- no other hdparm adjustments necessary. Yes, my
efforts are so far on track to look and work better than the doghouse that
Homer Simpson built . . . :-)

-- 
Lucius Chiaraviglio
Approximate E-mail address:  luciusone@chapter.net
To get the exact address:          ^^^    ^replace this with 'r'
                                   |||
    replace this with single digit meaning the same thing
(Spambots of Doom, take that!).


Relevant Pages