Re: dd(1) performance when copiing a disk to another

2005-10-12 Thread Willem Jan Withagen
Bruce Evans wrote: On Mon, 3 Oct 2005, [ISO-8859-1] Tulio Guimar�es da Silva wrote: But just to clear out some questions... 1) Maxtor�s full specifications for Diamond Max+ 9 Series refers to maximum *sustained* transfer rates of 37MB/s and 67MB/s for "ID" and "OD", respectively (though I cou

Re: dd(1) performance when copiing a disk to another

2005-10-05 Thread Patrick Proniewski
Hi, thank you all for these interesting explanations. I've made some more tests with my disks : As you'll see, for block size greater than 64k, the HDD ad6 (hitachi) is the bottleneck. bs of 1m and 512k yield to best transfert rates between ad4 and ad6 and using a pipe between to dd will low

Re: dd(1) performance when copiing a disk to another (fwd)

2005-10-05 Thread Pawel Jakub Dawidek
On Tue, Oct 04, 2005 at 02:14:48PM +0200, Poul-Henning Kamp wrote: +> Second issue: issuing intelligently sized/aligned requests. +> +> Notwithstanding the above, it makes sense to issue requests that +> work as efficient as possible further down the GEOM mesh. +> +> The chopping is one case, and

Re: dd(1) performance when copiing a disk to another (fwd)

2005-10-04 Thread Poul-Henning Kamp
Robert forwarded this message. >-- Forwarded message -- >Date: Tue, 4 Oct 2005 10:48:48 +1000 (EST) >From: Bruce Evans <[EMAIL PROTECTED]> >To: Tulio Guimar=E3es da Silva <[EMAIL PROTECTED]> >Cc: freebsd-performance@FreeBSD.org >Subject: Re: dd(1) p

Re: dd(1) performance when copiing a disk to another

2005-10-03 Thread Bruce Evans
On Mon, 3 Oct 2005, [ISO-8859-1] Tulio Guimar?es da Silva wrote: But just to clear out some questions... 1) Maxtor?s full specifications for Diamond Max+ 9 Series refers to maximum *sustained* transfer rates of 37MB/s and 67MB/s for "ID" and "OD", respectively (though I couldn?d find exactly w

Re: dd(1) performance when copiing a disk to another

2005-10-03 Thread Tulio Guimarães da Silva
Steven Hartland wrote: - Original Message - From: "Arne Wörner" <[EMAIL PROTECTED]> That seems to be 2 or about 2 times faster than disc->disc transfer... But still slower, than I would have expected... SATA150 sounds like the drive can do 150MB/sec... LOL, you might want to read up

Re: dd(1) performance when copiing a disk to another

2005-10-03 Thread Bruce Evans
On Mon, 3 Oct 2005, Patrick Proniewski wrote: # dd if=/dev/ad4 of=/dev/null bs=1m count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 17.647464 secs (59417943 bytes/sec) Many wrong answers to the original question have been given. dd with a blocks size of 1m betwee

Re: dd(1) performance when copiing a disk to another

2005-10-03 Thread Patrick Proniewski
Hi Arne and Eric, # atacontrol mode 0 Master = BIOSPIO Slave = BIOSPIO Hmm... 0 seems to be the wrong ata... Thats why the output does not fit to SATA drives, I think... oups... I'll have to do it again with channels 2 and 3 # dd if=/dev/ad4 of=/dev/null bs=1m count=1000 1000+0 records

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread Steven Hartland
- Original Message - From: "Arne Wörner" <[EMAIL PROTECTED]> That seems to be 2 or about 2 times faster than disc->disc transfer... But still slower, than I would have expected... SATA150 sounds like the drive can do 150MB/sec... LOL, you might want to read up on what SATA150 means. In

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread Eric Anderson
Arne Wörner wrote: Hi! --- Patrick Proniewski <[EMAIL PROTECTED]> wrote: Can u find out, if DMA transfers are enabled for those discs? What does dmesg say? see end of mail for full dmesg output, Looks good... :-)) But I never saw FBSD's kernel messages about SATA drives... ;-) Maybe at

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread W�rner
Hi! --- Patrick Proniewski <[EMAIL PROTECTED]> wrote: > > Can u find out, if DMA transfers are enabled for those discs? > > What does dmesg say? > > see end of mail for full dmesg output, > Looks good... :-)) But I never saw FBSD's kernel messages about SATA drives... ;-) > > Maybe atacontrol(8)

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread Patrick Proniewski
Hi, Can u find out, if DMA transfers are enabled for those discs? What does dmesg say? see end of mail for full dmesg output, What does "sysctl hw.ata.ata_dma" say? hw.ata.ata_dma: 1 Maybe atacontrol(8) says something useful about SATA discs, too (e. g. atacontrol mode 0)? # atacontr

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread W�rner
--- Steven Hartland <[EMAIL PROTECTED]> wrote: > From: "Patrick Proniewski" <[EMAIL PROTECTED]> >> # dd if=/dev/ad4 of=/dev/ad6 bs=1m >> >> It yields to poor performances: >> > That's actually pretty good for a sustained read / write on a > single disk. > Does somebody know, why this is "pretty go

Re: dd(1) performance when copiing a disk to another

2005-10-02 Thread Steven Hartland
That's actually pretty good for a sustained read / write on a single disk. Steve - Original Message - From: "Patrick Proniewski" <[EMAIL PROTECTED]> To: Sent: Sunday, October 02, 2005 3:57 PM Subject: dd(1) performance when copiing a disk to another Hi, (c

dd(1) performance when copiing a disk to another

2005-10-02 Thread Patrick Proniewski
Hi, (carte mère supermicro chip SATA Intel 6300ESB) I run FreeBSD 5.4 on a PIV 3GHz (SuperMicro motherboard, Intel SATA 6300ESB chipset) with 2 SATA HDD. I'm in the process to duplicate the boot HDD to the second HDD. I run dd for that: # dd if=/dev/ad4 of=/dev/ad6 bs=1m It yields to poor