zfs send/receive: is this slow?

Dan Langille dan at langille.org
Thu Sep 30 01:20:50 UTC 2010


On 9/29/2010 3:57 PM, Artem Belevich wrote:
> On Wed, Sep 29, 2010 at 11:04 AM, Dan Langille<dan at langille.org>  wrote:
>> It's taken about 15 hours to copy 800GB.  I'm sure there's some tuning I
>> can do.
>>
>> The system is now running:
>>
>> # zfs send storage/bacula at transfer | zfs receive storage/compressed/bacula
>
> Try piping zfs data through mbuffer (misc/mbuffer in ports). I've
> found that it does help a lot to smooth out data flow and increase
> send/receive throughput even when send/receive happens on the same
> host. Run it with a buffer large enough to accommodate few seconds
> worth of write throughput for your target disks.

Thanks.  I just installed it.  I'll use it next time.  I don't want to 
interrupt this one.  I'd like to see how long it takes.  Then compare.

> Here's an example:
> http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/

That looks really good. Thank you.

-- 
Dan Langille - http://langille.org/


More information about the freebsd-stable mailing list