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