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