systemd Resource Control
systemd already has support for assigning specific resources to system services using various configuration settings. With Fedora 19 we'd like to build on that, and add the ability for the admin to dynamically query the resource control parameters and change them at runtime.
- Name: Lennart Poettering
- Email: lennart at poettering dot net
- Targeted release: Fedora 19
- Last updated: 2012-03-07
- Percentage of completion: 100%
Currently cgroups-based resource control for services may be done with settings such as MemoryLimit=, CPUShares= or BlockIOWeight=. With this feature we want to extend this in order to make these settings more dynamic. With a new "systemctl set-cgroup-attr" command the user can change these parameters at runtime, and this immediately takes effect. With "systemctl get-cgroup-attr" current values can be read.
Benefit to Fedora
Really good dynamic per-service resource management. Administrators should love this.
Only needs changes in systemd upstream.
How To Test
Play around with "systemctl set-cgroup-attr" and friends.
Nothing really changes. It's a feature for people who want to manage resources of services, nobody else will even notice.
Nothing. It doesn't affect anybody who doesn't use this.
Man pages are in git, will be linked up here as soon as they are on the web.
It should be enough to just announce availability of this feature, plus a paste from the Summary section of this feature page, plus maybe a reference to the the docs for this.