beyond:~ # hdparm /dev/hda /dev/hda: multcount = 16 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 1216/255/63, sectors = 19541088, start = 0 may I simply : # hdparm -d1 /dev/hda any other harddrive performance improving tip? :-) Thanks, Raul
Hi All & Raul, who was asking after DMA stuff. Well, try this one.... hdparm -d1c3X34S 60 /dev/hda should give you a wee boast. Have a look around for "the Linux Ultra-DMA Mini HOwTo." Hope that helps. *BFN* Greek Geek :-) RIP George Harrison; may the Dark Horse find the Wholespace. Raúl Gutiérrez Segalés wrote:
beyond:~ # hdparm /dev/hda
/dev/hda: multcount = 16 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 1216/255/63, sectors = 19541088, start = 0
may I simply :
# hdparm -d1 /dev/hda
any other harddrive performance improving tip? :-)
Thanks,
Raul
--- Ra�l_Guti�rrez_Segal�s
may I simply :
# hdparm -d1 /dev/hda
Make that -c1 -d1 -k1
any other harddrive performance improving tip? :-)
Enabling DMA does not explicitly enable 32-bit IO (screwey, I know), so you use -c1. -k1 is "keepsettings" so that the DMA/IO stuff is re-enabled after an IDE reset (which happen all the time). Toss this stuff in /etc/init.d/boot.local, and you're good to go. ===== -- -=|JP|=- '01 B15 SE/PP | http://www.xanga.com/cowboydren/ | />< '95 SL2 Auto | cowboydren @ yahoo . com | __________________________________________________ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com
You can also check this out in 7.2 and 7.3 ... it's in /etc/rc.config. -- # Do you want ide dma mode to be started? # # Some notes: # # * If ide dma mode works, depends on your hardware, if you assume # that you # # have new, good non-flaky hardware, you can use it. # # * which ide drives should use dma mode can be set in # /etc/rc.config.d/idedm # a.rc.config # # # START_IDEDMA="yes" -- This might provide you with a better method. -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "Technological progress is like an axe in the hands of a pathological criminal" -AE
On 1 Dec 2001, Raúl Gutiérrez Segalés wrote:
beyond:~ # hdparm /dev/hda
/dev/hda: multcount = 16 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 1216/255/63, sectors = 19541088, start = 0
may I simply :
# hdparm -d1 /dev/hda
any other harddrive performance improving tip? :-)
Also check out the "-X' option [man hdparm]. It allows you to set IDE mode (UDMA 1,2, etc.). On my machine, for example, my hard drive does not default to UDMA 66, which it can do. 'hdparm -I /dev/hda' will tell you what's it doing now. -X Set the IDE transfer mode for newer (E)IDE/ATA2 drives. This is typically used in combination with -d1 when enabling DMA to/from a drive on a sup- ported interface chipset (such as the Intel 430FX Triton), where -X34 is used to select multiword DMA mode2 transfers. Apart from that, use of this flag is seldom necessary since most/all modern IDE drives default to their fastest PIO transfer mode at power-on. Fiddling with this can be both need- less and risky. On drives which support alternate transfer modes, -X can be used to switch the mode of the drive only. Prior to changing the transfer mode, the IDE interface should be jumpered or pro- grammed (see -p flag) for the new mode setting to prevent loss and/or corruption of data. Use this with extreme caution! -- Karol Pietrzak PGP KeyID: 3A1446A0
participants (5)
-
Ben Rosenberg
-
Greek Geek
-
Jon Pennington
-
Karol Pietrzak
-
Raúl Gutiérrez Segalés