From 9e37286844f67ca7c59e923dd27ad193dfdda7eb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 20 Aug 2011 01:38:10 +0200 Subject: exec: add high-level controls for blkio cgroup attributes --- man/systemd.exec.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 5 deletions(-) (limited to 'man/systemd.exec.xml') diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 89e3369d3c..6bc8bf3e79 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -797,11 +797,13 @@ CPUShares= Assign the specified - overall CPU time shares to the processes executed. Takes - an integer value. This controls the + overall CPU time shares to the + processes executed. Takes an integer + value. This controls the cpu.shares control - group attribute. For details about - this control group attribute see sched-design-CFS.txt. @@ -814,7 +816,7 @@ size. Takes a memory size in bytes. If the value is suffixed with K, M, G or T the specified memory size is parsed - as Kilobytes, Megabytes, Gigabytes + as Kilobytes, Megabytes, Gigabytes, resp. Terabytes (to the base 1024). This controls the memory.limit_in_bytes @@ -848,6 +850,57 @@ url="http://www.kernel.org/doc/Documentation/cgroups/devices.txt">devices.txt. + + BlockIOWeight= + + Set the default or + per-device overall block IO weight + value for the executed + processes. Takes either a single + weight value (between 10 and 1000) to + set the default block IO weight, or a + space separated pair of a device node + path and a weight value to specify the + device specific weight value (Example: + "/dev/sda 500"). This controls the + blkio.weight and + blkio.weight_device + control group attributes, which + default to 1000. Use this option + multiple times to set weights for + multiple devices. For details about + these control group attributes see + blkio-controller.txt. + + + + BlockIOReadBandwidth= + BlockIOWriteBandwidth= + + Set the per-device + overall block IO bandwith limit for the + executed processes. Takes a space + separated pair of a device node path + and a bandwith value (in bytes per + second) to specify the device specific + bandwidth. If the bandwith is suffixed + with K, M, G, or T the specified + bandwith is parsed as Kilobytes, + Megabytes, Gigabytes, resp. Terabytes + (Example: "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 5M"). This + controls the + blkio.read_bps_device + and + blkio.write_bps_device + control group attributes. Use this + option multiple times to set bandwith + limits for multiple devices. For + details about these control group + attributes see blkio-controller.txt. + + ReadWriteDirectories= ReadOnlyDirectories= -- cgit v1.2.3-54-g00ecf