Mailinglist Archive: opensuse-factory (437 mails)

< Previous Next >
[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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >