# These patches add CFQ io scheduling support to util-vserver and # add a context flag to optionally ignore best-effort class priority changes # You must be running the CFQ scheduler and have PREEMPT enabled # # Usage # You will need the 'ionice' tool which comes with util-linux-2.13 # or can be found embedded in /usr/src/linux/Documentation/block/ioprio.txt # It should be installed somewhere in root's PATH # # Configuration /etc/vserver/XXX/ionice /class /priority 'class' is a file containing a number representing which scheduling class you wish to use. possible values are 1 for real time, 2 for best-effort, 3 for idle 'priority' is a file containing a number representing the priority level you wish to use within that class. possible values for real time and best-effort are 0-7 where 0 is highest priority values are not valid for idle See http://www.die.net/doc/linux/man/man1/ionice.1.html for details # Blocking ionice inside a vserver Normally a context will be able to manipulate the best-effort priority level of processes with it's context. A context flag has been added to silently ignore these changes - IGNEG_NICE It can be activated as with other flags (see http://linux-vserver.org/Caps+and+Flags) with the config word "igneg_ionice"