Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 14:07:59 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Jeremy Chadwick <koitsu@freebsd.org>
Cc:        Christoph Kukulies <kuku@kukulies.org>, freebsd-questions@freebsd.org
Subject:   Re: fastest raw device copy?
Message-ID:  <20081031140730.Y1584@wojtek.tensor.gdynia.pl>
In-Reply-To: <20081031110159.GA30244@icarus.home.lan>
References:  <490AC650.3000904@kukulies.org> <20081031110159.GA30244@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
> In general, what you're doing is correct for a block copy.  There is
> nothing (that I know of) which is faster; you're copying 500GB of data
> (including the unused portion -- you *did* ask for a block copy),
> and this takes a long time.  Be patient.
>
> On the flip side, your blocksize (bs) there is quite high for no good
> reason.  I'd pick something more like bs=64k or bs=128k.  The default
> (512) is too small for what you want, but 10MBytes is silly.

should be big but less than drive's buffer, and be multiply of sector 
size.





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