LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   slow ripping speed (https://www.linuxquestions.org/questions/linux-hardware-18/slow-ripping-speed-341888/)

solar1951 07-10-2005 01:09 PM

slow ripping speed
 
Mandakelinux 10.1, KDE 3.2.3, LG DVD rom
When trying to rip audio CD's using either k3b or kscd the rip speed is very slow - around playback speed I would guess and therfore to rip an entire cd would take forever.

I have a dual boot system and under Win XP the dvd runs up to full speed during ripping - no problem.

How do I get the DVD to run at full speed under Linux ?

acid_kewpie 07-10-2005 01:29 PM

turn DMA on (hdparm -d1 /dev/cdrom) and also try not to use ide-scsi emulation on that drive, as that'll slow it right down too.

Looking_Lost 07-10-2005 04:19 PM

It could be dma not being activate on the drive but I've got the same problems regarding ripping audio cd's (dma is on so dvd playback etc. is fine)

The way I got round it is to use the (python I think) program ripit and tell it to use cdda2wav rather than cdparanoia which admittedly has better error correction but almost always goes for a wee sleep on the beach until I give up and kill it.

Using ripit with cdda2wav I get speeds comparable with ripping & encoding with windows media player or windows Real Player.

acid_kewpie 07-10-2005 04:44 PM

well also don't forget that you can turn off a few of the more extreme cdparanoia options. most ripper gui's will either wholly handle, or allow passthrough, of cdparanoia options... just use -Z instead of -YZ for example

Looking_Lost 07-10-2005 05:09 PM

Just had a look at the cdparanoia website page (which probably should have done before) and the bloke is aware of one specific problem which seems to be exactly the same as mine - my drive seems to be exhibiting the class signs of "bimodal jitter pattern" (the poor wee thing :) ). He suggests a fiddly fix to experiment with until the next release where the problem will be addressed.

Anyway not to distract anymore from the original poster...

solar1951 07-11-2005 07:22 AM

Sorry folks I seem to have confused you.
The problem I have is the physical speed - revolutions per minute - of the DVD drive during ripping. It stays at a slow speed and therefore rips slowly. I dont think there is anything wrong with the DMA as I can play DVD's fine.
The other pointer which may help is that when I insert a music CD, KsCD starts automatically to play even though this option is disabled.
Any help ?

solar1951 07-16-2005 05:52 AM

Has anyone got an idea on how to control the speed of this DVD drive in order to rip at higher speed ?
If Windoze XP can do it I am sure that Linux can ???????????

Looking_Lost 07-16-2005 06:49 AM

Well hdparm has an -E option for setting the speed although man page says you shouldn't have to use it, so as root

hdparm -E whatever_number /dev/hdc

if /dev/hdc is your drive assignment.

Don't know if it'll make a difference though

solar1951 07-16-2005 08:54 AM

This is the output from hdparm -I dev/cdrom
dev/cdrom:

ATAPI CD-ROM, with removable media
Model Number: HL-DT-STDVD-ROM GDR8163B
Serial Number:
Firmware Revision: 0L23
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* DEVICE RESET cmd
* PACKET command feature set
* Power Management feature set
HW reset results:
CBLID- below Vih
Device num = 1

Does this indicate anything out of the ordinary to you ?

Looking_Lost 07-16-2005 09:31 AM

The only real difference between yours and mine is your drive has more features. Wonder if the power management feature is causing it? You can turn it off with (it wouldn't do anything permeanent)

hdparm -B 255 /dev/hdc

And don't know if you've looked here yet, but it could give you something more concrete to have a look at and things to check/try out


hdparm improve performance

solar1951 07-16-2005 10:29 AM

Tried the power management option and got
/dev/cdrom:
setting Advanced Power Management level to disabled
HDIO_DRIVE_CMD failed: Input/output error
Maybe it cant be changed on a DVD drive ?

locoham 01-06-2007 09:24 PM

cdparanoia
 
This thread is pretty old but I ran across it trying to solve the same issue. I read in another post that the reason for slow speed is actually cdparanoia making sure it does an extra good job. Using the -Z option in the cdparanoia command line will turn off the paranoid ripping quality options (in grip for example). It increased my drive speed from 1x to around 10-12x (about as fast as winbloze media player).


All times are GMT -5. The time now is 04:28 AM.