CPU percentage limits

Project description

The goal of the project is to add the CPU percentage usage accounting to the existing racct/rctl infrastructure. I want to make it possible for the system administrator to limit either a particular process, a particular user or a particular jail to for example 30% CPU.




SVN repositary


Apply the patch as follows

cd /usr/src
patch -p1 < patch-file.patch

Required kernel options

options RACCT
options RCTL

Usage examples

rctl -a user:tom:pcpu:deny=60

rctl -a process:1657:pcpu:deny=70

SummerOfCode2012/CPULimits (last edited 2012-10-25 14:01:01 by RudolfTomori)