Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to limit the CPU shares of available to two LXC containers running.

It appears that this is done by adding the control group definitions into the LXC config file.

But what's the format? The Ubuntu server docs stop short of explaining how to do this.

Specifically I'd like to do this:

  • Container A is guaranteed 80% cpu as needed, Container B 20%
  • Basically the same block I/O access guarantees as we have for CPU above
share|improve this question

1 Answer 1

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.