diff options
author | David Strauss <david@davidstrauss.net> | 2013-11-11 19:03:31 +1000 |
---|---|---|
committer | David Strauss <david@davidstrauss.net> | 2013-11-22 11:22:47 +1000 |
commit | 6414b7c981378a6eef480f6806d7cbfc98ca22a1 (patch) | |
tree | 52e636340ce65e8e5d69ad7e8dd8b4f2ec310e72 /test | |
parent | 52c7f2b2d58394c791ea0c6cf706082fd418f5bc (diff) |
cgroups: Cache controller masks and optimize queues.
Diffstat (limited to 'test')
-rw-r--r-- | test/daughter.service | 7 | ||||
-rw-r--r-- | test/parent.slice | 5 | ||||
-rw-r--r-- | test/son.service | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/test/daughter.service b/test/daughter.service new file mode 100644 index 0000000000..aebedca348 --- /dev/null +++ b/test/daughter.service @@ -0,0 +1,7 @@ +[Unit] +Description=Daughter Service + +[Service] +Slice=parent.slice +Type=oneshot +ExecStart=/bin/true diff --git a/test/parent.slice b/test/parent.slice new file mode 100644 index 0000000000..0222f8eb47 --- /dev/null +++ b/test/parent.slice @@ -0,0 +1,5 @@ +[Unit] +Description=Parent Slice + +[Slice] +BlockIOWeight=200 diff --git a/test/son.service b/test/son.service new file mode 100644 index 0000000000..50bb96a941 --- /dev/null +++ b/test/son.service @@ -0,0 +1,8 @@ +[Unit] +Description=Son Service + +[Service] +Slice=parent.slice +Type=oneshot +ExecStart=/bin/true +CPUShares=100 |