bwlimit on rsync locally
Reeve Yang
reeve.yang at gmail.com
Fri Mar 28 21:35:31 GMT 2008
Is there anyway to make rsync use direct I/O bypassing FS buffer?
On Thu, Mar 27, 2008 at 10:57 PM, John Van Essen <vanes002 at umn.edu> wrote:
> On Thu, 27 Mar 2008, Reeve Yang <reeve.yang at gmail.com> wrote:
> > Does "bwlimit" option really work on rsync locally?
>
> Yes, it does.
>
>
> > rsync without --bwlimit:
> >> iostat; rsync -a -r --stats swapfile swapfile.rsync; iostat
> ....
>
> > sent 2147745923 bytes received 42 bytes 23472633.50 bytes/sec
> ....
>
> > rysnc with --bwlimit:
> >> iostat && rsync -a -r --stats --bwlimit=2500 swapfile swapfile.rsync && iostat
> ....
>
> > sent 2147745923 bytes received 42 bytes 2543216.06 bytes/sec
>
> Notice that the second rsync "bytes/sec" was a factor of 10 smaller
> than the first one and was, indeed, approximately 2500 kBps.
>
> If it isn't having the effect you want, keep lowering the bwlimit
> value until you get the desired results.
>
> John
>
> --
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
More information about the rsync
mailing list