From owner-freebsd-current@FreeBSD.ORG Wed Feb 2 20:22:02 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52A0106564A for ; Wed, 2 Feb 2011 20:22:02 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 808AD8FC14 for ; Wed, 2 Feb 2011 20:22:02 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E3B565ACAE; Wed, 2 Feb 2011 21:22:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id E0BB75AC9D; Wed, 2 Feb 2011 21:22:00 +0100 (CET) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C17F35CD5E; Wed, 2 Feb 2011 21:22:00 +0100 (CET) Received: from lexx.ifp.tuwien.ac.at ([128.131.127.223]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.2FP1) with ESMTP id 2011020221220058-50268 ; Wed, 2 Feb 2011 21:22:00 +0100 Date: Wed, 2 Feb 2011 21:21:59 +0100 From: Alexey Shuvaev To: Alexander Best Message-ID: <20110202202159.GA73186@lexx.ifp.tuwien.ac.at> References: <20110202195441.GA39963@freebsd.org> MIME-Version: 1.0 In-Reply-To: <20110202195441.GA39963@freebsd.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.2FP1|November 29, 2010) at 02/02/2011 09:22:00 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.2FP1|November 29, 2010) at 02/02/2011 09:22:00 PM, Serialize complete at 02/02/2011 09:22:00 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: freebsd-current@freebsd.org Subject: Re: looking for a fast way to dump a dvd to a file on my hdd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 20:22:02 -0000 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: 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: on atapci0 > atapci0: 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 >