* Btrfs send 4-5 times slower than rsync on local
@ 2014-01-27 9:14 Konstantinos Skarlatos
2014-01-28 1:26 ` Josef Bacik
0 siblings, 1 reply; 2+ messages in thread
From: Konstantinos Skarlatos @ 2014-01-27 9:14 UTC (permalink / raw)
To: linux-btrfs
Hello, i am using btrfs send to copy a snapshot to another btrfs
filesystem on the same machine, and it has a maximum speed of
30-35MByte/sec.
Incredibly rsync is much faster, at 120-140MB/sec. Source btrfs is a
5x2TB raid 0 and target is 1x4TB.
mount options: rw,noatime,compress-force=zlib,space_cache
kernel is linux-3.13.0-rc6-git and btrfs tools is built from git at
about the same time linux-3.13.0-rc6 was released
Finally, is there a way to resume an interrupted send?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Btrfs send 4-5 times slower than rsync on local
2014-01-27 9:14 Btrfs send 4-5 times slower than rsync on local Konstantinos Skarlatos
@ 2014-01-28 1:26 ` Josef Bacik
0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2014-01-28 1:26 UTC (permalink / raw)
To: Konstantinos Skarlatos, linux-btrfs
On 01/27/2014 04:14 AM, Konstantinos Skarlatos wrote:
> Hello, i am using btrfs send to copy a snapshot to another btrfs
> filesystem on the same machine, and it has a maximum speed of
> 30-35MByte/sec.
> Incredibly rsync is much faster, at 120-140MB/sec. Source btrfs is a
> 5x2TB raid 0 and target is 1x4TB.
>
> mount options: rw,noatime,compress-force=zlib,space_cache
> kernel is linux-3.13.0-rc6-git and btrfs tools is built from git at
> about the same time linux-3.13.0-rc6 was released
I just sent a patch titled
[PATCH] Btrfs: only process as many file extents as there are refs
that should make this better. Also you are giving throughput but not
actual times. How much time does it take to do a send vs an rsync. We
may be sending less info across and therefore be done faster but at
lower rates than rsync. Before this patch rsync won in my test case but
only barely, and with this patch I'm 3 times faster than rsync even
though I bet it's getting better throughput. Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-28 1:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 9:14 Btrfs send 4-5 times slower than rsync on local Konstantinos Skarlatos
2014-01-28 1:26 ` Josef Bacik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).