[lxc-users] [LXD] how to add cgroup options using lxc

Mark Constable markc at renta.net
Wed Mar 18 07:13:34 UTC 2015


On 18/03/15 16:20, Guido Jäkel wrote:
>> lxc.cgroup.cpuset.cpus = 7
>
> is this proven to work as intended?
> [...]
>  your example would mean to select the single core #7.

That is intended for testing. I find that the last cpu seems to be
the least used (from simple top tests) so I figure it's a reasonable
choice on my i7 laptop. This is mainly what I want to see...

root at v1:~# grep processor /proc/cpuinfo
processor       : 0



More information about the lxc-users mailing list