You are not logged in.

#1 2009-04-10 15:48:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Using dd to rip a dvd movie to an iso file - serious speed issues

Basically, I want to take a DVD movie and rip it to an ISO file.

dd if=/dev/scd0 of=/home/user1/image.iso
557177+0 records in
557176+0 records out
285274112 bytes (285 MB) copied, 76.3168 s, 3.7 MB/s

For some reason is goes very slowly!  I have also done a simple 'cat /dev/scd0 > image.iso' and it too is very slow.  The DVDROM drive never spins up.

I can do this w/ DVD-Decrypter and WINE, but DVD Decrypter goes very slowly (1.7x-2.0x) too.  I know it's not my hardware because this same machine booted into XP does this operation around 12-14x in DVD-Decrypter.  Also, k3b is dog-slow writing an iso.

Any ideas why it's so slow?  Thanks all!

Last edited by graysky (2009-04-10 15:56:57)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-04-10 16:59:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Using dd to rip a dvd movie to an iso file - serious speed issues

I popped in my GTA 4 DVD (windows game).  I did the same dd command and it too was written very slowly... so it's not just DVD movies hmm

UDMA seems to be enabled and I'm out of ideas...

$ sudo hdparm -i /dev/scd0

/dev/scd0:

 Model=BENQ    DVD DD DW1640                   , FwRev=BSRB    , SerialNo=9JC5U150C353364133SP
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 
 AdvancedPM=no

 * signifies the current active mode

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2009-04-10 18:41:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Using dd to rip a dvd movie to an iso file - serious speed issues

You might wanna experiment with the 'bs' argument (bytesize), it seems to speed up copy operations.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2009-04-10 18:57:53

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Using dd to rip a dvd movie to an iso file - serious speed issues

Or you may want to issue "hdparm -E some_number /dev/scd0" to make your drive spinup. Try issuing it right before you issue the dd command.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2009-04-10 19:13:02

zeratul289
Member
From: Liverpool, UK
Registered: 2008-03-07
Posts: 24

Re: Using dd to rip a dvd movie to an iso file - serious speed issues

Could you paste the output of:

dmesg | grep ata

Offline

Board footer

Powered by FluxBB