LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   hard drive performance (https://www.linuxquestions.org/questions/linux-general-1/hard-drive-performance-247351/)

true_atlantis 10-26-2004 12:32 AM

hard drive performance
 
at one poit i got an error saying that the DMA was turned off on my hda... ever since then, the performance of the drive has been extremly poor... here are some outputs. anyone have any suggestions?? how can i make the DMA be turned on automatically for hda? thanks

root:/home/atlantis # hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 7297/255/63, sectors = 117231408, start = 0
root:/home/atlantis # hdparm /dev/hdb

/dev/hdb:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 14946/255/63, sectors = 240121728, start = 0
root:/home/atlantis # hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 1492 MB in 2.00 seconds = 746.00 MB/sec
Timing buffered disk reads: 10 MB in 3.53 seconds = 2.83 MB/sec
root:/home/atlantis # hdparm -tT /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 1528 MB in 2.00 seconds = 764.00 MB/sec
Timing buffered disk reads: 110 MB in 3.00 seconds = 36.67 MB/sec
root:/home/atlantis #

masand 10-26-2004 01:50 AM

hi
to turn dma on

hdparm -dl /dev/hda

regards

320mb 10-26-2004 02:55 AM

and you can put any/all local commands for hdparm in

/etc/rc.d/rc.local

masand 10-26-2004 03:15 AM

Quote:

Originally posted by 320mb
and you can put any/all local commands for hdparm in

/etc/rc.d/rc.local

hey do we need to execute hdparm command everytime the machine starts up or the status is maintained for future

regards


All times are GMT -5. The time now is 12:23 PM.