summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Strauss <david@davidstrauss.net>2013-11-11 19:03:31 +1000
committerDavid Strauss <david@davidstrauss.net>2013-11-22 11:22:47 +1000
commit6414b7c981378a6eef480f6806d7cbfc98ca22a1 (patch)
tree52e636340ce65e8e5d69ad7e8dd8b4f2ec310e72 /test
parent52c7f2b2d58394c791ea0c6cf706082fd418f5bc (diff)
cgroups: Cache controller masks and optimize queues.
Diffstat (limited to 'test')
-rw-r--r--test/daughter.service7
-rw-r--r--test/parent.slice5
-rw-r--r--test/son.service8
3 files changed, 20 insertions, 0 deletions
diff --git a/test/daughter.service b/test/daughter.service
new file mode 100644
index 000000000..aebedca34
--- /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 000000000..0222f8eb4
--- /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 000000000..50bb96a94
--- /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