LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-19-2004, 06:15 AM   #1
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
Reading audio sectors still slow even with DMA enabled


Hi all,

I've been wanting to speed up ripping audio CDs with my atapi drive (using ide-scsi). I always got about 60-80% cpu load in kernel mode due to busy waiting for the drive to return the data, and it really bogs down the other processes.
Now couple of weeks ago I upgraded to kernel 2.4.27 which (finally) allowed me to use DMA for cd-rom drives. This didn't work in earlier kernels (I think because audio sectors are not a power of 2 in size). hdparm shows that the drive is indeed in DMA mode. So I expected a big drop in kernel cpu time, but to no avail... Still as slow as before.

I've had better results using a 2.6 kernel (almost no system time used, indicating that DMA is being used), but I won't use that because my video drm driver isn't ported to 2.6 yet so I'm a bit stuck with the 2.4 series

My question: is the DMA support for atapi cd drives in 2.4.x not (yet) on par with the 2.6 series then? Anyone have an idea if it ever will be?

Thanks in advance!
nukkel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 -- DMA not enabled Pozican Linux - Hardware 2 06-16-2005 10:27 AM
How can I check if DMA is enabled? LegendBreath Fedora 7 06-06-2005 05:22 AM
is dma enabled? zepplin611 Linux - Hardware 3 06-09-2004 06:37 PM
Reading raw hard disk sectors villie Programming 4 05-13-2004 12:18 AM
DMA Enabled or not hiteshmaisheri Linux - Software 2 01-11-2004 09:02 AM


All times are GMT -5. The time now is 11:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration