On Fri, Mar 28, 2008 at 09:05:37PM -0600, dan wrote:

> unfortunately, ionice has only 3 levels.  awesome, regular, and crappy.  if
> you just push down the backuppc io process then EVERYTHING will pre-empt the
> IO, if you up it, it will consume every drop of blood from the system!
> 
> note, you should NEVER ionice a heavy IO process such as backuppc to -c1,
> the backup will take all the IO priority and you could litterally not be
> able to log in or run any programs because the shell wont be able to get
> enough IO time to search $PATH for commands or read .profile,.bashrc, etc
> etc to get a user logged in.

Right, but ionice has more than 3 levels since you may specify a
priority within "best effort" and "real time" scheduling classes. That
is, IO priorities will be:
1. real time scheduling class, priority 0
2. real time scheduling class, priority 1
...
8. best effort scheduling class (default), priority 0
9. best effort scheduling class (default), priority 1
...
13. best effort scheduling class (default), priority 4 (default)
...
16. idle scheduling class, no priorities there

That's at least what my man page says.

HTH,

Tino.

PS: You need the CFQ scheduler for this to work, so you need at least
kernel 2.6.13.

-- 
www.craniosacralzentrum.de
www.spiritualdesign-chemnitz.de
www.forteego.de

Tino Schwarze * Lortzingstraße 21 * 09119 Chemnitz

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to