View previous topic :: View next topic |
Author |
Message |
soleblaze n00b
Joined: 16 Nov 2002 Posts: 28
|
Posted: Sat May 03, 2003 4:56 am Post subject: lowering cdrom i/o load? |
|
|
Starting a new thread that hopefully will be easier to read and understand
Last edited by soleblaze on Wed May 07, 2003 4:37 am; edited 1 time in total |
|
Back to top |
|
|
Weejoker n00b
Joined: 11 Sep 2002 Posts: 69 Location: Scotsman in England
|
Posted: Sat May 03, 2003 3:45 pm Post subject: |
|
|
Make sure you have enabled (U)DMA support in your kernel and that (U)DMA support is enabled for your CD-ROM (indicated by an '*'):
Code: |
# hdparm -i /dev/cdrom
...
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
...
|
If (U)DMA is not enabled (and PIO is), then enable it:
Code: |
# hdparm -d1 /dev/cdrom
|
This should reduce the load.
Cheers,
John |
|
Back to top |
|
|
soleblaze n00b
Joined: 16 Nov 2002 Posts: 28
|
Posted: Wed May 07, 2003 3:55 am Post subject: |
|
|
The Hard drive in question is using the SCSI-IDE driver, so hdparm won't work on it.. there another way to enable DMA on it? |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Wed May 07, 2003 4:02 am Post subject: |
|
|
Code: |
# cd /proc/ide/<your drive>
# echo "using_dma:1"> settings
|
You can cat the settings file and see what your settings are. You can modify most of them in this manner, but there's just as much danger here as using hdparm. I used to do it just because I didn't want the wrapper of hdparm; then Gentoo made it easy... |
|
Back to top |
|
|
|