dixie: slice submodule uses sliceConfig, not serviceConfig
This commit is contained in:
@@ -75,7 +75,7 @@ in
|
|||||||
# Launch dropsonde analysis under this slice with:
|
# Launch dropsonde analysis under this slice with:
|
||||||
# systemd-run --slice=analysis.slice --property=Slice=analysis.slice <cmd>
|
# systemd-run --slice=analysis.slice --property=Slice=analysis.slice <cmd>
|
||||||
systemd.slices.analysis = {
|
systemd.slices.analysis = {
|
||||||
serviceConfig = {
|
sliceConfig = {
|
||||||
CPUQuota = "600%";
|
CPUQuota = "600%";
|
||||||
MemoryMax = "40G";
|
MemoryMax = "40G";
|
||||||
Nice = 10;
|
Nice = 10;
|
||||||
@@ -88,7 +88,7 @@ in
|
|||||||
# card; analysis must not starve them. Default CPUWeight is 1000; 2000 gives
|
# card; analysis must not starve them. Default CPUWeight is 1000; 2000 gives
|
||||||
# it roughly double the fair-share. Wired into the llama-server service below.
|
# it roughly double the fair-share. Wired into the llama-server service below.
|
||||||
systemd.slices.llama = {
|
systemd.slices.llama = {
|
||||||
serviceConfig = {
|
sliceConfig = {
|
||||||
CPUWeight = 2000;
|
CPUWeight = 2000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user