cgroups: Cache controller masks and optimize queues.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Daughter Service
|
||||
|
||||
[Service]
|
||||
Slice=parent.slice
|
||||
Type=oneshot
|
||||
ExecStart=/bin/true
|
||||
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Parent Slice
|
||||
|
||||
[Slice]
|
||||
BlockIOWeight=200
|
||||
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Son Service
|
||||
|
||||
[Service]
|
||||
Slice=parent.slice
|
||||
Type=oneshot
|
||||
ExecStart=/bin/true
|
||||
CPUShares=100
|
||||
Reference in New Issue
Block a user