You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lxc-create -t download -n test -- -d ubuntu -r trusty -a amd64
lxc 1.1.2 and lxcfs 0.7
(all from lxd-git-master_1_1 PPA repository)
i setup cores in the config:
lxc.cgroup.cpuset.cpus = 0,1
or in shell with lxc-cgroup
lxc-cgroup -n base cpuset.cpus 0,1
test with stress command:
stress --cpu 4 --timeout 10s
show in the host only two hosts (0 and 1) used.
now if i change the cpusets.cpus to non-consecutive cores:
lxc.cgroup.cpuset.cpus = 0,2
or
lxc-cgroup -n base cpuset.cpus 0,2
with the same stress command, I get two cores used, you can see htop in the host for diagnostic, but in the container, htop, top and less /proc/cpuinfo shows only one core active, when the cores are non-consecutive.
The text was updated successfully, but these errors were encountered:
Ubuntu 14.04.2, unprivileged container configured.
lxc 1.1.2 and lxcfs 0.7
(all from lxd-git-master_1_1 PPA repository)
i setup cores in the config:
or in shell with lxc-cgroup
test with stress command:
show in the host only two hosts (0 and 1) used.
now if i change the cpusets.cpus to non-consecutive cores:
or
with the same
stress
command, I get two cores used, you can seehtop
in the host for diagnostic, but in the container,htop
,top
andless /proc/cpuinfo
shows only one core active, when the cores are non-consecutive.The text was updated successfully, but these errors were encountered: