[opensuse-factory] systemd is populating cpu cgroup.. how to make it stop doing that?
Hello systemd wizards, Observe... homer:~ # find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpu,cpuacct/system.slice /sys/fs/cgroup/cpu,cpuacct/user.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/session-1.scope /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/user@0.service homer:~ # taskset 0xc pipe-test 1 3.761343 usecs/loop -- avg 3.761343 531.7 KHz 3.768433 usecs/loop -- avg 3.762052 531.6 KHz 3.775670 usecs/loop -- avg 3.763414 531.4 KHz 3.760967 usecs/loop -- avg 3.763169 531.5 KHz 3.785474 usecs/loop -- avg 3.765400 531.2 KHz Irate user activities.. homer:~ # find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct homer:~ # taskset 0xc pipe-test 1 2.731040 usecs/loop -- avg 2.731040 732.3 KHz 2.731072 usecs/loop -- avg 2.731043 732.3 KHz 2.730474 usecs/loop -- avg 2.730986 732.3 KHz 2.731263 usecs/loop -- avg 2.731014 732.3 KHz 2.728455 usecs/loop -- avg 2.730758 732.4 KHz 531.2 / 732.4 = .725 That's the overhead systemd is inflicting on users. homer:~ # systemctl status user@0 ● user@0.service - User Manager for UID 0 Loaded: loaded (/usr/lib/systemd/system/user@.service; static; vendor preset: disabled) Active: active (running) since Wed 2015-04-15 06:39:52 CEST; 3min 26s ago Main PID: 2080 (systemd) Status: "Startup finished in 95ms." CGroup: /user.slice/user-0.slice/user@0.service ├─2080 /usr/lib/systemd/systemd --user └─2085 (sd-pam) homer:~ # systemctl status user.slice ● user.slice - User and Session Slice Loaded: loaded (/usr/lib/systemd/system/user.slice; static; vendor preset: disabled) Active: active since Wed 2015-04-15 06:39:30 CEST; 21min ago Docs: man:systemd.special(7) CGroup: /user.slice └─user-0.slice └─session-1.scope Note that group scheduling crud is DISABLED, but systemd ignores that. So how does one convince systemd to be a polite little abomination, and kindly keep its tentacles the hell off of my property? It is my box, my wishes really should be honored by the (alleged) servants therein. It's nice that systemd offers group scheduling, it does have it's uses, but not so nice that it forces that overhead upon me whether I want to pay the feature price or not (not to mention that other liabilities are also part and parcel thereof), which it appears to do. -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 2015-04-15 at 08:07 +0200, Mike Galbraith wrote:
Note that group scheduling crud is DISABLED, but systemd ignores that.
Embedding an axe in its forehead got its attention. All better. -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Apr 15, 2015 at 3:07 AM, Mike Galbraith <mgalbraith@suse.de> wrote:
Hello systemd wizards,
Observe...
homer:~ # find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpu,cpuacct/system.slice /sys/fs/cgroup/cpu,cpuacct/user.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/session-1.scope /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/user@0.service
find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct (nothing) in which systemd version are you running this ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 2015-04-15 at 12:40 -0300, Cristian Rodríguez wrote:
On Wed, Apr 15, 2015 at 3:07 AM, Mike Galbraith <mgalbraith@suse.de> wrote:
Hello systemd wizards,
Observe...
homer:~ # find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpu,cpuacct/system.slice /sys/fs/cgroup/cpu,cpuacct/user.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/session-1.scope /sys/fs/cgroup/cpu,cpuacct/user.slice/user-0.slice/user@0.service
find /sys/fs/cgroup/cpu,cpuacct -type d /sys/fs/cgroup/cpu,cpuacct (nothing)
As it should be, but wasn't here.
in which systemd version are you running this ?
systemd-219-3.1.x86_64 from tumbleweed. -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
systemctl mask user@0.service, was suggested, and worked, so there is a way to make it understand that you really do mean 'off' when you flip the 'off' switch without resorting to using an axe.. though I must say that creating a symlink service -> /dev/null closely resembles an axe. -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Mike Galbraith