On purpose slow copy support?

Dan Stromberg
Fri, 26 Sep 2003 07:04:23 -0000

On Thu, 2003-09-25 at 14:01, jb@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.
>
> thanks

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@dcs.nac.uci.edu>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part