Skip to contentSkip to conversation

Fast DMA CD audio extraction

DISCUSSION Tom Felker 2 participants 3 messages Aug 3, 2003

lore
Share & tools
lore

Tom Felker

author
#0 lore raw

Hi,

I'm trying to get decent performance (e.g. DMA, not PIO) extracting audio with cdparanoia from an new IDE CD-ROM. The current problem is very slow ripping and very high system CPU time. hdparm reports DMA is on, and reading data is perfectly fast.

What kernel versions and patches should I be trying?

(Please cc: me, emailing in reply to linux.kernel posts munges threading) Thanks,

Signature · 4 lines
Tom Felker

If nature has made any one thing less susceptible than all others of exclusive 
property, it is the action of the thinking power called an idea.
#1 lore raw
Quoted 9 lines · Tom Felker

Hi,

I'm trying to get decent performance (e.g. DMA, not PIO) extracting audio with cdparanoia from an new IDE CD-ROM. The current problem is very slow ripping and very high system CPU time. hdparm reports DMA is on, and reading data is perfectly fast.

What kernel versions and patches should I be trying?

(Please cc: me, emailing in reply to linux.kernel posts munges threading) Thanks,

akpm's kernel trees have the ide-dma patch that enables dma in raw mode.
Works quite nicely but i'd only use it on really prestine cds. DMA by
it's nature doesn't give the best error reporting when dealing with raw data cds like audio cds. I've never had a problem with it though, even on cds with scratches.

#2 lore raw
Quoted 11 lines · Ed Sweetman
Quoted 9 lines · Tom Felker

Hi,

I'm trying to get decent performance (e.g. DMA, not PIO) extracting audio with cdparanoia from an new IDE CD-ROM. The current problem is very slow ripping and very high system CPU time. hdparm reports DMA is on, and reading data is perfectly fast.

What kernel versions and patches should I be trying?

(Please cc: me, emailing in reply to linux.kernel posts munges threading) Thanks,

Correction, magellon's tree, designated by the -jam extension.

Quoted 4 lines

akpm's kernel trees have the ide-dma patch that enables dma in raw mode.
Works quite nicely but i'd only use it on really prestine cds. DMA by
it's nature doesn't give the best error reporting when dealing with raw data cds like audio cds. I've never had a problem with it though, even on cds with scratches.