rsync sleep

Mark Constable markc at renta.net
Sun Jun 6 18:50:05 MDT 2010


On 2010-06-07, Mag Gam wrote:
> I am more concerned with write penalty.  We use netApps, and
> if there is a huge write (10gb file) i would like to give the
> filer to "recover" before I can start syncing more data.

Perhaps as Eberhard suggested, ionice might be useful and is
part of the util-linux-ng package...

 -c The scheduling class. 1 for real time, 2 for best-effort,
    3 for idle.

 Idle. A program running with idle io priority will only get
 disk time when no other program has asked for disk io for
 a defined grace period. The impact of idle io processes on
 normal system activity should be zero. This scheduling
 class does not take a priority argument.

ionice -c3 rsync ... etc

--markc


More information about the rsync mailing list