<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using mbuffer to speed up slow zfs send &#124; zfs receive</title>
	<atom:link href="http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/</link>
	<description></description>
	<lastBuildDate>Thu, 16 May 2013 16:31:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: zfs send receive performance issues - The UNIX and Linux Forums</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-785</link>
		<dc:creator>zfs send receive performance issues - The UNIX and Linux Forums</dc:creator>
		<pubDate>Mon, 29 Oct 2012 22:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-785</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mozaik. &#187; Blog Archive &#187; Backing up large zpools</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-761</link>
		<dc:creator>Mozaik. &#187; Blog Archive &#187; Backing up large zpools</dc:creator>
		<pubDate>Wed, 13 Jun 2012 18:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-761</guid>
		<description>[...] syncing the changes to USB took long (days), this took weeks. That&#8217;s when I learned about mbuffer to speed up zfs sync, but dedup and compression still took their toll. Plain uncompressed and [...]</description>
		<content:encoded><![CDATA[<p>[...] syncing the changes to USB took long (days), this took weeks. That&#8217;s when I learned about mbuffer to speed up zfs sync, but dedup and compression still took their toll. Plain uncompressed and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ryan</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-746</link>
		<dc:creator>John Ryan</dc:creator>
		<pubDate>Mon, 12 Mar 2012 15:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-746</guid>
		<description>I&#039;ve automated this in a script like:
zfs send pool/tank@now &#124; mbuffer -s 128k -m 1G 2&gt;/dev/null &#124; ssh -c arcfour128 remote.machine &quot;mbuffer -q -s 128k -m 1G 2&gt;/dev/null &#124; zfs recv -F -v pool/tank&quot;

also works with zfs send -i 
tests show me arcfour128 speeds it up as well.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve automated this in a script like:<br />
zfs send pool/tank@now | mbuffer -s 128k -m 1G 2&gt;/dev/null | ssh -c arcfour128 remote.machine &#8220;mbuffer -q -s 128k -m 1G 2&gt;/dev/null | zfs recv -F -v pool/tank&#8221;</p>
<p>also works with zfs send -i<br />
tests show me arcfour128 speeds it up as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Sloey</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-633</link>
		<dc:creator>Jim Sloey</dc:creator>
		<pubDate>Fri, 11 Nov 2011 17:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-633</guid>
		<description>Is anyone using this in an automated script?</description>
		<content:encoded><![CDATA[<p>Is anyone using this in an automated script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Laur</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-528</link>
		<dc:creator>John Laur</dc:creator>
		<pubDate>Sat, 29 Jan 2011 04:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-528</guid>
		<description>If you are using mbuffer on a local replication it&#039;s both tedious, complicated and unnecessary to use two copies running on the same machine. Try this syntax:

zfs send ... &#124; mbuffer -s 128k -m 2G -o - &#124; zfs receive ...

the &quot;-o -&quot; puts mbuffer into file output mode, but then sends to stdout instead. Fancy!</description>
		<content:encoded><![CDATA[<p>If you are using mbuffer on a local replication it&#8217;s both tedious, complicated and unnecessary to use two copies running on the same machine. Try this syntax:</p>
<p>zfs send &#8230; | mbuffer -s 128k -m 2G -o &#8211; | zfs receive &#8230;</p>
<p>the &#8220;-o -&#8221; puts mbuffer into file output mode, but then sends to stdout instead. Fancy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alasdair</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-518</link>
		<dc:creator>Alasdair</dc:creator>
		<pubDate>Sun, 23 Jan 2011 00:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-518</guid>
		<description>Shawn - MBuffer probably won&#039;t help in your case. If you&#039;re getting a really slow zfs send/receive speed locally, it&#039;ll be due to an issue that you&#039;ll need to track down.

If you&#039;re using dedupe, that can be really slow. You might have a dodgy disk/controller and/or drivers, or you could be on an old version of ZFS.

Whenever I see really slow zfs send/receive speeds in the past it has been due to IO errors, either due to dying disks or a disk/controller Solaris didn&#039;t like. &quot;iostat -En&quot; error counts can be helpful here, and &quot;iostat -x&quot; can help identify the slow party.</description>
		<content:encoded><![CDATA[<p>Shawn &#8211; MBuffer probably won&#8217;t help in your case. If you&#8217;re getting a really slow zfs send/receive speed locally, it&#8217;ll be due to an issue that you&#8217;ll need to track down.</p>
<p>If you&#8217;re using dedupe, that can be really slow. You might have a dodgy disk/controller and/or drivers, or you could be on an old version of ZFS.</p>
<p>Whenever I see really slow zfs send/receive speeds in the past it has been due to IO errors, either due to dying disks or a disk/controller Solaris didn&#8217;t like. &#8220;iostat -En&#8221; error counts can be helpful here, and &#8220;iostat -x&#8221; can help identify the slow party.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-517</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Mon, 27 Dec 2010 05:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-517</guid>
		<description>so mbuffer is working great for network transfers however...How can it be used to speed up local zfs send and receives locally. I have not had any luck speeding up a local sync between to local pools. When I try it the buffers just fill and then I am back to trickle mode again. Any thoughts?</description>
		<content:encoded><![CDATA[<p>so mbuffer is working great for network transfers however&#8230;How can it be used to speed up local zfs send and receives locally. I have not had any luck speeding up a local sync between to local pools. When I try it the buffers just fill and then I am back to trickle mode again. Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-479</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Tue, 12 Oct 2010 19:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-479</guid>
		<description>I&#039;m glad I stumbled across this post.

I have an X4600 M2 that&#039;s being replaced by an X4270 M2 with new disks - I have a dedicated interface on both for data migration.  Lots of cycles and physmem on both sides.  zfs send/receive over ssh defaults got me on the order of 24 MB/s.  Using the blowfish cipher maxed at ~52 MB/s, and the arcfour cipher at ~67 MB/s.  I&#039;ve tested today using mbuffer as above, and consistently get 109-116 MB/s throughput with the sending buffer pegged 100% full and the receiving buffer mostly empty, occasionally rising up to 25% or so briefly before falling back to 0.  I interpret this as indicating that the GigE interfaces are the bottleneck, and suspect that with 10GE interfaces I could easily double and likely triple throughput.  I may try adding compression into the pipes to see how that affects time to completion.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad I stumbled across this post.</p>
<p>I have an X4600 M2 that&#8217;s being replaced by an X4270 M2 with new disks &#8211; I have a dedicated interface on both for data migration.  Lots of cycles and physmem on both sides.  zfs send/receive over ssh defaults got me on the order of 24 MB/s.  Using the blowfish cipher maxed at ~52 MB/s, and the arcfour cipher at ~67 MB/s.  I&#8217;ve tested today using mbuffer as above, and consistently get 109-116 MB/s throughput with the sending buffer pegged 100% full and the receiving buffer mostly empty, occasionally rising up to 25% or so briefly before falling back to 0.  I interpret this as indicating that the GigE interfaces are the bottleneck, and suspect that with 10GE interfaces I could easily double and likely triple throughput.  I may try adding compression into the pipes to see how that affects time to completion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sh0x</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-440</link>
		<dc:creator>sh0x</dc:creator>
		<pubDate>Mon, 30 Aug 2010 03:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-440</guid>
		<description>Sweet! Thanks for the tip. My zfs send/recv went 45Mb/s using SSH for transport. I know there is network and cpu overhead with SSH, but the same transfer using mbuffer went 112MB/s (w/out SSH).

For my home whitebox setup I can&#039;t ask for more throughput than that!

Ok I can, time to bundle NICs. :)</description>
		<content:encoded><![CDATA[<p>Sweet! Thanks for the tip. My zfs send/recv went 45Mb/s using SSH for transport. I know there is network and cpu overhead with SSH, but the same transfer using mbuffer went 112MB/s (w/out SSH).</p>
<p>For my home whitebox setup I can&#8217;t ask for more throughput than that!</p>
<p>Ok I can, time to bundle NICs. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Gabriel</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-371</link>
		<dc:creator>Andrew Gabriel</dc:creator>
		<pubDate>Mon, 02 Aug 2010 22:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-371</guid>
		<description>See the bug I raised on this: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6729347

The receiver does a giant read per TXG. Between these reads, the standard TCP network buffers fill and flow control off. When the disks and the network are similar bandwidths, you will see alternate network, then disk activity. By having a buffer on the receive side which can hold 5 seconds worth of data at the rate the disk and network can stream, you will then see the dataflow stream continuously. I didn&#039;t see any significant benefit of a buffer at the sender, but a small one can&#039;t do any harm.</description>
		<content:encoded><![CDATA[<p>See the bug I raised on this: <a href="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6729347" rel="nofollow">http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6729347</a></p>
<p>The receiver does a giant read per TXG. Between these reads, the standard TCP network buffers fill and flow control off. When the disks and the network are similar bandwidths, you will see alternate network, then disk activity. By having a buffer on the receive side which can hold 5 seconds worth of data at the rate the disk and network can stream, you will then see the dataflow stream continuously. I didn&#8217;t see any significant benefit of a buffer at the sender, but a small one can&#8217;t do any harm.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
