You are not logged in.

#1 2012-12-06 22:05:28

whoops
Member
Registered: 2009-03-19
Posts: 891

rsync: avoid slow synchronous read+write?

Hello!


So I am rsync-ing from my main sata drive to a slow'ish backup drive connected with eSata.

writing on the backup drive with dd: 80 MB/s
reading from the backup drive: 160MB/s
rsync speed: constantly reading and writing at once with 20MB/s each.
cpu cores: all below 50% usage.

Why is it doing that? Even when writing big new files to the disk... and when there's many small files, it's sometimes as slow as 5MB/s.
Can I somehow make it write a whole file first and read it afterwards? Or speed it up in other ways?


Or am I misunderstanding something?

Offline

#2 2012-12-06 23:39:56

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: rsync: avoid slow synchronous read+write?

What commands are you using exactly? Rsync can operate in different ways depending what you specify as options...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-12-07 08:59:45

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: rsync: avoid slow synchronous read+write?

Tried many different ones including rsync with no options (safe for some directory exclusions etc), seems to be the same (or in some obvious cases - like with -c - worse) for all. Most of the time I'm going with "-aAXvxbiH"

Which options should I pay special attention to? Didn't see anything that could change this behaviour in the manual...

Last edited by whoops (2012-12-07 09:01:42)

Offline

Board footer

Powered by FluxBB