View previous topic :: View next topic |
Author |
Message |
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Tue Feb 11, 2003 12:35 pm Post subject: Time it takes to rip a track |
|
|
Hi,
Its taking me about 30mins to rip a 4 minute CD track with 'cdparanoia'.
How long is it taking other people and what can be done?! _________________ In the long run we are all dead - Keynes |
|
Back to top |
|
|
krusty_ar Guru
Joined: 03 Oct 2002 Posts: 560 Location: Rosario, Argentina
|
Posted: Tue Feb 11, 2003 1:12 pm Post subject: |
|
|
It strongly depends on the power of your system, but some people is complaining about linux ripping speed, the thing that probably you want to check is that cdparanoia has a very "paranoic" error checking feature, it can be disabled tho, so speed will increase at the cons of (maybe) some glitches in the wavs. _________________ I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative |
|
Back to top |
|
|
museX n00b
Joined: 29 Nov 2002 Posts: 7
|
Posted: Tue Feb 11, 2003 1:47 pm Post subject: |
|
|
its taking me about 30 mins to rip a whole cd of about 45mins at 24x with cdparanoia, with paranoia active.
You should disable paranoia if your system is too slow.This really speeds up the rip |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Wed Feb 12, 2003 7:06 am Post subject: |
|
|
My system is not that slow.
1G celeron with a fair bit of memory.
No, something strange happened to my system during an upgrade once and I can't sort it out.
Even if I remove paranoia the process is hardly fast.
I think that it must be something in the kernel configuration but I don't really know where to look.
Tom _________________ In the long run we are all dead - Keynes |
|
Back to top |
|
|
museX n00b
Joined: 29 Nov 2002 Posts: 7
|
Posted: Wed Feb 12, 2003 11:56 am Post subject: |
|
|
are you sure you have scsi emulation?
Im not sure but it may speed up the rip |
|
Back to top |
|
|
krusty_ar Guru
Joined: 03 Oct 2002 Posts: 560 Location: Rosario, Argentina
|
Posted: Wed Feb 12, 2003 12:24 pm Post subject: |
|
|
check Code: | hdparm /dev/hdX (both cd and hdd) to see if you have dma enabled | If you don't, do and check what features are supported by each drive, then enable it with Code: | hdparm -d 1 /dev/hdX | The last line will enable dma in /dev/hdX, this is safe to try in your case. _________________ I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Wed Feb 12, 2003 11:29 pm Post subject: |
|
|
Thanks I think that you've solved a problem that I've had for quite some time now.
The problem seems to have been that I hadn't loaded the scsi emulation module into the kernel.
dma was already enabled for the hard drive but not for the cd rom.
Thanks again,
Tom _________________ In the long run we are all dead - Keynes |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Feb 13, 2003 2:36 am Post subject: |
|
|
I was curious so I tested out cdparanoia. Using a 48X LG burner I ripped a 51 minute pressed audio CD in about 2 minutes (using -Z), so it's pretty quick if everything is working properly ;) |
|
Back to top |
|
|
jingram n00b
Joined: 09 Feb 2003 Posts: 12 Location: Urbana, IL
|
Posted: Thu Feb 13, 2003 4:38 am Post subject: |
|
|
I've never used SCSI emulation before, but now I'm interested. Is there anything I need to do except compile it into the kernel? Does it usually speed up CD ripping?l |
|
Back to top |
|
|
Phreakazoid_ Tux's lil' helper
Joined: 11 Feb 2003 Posts: 76 Location: Sydney, Australia
|
Posted: Thu Feb 13, 2003 9:12 am Post subject: |
|
|
hm
I've never used SCSI emulation... usually get about 1.5x speed rips with full paranoia in cdparanoia, with 52x atapi cd-rom. |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Thu Feb 13, 2003 1:51 pm Post subject: |
|
|
actually I take back my last post.
I still need to fiddle around.
I'm hopeful you have put me onto the right solution though.
Tom _________________ In the long run we are all dead - Keynes |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Feb 13, 2003 10:12 pm Post subject: |
|
|
Quote: | dma was already enabled for the hard drive but not for the cd rom | In your kernel config make sure support is there for your chipset, dma is enabled by default, and dma for disk only is not selected. Then you should have dma on all devices without having to do anything special.
Max CD read speed and DAE speed are totally separate so if you have a regular CD drive rated at 52x it's DAE speed could actually be as low as 12x. Better CD burners like LG or lite-on usually have DAE speeds that match their read speeds. I'm not actually sure what in Linux will report a drives DAE speed but I'm sure something does. |
|
Back to top |
|
|
mihochan Apprentice
Joined: 16 Apr 2002 Posts: 296 Location: Melbourne again
|
Posted: Fri Feb 14, 2003 12:48 pm Post subject: |
|
|
I've been fiddling around and not got anywhere.
I can't work out how to ensure that the SCSI emulation takes precedence over the the IDE driver.
Devices in linux really drive me crazy. Partly, I think it is because I've never been able to find a good description of what is supposed to be happening and how it happens. Most of the stuff I've read is recipes to get some particular thing working. If it doesn't work then someone like myslef is completely lost.
I've followed the CD writer HOWTO pretty closely but no luck. _________________ In the long run we are all dead - Keynes |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Fri Feb 14, 2003 8:20 pm Post subject: |
|
|
Quote: | I can't work out how to ensure that the SCSI emulation takes precedence over the the IDE driver. | One way is to not include "ide/atapi cdrom support" in your kernel, then it will default to scsi emulation which is what I do.
Another way is to edit your bootloader file.
Grub will look something like this: Code: | kernel /boot/bzImage-2.4.20 root=/dev/hda1 hdc=ide-scsi |
Lilo will look like this: Code: | image=/boot/vmlinuz-2.4.20
label=2.4.20
root=/dev/hda1
append="hdc=ide-scsi" |
|
|
Back to top |
|
|
Zarx n00b
Joined: 09 Dec 2002 Posts: 7
|
Posted: Fri Feb 14, 2003 10:38 pm Post subject: Re: Time it takes to rip a track |
|
|
mihochan wrote: | Hi,
Its taking me about 30mins to rip a 4 minute CD track with 'cdparanoia'.
How long is it taking other people and what can be done?! |
My experience is that cdparanoia is slow... If you want to do fast rips without error correction use cdda2wav or I guess you can do fast rips with a lot of paranoia disabled with cdparanoia. Also if the cd is quite scratchy it may be the source of your problems. |
|
Back to top |
|
|
RobertTheBruce n00b
Joined: 14 Feb 2003 Posts: 41
|
Posted: Tue Feb 18, 2003 4:07 pm Post subject: |
|
|
krusty_ar wrote: | check Code: | hdparm /dev/hdX (both cd and hdd) to see if you have dma enabled | If you don't, do and check what features are supported by each drive, then enable it with Code: | hdparm -d 1 /dev/hdX | The last line will enable dma in /dev/hdX, this is safe to try in your case. |
The settings that work best for me are:
/sbin/hdparm -d1 -u1 -a64 /dev/hdX |
|
Back to top |
|
|
|