systemd Resource Control
Summary
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.
Owner
- Name: Lennart Poettering
- Email: lennart at poettering dot net
Current status
- Targeted release: Fedora 19
- Last updated: 2012-03-07
- Percentage of completion: 100%
Detailed Description
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.
Scope
Only needs changes in systemd upstream.
How To Test
Play around with "systemctl set-cgroup-attr" and friends.
User Experience
Nothing really changes. It's a feature for people who want to manage resources of services, nobody else will even notice.
Dependencies
Nothing.
Contingency Plan
Nothing. It doesn't affect anybody who doesn't use this.
Documentation
Man pages are in git, will be linked up here as soon as they are on the web.
Release Notes
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.