Skip to contentSkip to conversation

CGroup subsystem for enforcing hard cpu rate limits

DISCUSSION Chris Brox 1 participant 1 message Feb 8, 2008

lore
Share & tools
lore

Chris Brox

author
#0 lore raw

Back in 2006 Srivatsa Vaddagiri summarised proposals for CPU controllers, which variously offered to limit or guarantee CPU for a task group. Some of these supported both soft and hard limits.

Now in 2008 we have FAIR_CGROUP_SCHED in mainline, which supports soft CPU limits per control group. Great stuff.

Unfortunately I am keenly looking for a hard CPU limit implementation - i.e. one that would constrain a control group to use no more than x% of the CPU, even when it is otherwise idle.

Has the hard limit idea been discarded, or is it still a planned feature (of either the Fair scheduler or a new subsystem)?