Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 12:57:26 -0700
From:      Artem Belevich <fbsdlist@src.cx>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: zfs send/receive: is this slow?
Message-ID:  <AANLkTikb-uw25UJYT8bt_qWshRmz%2B=FcNzkSZt_eAe4q@mail.gmail.com>
In-Reply-To: <a263c3beaeb0fa3acd82650775e31ee3.squirrel@nyi.unixathome.org>
References:  <a263c3beaeb0fa3acd82650775e31ee3.squirrel@nyi.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2010 at 11:04 AM, Dan Langille <dan@langille.org> wrote:
> It's taken about 15 hours to copy 800GB. =A0I'm sure there's some tuning =
I
> can do.
>
> The system is now running:
>
> # zfs send storage/bacula@transfer | zfs receive storage/compressed/bacul=
a

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.

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

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikb-uw25UJYT8bt_qWshRmz%2B=FcNzkSZt_eAe4q>