From Fedora Project Wiki

Revision as of 21:14, 5 February 2013 by Jreznik (talk | contribs) (Moved to FeatureReadyForFesco for approval (#1075))

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

Current status

  • Targeted release: Fedora 19
  • Last updated: 2012-01-17
  • Percentage of completion: 80%

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.

Comments and Discussion