Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lowering cdrom i/o load?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
soleblaze
n00b
n00b


Joined: 16 Nov 2002
Posts: 28

PostPosted: Sat May 03, 2003 4:56 am    Post subject: lowering cdrom i/o load? Reply with quote

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
View user's profile Send private message
Weejoker
n00b
n00b


Joined: 11 Sep 2002
Posts: 69
Location: Scotsman in England

PostPosted: Sat May 03, 2003 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
soleblaze
n00b
n00b


Joined: 16 Nov 2002
Posts: 28

PostPosted: Wed May 07, 2003 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Wed May 07, 2003 4:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum