Hello,

Adam Porter wrote (01 Feb 2007 04:31:25 GMT) :
> I already nice my rdiff backups so they run in the background unnoticably. It 
> would
> be even better
> if ionice was also used so that they didn't affect disk i/o noticably either.
>
> For example, I started a backup and then ran $(ionice -pPID -c2), which took 
> the CPU
> nice into
> account and set the in-class priority to 4 (of 7; higher number is lower 
> priority,
> like CPU nice).
>
> So it would be nice if this could be integrated into Backupninja.

Great idea, this could be added (at least) to all handlers that
already have a "nicelevel" option.

Notes to micah + myself :
1. The availability of the ionice command, and the fact it actually
   works, should be tested at runtime : such I/O priority classes are
   only supported since Linux kernel 2.6.13, with the CFQ io scheduler
   => this test code should be factorized in lib/, and not duplicated
   for all handlers.
2. ionice is part of the schedutils package, that should thus be added
   as a Suggest: when this feature will be implemented.

Ciao,
--
  intrigeri <[EMAIL PROTECTED]>
  | gnupg key @ http://intrigeri.boum.org/intrigeri.asc
  | Who wants a world in which the guarantee that we shall not
  | die of starvation would entail the risk of dying of boredom ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to