Serge,

This is the output of what you have request.

root@ubuntu1504:/sys/fs/cgroup/cpuset# cat cpuset.cpus ; cat 
user.slice/cpuset.cpus
0-7
0-6


root@ubuntu1504:/sys/fs/cgroup/cpuset# cgm listcontrollers
blkio
cpu,cpuacct
devices
freezer
hugetlb
memory
net_cls,net_prio
perf_event
name=systemd


root@ubuntu1504:/sys/fs/cgroup/cpuset# ps aux | grep cgmanager
root     28368  0.0  0.1   5120  4352 ?        Ss   Apr07   0:00 
/sbin/cgmanager -m name=systemd -M cpuset

root@ubuntu1504:/sys/fs/cgroup/cpuset# cat /proc/28368/mountinfo 
55 88 0:36 / /run/cgmanager/fs rw,relatime - tmpfs cgmfs rw,size=128k,mode=755
73 87 0:4 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
74 73 0:31 / /proc/sys/fs/binfmt_misc rw,relatime - autofs systemd-1 
rw,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
76 55 0:23 / /run/cgmanager/fs/blkio rw,relatime - cgroup blkio rw,blkio
77 55 0:25 / /run/cgmanager/fs/cpu rw,relatime - cgroup cpu rw,cpu,cpuacct
78 55 0:25 / /run/cgmanager/fs/cpuacct rw,relatime - cgroup cpuacct 
rw,cpu,cpuacct
79 55 0:24 / /run/cgmanager/fs/devices rw,relatime - cgroup devices rw,devices
80 55 0:30 / /run/cgmanager/fs/freezer rw,relatime - cgroup freezer rw,freezer
81 55 0:29 / /run/cgmanager/fs/hugetlb rw,relatime - cgroup hugetlb 
rw,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb
82 55 0:26 / /run/cgmanager/fs/memory rw,relatime - cgroup memory rw,memory
83 55 0:22 / /run/cgmanager/fs/net_cls rw,relatime - cgroup net_cls 
rw,net_cls,net_prio
84 55 0:22 / /run/cgmanager/fs/net_prio rw,relatime - cgroup net_prio 
rw,net_cls,net_prio
85 55 0:28 / /run/cgmanager/fs/perf_event rw,relatime - cgroup perf_event 
rw,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event
86 55 0:20 / /run/cgmanager/fs/none,name=systemd rw,relatime - cgroup 
none,name=systemd 
rw,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
87 45 253:2 / / rw,relatime - ext4 
/dev/disk/by-uuid/1ce3e5ed-71cf-4682-91f5-261804741e81 
rw,errors=remount-ro,data=ordered
88 87 0:16 / /run rw,nosuid,noexec,relatime - tmpfs tmpfs 
rw,size=403904k,mode=755

root@ubuntu1504:/sys/fs/cgroup/cpuset# cat /proc/self/mountinfo
16 21 0:15 / /sys rw,nosuid,nodev,noexec,relatime shared:7 - sysfs sysfs rw
17 21 0:4 / /proc rw,nosuid,nodev,noexec,relatime shared:12 - proc proc rw
18 21 0:6 / /dev rw,relatime shared:2 - devtmpfs udev 
rw,size=1972160k,nr_inodes=30815,mode=755
19 18 0:13 / /dev/pts rw,nosuid,noexec,relatime shared:3 - devpts devpts 
rw,gid=5,mode=620,ptmxmode=000
20 21 0:16 / /run rw,nosuid,noexec,relatime shared:5 - tmpfs tmpfs 
rw,size=403904k,mode=755
21 0 253:2 / / rw,relatime shared:1 - ext4 
/dev/disk/by-uuid/1ce3e5ed-71cf-4682-91f5-261804741e81 
rw,errors=remount-ro,data=ordered
22 16 0:11 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:8 - 
securityfs securityfs rw
23 18 0:17 / /dev/shm rw,nosuid,nodev shared:4 - tmpfs tmpfs rw
24 20 0:18 / /run/lock rw,nosuid,nodev,noexec,relatime shared:6 - tmpfs tmpfs 
rw,size=5120k
25 16 0:19 / /sys/fs/cgroup rw shared:9 - tmpfs tmpfs rw,mode=755
26 25 0:20 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:10 - 
cgroup cgroup 
rw,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
27 16 0:21 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:11 - pstore 
pstore rw
28 25 0:22 / /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime 
shared:13 - cgroup cgroup rw,net_cls,net_prio
29 25 0:23 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:14 - 
cgroup cgroup rw,blkio
30 25 0:24 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:15 - 
cgroup cgroup rw,devices
31 25 0:25 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime 
shared:16 - cgroup cgroup rw,cpu,cpuacct
32 25 0:26 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:17 - 
cgroup cgroup rw,memory
33 25 0:27 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:18 - 
cgroup cgroup rw,cpuset,clone_children
34 25 0:28 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime 
shared:19 - cgroup cgroup 
rw,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event
35 25 0:29 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:20 - 
cgroup cgroup 
rw,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb
36 25 0:30 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:21 - 
cgroup cgroup rw,freezer
37 17 0:31 / /proc/sys/fs/binfmt_misc rw,relatime shared:22 - autofs systemd-1 
rw,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
38 16 0:7 / /sys/kernel/debug rw,relatime shared:23 - debugfs debugfs rw
39 18 0:14 / /dev/mqueue rw,relatime shared:24 - mqueue mqueue rw
40 16 0:32 / /sys/fs/fuse/connections rw,relatime shared:25 - fusectl fusectl rw
41 20 0:33 / /run/cgmanager/fs rw,relatime shared:26 - tmpfs cgmfs 
rw,size=128k,mode=755
42 41 0:35 / /run/cgmanager/fs rw,relatime shared:28 - tmpfs cgmfs 
rw,size=128k,mode=755
44 42 0:36 / /run/cgmanager/fs rw,relatime shared:29 - tmpfs cgmfs 
rw,size=128k,mode=755
43 20 0:34 / /run/user/1000 rw,nosuid,nodev,relatime shared:27 - tmpfs tmpfs 
rw,size=403904k,mode=700,uid=1000,gid=1000
46 37 0:37 / /proc/sys/fs/binfmt_misc rw,relatime shared:30 - binfmt_misc 
binfmt_misc rw

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1392176

Title:
  mounts cgroups unconditionally which causes undesired effects with cpu
  hotplug

Status in cgmanager package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  == Comment: #0 - Preeti U. Murthy <preeti.mur...@in.ibm.com> - 2014-10-20 
04:40:12 ==
  ---Problem Description---
  Systemd mounts cgroups explicitly every boot. Since the user had no say in 
it, undesired consequences are observed in reaction to cpu hotplug operations.  
Here is how.

  Systemd moves the tasks to the cgroup mounted by it. This cgroup 
automatically becomes the child of the root cgroup which is present by default. 
The children cgroups are not expected to remember their configured cpusets 
after hotplug operations in the kernel. Hence when cpus are taken offline and 
brought back online they are no longer used for load balancing of tasks and 
hence remain unused. 
     This is an undesired consequence because the user had not even asked for 
cgroups to be mounted, yet is not able to use the full capacity of the system.

  Only when the user himself creates cgroup hierarchies, should he be
  exposed to the side effects of cpu hotplug on cpusets. Else all online
  cpus must be made available to him which is not happening since
  systemd mounts cgroups on every boot.

  Hence please revert this feature or provide an explaination as to why this is 
being done.
   
  ---uname output---
  Linux tul181p1 3.16.0-18-generic #25-Ubuntu SMP Fri Sep 26 02:39:53 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = Tuleta 8286-42A 
   ---Debugger---
  A debugger was configured, however the system did not enter into the debugger
   
  ---Steps to Reproduce---
   $ taskset -p $$
  $ 0-127
  $ echo 0 > /sys/devices/system/cpu/cpu7/online
  $ taskset -p $$
  $ 0-6,8-127
  $ echo 1 > /sys/devices/system/cpu/cpu7/online
  $ taskset -p $$
  $ 0-6,8-127
   
   
  Userspace tool common name: systemd 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace rpm: systemd_208-8ubuntu8_ppc64el.deb

  Userspace tool obtained from project website:   208-8ubuntu8

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to