On purpose slow copy support?
strombrg at dcs.nac.uci.edu
Fri Sep 26 07:04:23 EST 2003
On Thu, 2003-09-25 at 14:01, jb at dslreports.com wrote:
> I'd like to use rsync on a production box that has a great deal of
> memory-cached filesystem in use at all times. Is there any way, or any
> other tool, that will do a "slow" copy? purposefully not busting the
> cache by copying things as fast as possible?
> "nice" does not work, of course, as that is a cpu scheduling control.
> What I want is basically lowest-priority or "background" I/O.
strace oughta slow it down a bit.
If that's not enough, it's not hard to modify strace to usleep a while
on various syscalls. I did it once for read/write/send/recv, but it
never made it into the mainline. :(
Dan Stromberg DCS/NACS/UCI <strombrg at dcs.nac.uci.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20030925/233212fd/attachment.bin
More information about the rsync