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
On Fri, 28 Mar 2008, Reeve Yang [EMAIL PROTECTED] 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
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 [EMAIL PROTECTED] wrote:
On Thu, 27 Mar 2008, Reeve Yang [EMAIL PROTECTED] wrote:
Does bwlimit option really work on rsync locally?
Yes, it does.
rsync without --bwlimit:
Does bwlimit option really work on rsync locally? We have one type
of harddisk and want to slow down rsync I/O on disk because I don't
want the disk head gets too hot. While I'm trying to use --bwlimit
option, it looks the rsync speed was slowed down, but iostat is not
improved at all. In both
On Thu, 27 Mar 2008, Reeve Yang [EMAIL PROTECTED] 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