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