Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2011 21:21:59 +0100
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: looking for a fast way to dump a dvd to a file on my hdd
Message-ID:  <20110202202159.GA73186@lexx.ifp.tuwien.ac.at>
In-Reply-To: <20110202195441.GA39963@freebsd.org>
References:  <20110202195441.GA39963@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 02, 2011 at 07:54:41PM +0000, Alexander Best wrote:
> hi there,
> 
> i'd like to copy several dvds to my hdd. however my attempts so far haven't
> really been that successfull. basically using dd(1) is just way too slow.
> 
> this is my dvd drive:
> 
> cd0 at ata2 bus 0 scbus2 target 0 lun 0
> cd0: <HL-DT-ST DVDRAM GSA-H10N JL12> Removable CD-ROM SCSI-0 device 
> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> cd0: cd present [342970 x 2048 byte records]
> 
> being connected to
> 
> ata2: <ATA channel 0> on atapci0
> atapci0: <JMicron JMB363 UDMA133 controller> port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f irq 16 at device 0.1 on pci3
> 
> please not that this is an atapi drive, but i'm using ATA_CAM.
> 
> so far dd(1) with a bs=2048 finished after:
> 
Try using larger bs, for example bs=1m

> 4676648960 bytes transferred in 1639.108763 secs (2853166 bytes/sec)
> 
> ... this drive is capable of reading dvds at a speed of 16x. [1] tells me,
> that this means the entire disc (SL) should have been read after ~ 4 minutes.
> 
> please also note that hw.ata.atapi_dma = 1. any suggestions how i can speed up
> the process? might switching back to the ata(4) subsystem increase the speed?
> 
> i'm running HEAD (r218104) on the amd64 architecture.
> 
> cheers.
> alex
> 
> [1] http://en.wikipedia.org/wiki/DVD#Technology
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110202202159.GA73186>