Hi, What is the reasoning for not joining cpu subsystem with systemd subsystem?
There are couple ways you can mirror [1] cpu and systemd subsystems and doing so can result completely different cpu bandwidth for processes. I am wondering why we don't mirror them by default. Not mirroring them results PID 1, each kernel thread and each user space task having the same cpu bandwidth (/sys/fs/cgroup/cpu/tasks). Even worse is the cpu bandwidth PID 1 gets goes down with the number of processes spawned, possibly opening ways to DOS. [1] - Simple changes that alter the entire cpu bandwidth processes get a) DefaultCPUAccounting=yes will change the entire cpu bandwidth allocation due to JoinControllers=cpu,cpuacct b) Dropping a .slice and adding even only 1 service in it. c) systemctl set-property system.slice CPUShares=1024 (Even though 1024 is the default cpu weight) Umut _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel