bwlimit on rsync locally
Reeve Yang
reeve.yang at gmail.com
Mon Mar 31 17:52:27 GMT 2008
Thanks John. I looked into this patch but it doesn't resolve my
problem, and we have have posix FADV.
I found a simple solution. Just open the file on receiver to be write
direct to disk avoid file buffer/cache. Of course the performance
sucks but it's what I need. The output block rate cannot be reduced by
2/3 based on my besting on linux 2.6.22. I can post the diff if
anybody wants.
- Reeve
On Sun, Mar 30, 2008 at 10:23 PM, John Van Essen <vanes002 at umn.edu> wrote:
> On Fri, 28 Mar 2008, Reeve Yang <reeve.yang at gmail.com> wrote:
> > Is there anyway to make rsync use direct I/O bypassing FS buffer?
>
> I'm not an expert on that by any means, but AFAIK, rsync supports that
> only via this patch:
>
> http://rsync.samba.org/ftp/rsync/patches/drop-cache.diff
>
> (You'll have to compile your own version of rsync.)
>
>
>
> 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