From 6414b7c981378a6eef480f6806d7cbfc98ca22a1 Mon Sep 17 00:00:00 2001 From: David Strauss Date: Mon, 11 Nov 2013 19:03:31 +1000 Subject: cgroups: Cache controller masks and optimize queues. --- test/daughter.service | 7 +++++++ test/parent.slice | 5 +++++ test/son.service | 8 ++++++++ 3 files changed, 20 insertions(+) create mode 100644 test/daughter.service create mode 100644 test/parent.slice create mode 100644 test/son.service (limited to 'test') 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 -- cgit v1.2.3-54-g00ecf