[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: hdparm settings



Arjan van de Ven schrieb:

On Tue, 2003-03-11 at 03:19, Dan Diephouse wrote:


I am wondering where the appropriate place to set the hdparm settings is.


the answer is "nowhere".
Never ever use hdparm for setting drive speeds.... at least if you like
to read your data again sometime



sorry, absolutely no probs under rh80 since october 2002


# grep USE_DMA /etc/sysconfig/harddisks
USE_DMA=1

# hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads:  64 MB in  1.18 seconds = 54.07 MB/sec


and 1.18 < 16.56 seconds !!!!!!!!!



# hdparm -d0 /dev/hdb /dev/hdb: setting using_dma to 0 (off) using_dma = 0 (off) # hdparm -t /dev/hdb /dev/hdb: Timing buffered disk reads: 64 MB in 16.56 seconds = 3.86 MB/sec

# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
using_dma    =  1 (on)
# hdparm -d1 /dev/hdb
/dev/hdb:
setting using_dma to 1 (on)
using_dma    =  1 (on)
# hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads:  64 MB in  1.19 seconds = 53.89 MB/sec

--
shrek-m





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]