So the problem here is that LXD itself DOES NOT touch the cpuset
controller at all.

liblxc does have some initialization code in place which will copy the
parent value for cpuset.cpus and cpuset.mems if cgroup.clone_children
hasn't been set to 1 yet.

So I guess we'd need a change to the cgfsng backend of LXC to not
propagate the value of the root but instead somehow figure out what CPUs
are isolated and ignore those. Not sure what the right way is to get
that information in a reliable way short of having to parse the kernel
command line...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623143

Title:
  Linux container does not take same cpu configuration as kernet's hosts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1623143/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to