services/klipper: add CPUScheduling and IOScheduling tuning
This commit is contained in:
parent
1410d89398
commit
9ba8f7d8b3
|
@ -130,6 +130,10 @@ in
|
||||||
SupplementaryGroups = [ "dialout" ];
|
SupplementaryGroups = [ "dialout" ];
|
||||||
WorkingDirectory = "${cfg.package}/lib";
|
WorkingDirectory = "${cfg.package}/lib";
|
||||||
OOMScoreAdjust = "-999";
|
OOMScoreAdjust = "-999";
|
||||||
|
CPUSchedulingPolicy = "rr";
|
||||||
|
CPUSchedulingPriority = 99;
|
||||||
|
IOSchedulingClass = "realtime";
|
||||||
|
IOSchedulingPriority = 0;
|
||||||
} // (if cfg.user != null then {
|
} // (if cfg.user != null then {
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
|
|
Loading…
Reference in a new issue