mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Nix] increase daemon CPU Quota
This commit is contained in:
parent
30d16ce34d
commit
1312b582aa
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ in
|
||||||
Nice = 19;
|
Nice = 19;
|
||||||
CPUSchedulingPolicy = mkForce "batch";
|
CPUSchedulingPolicy = mkForce "batch";
|
||||||
CPUWeight = 1;
|
CPUWeight = 1;
|
||||||
CPUQuota = (toString (generalCfg.cpu.threads * 80)) + "%";
|
CPUQuota = (toString (generalCfg.cpu.threads * 90)) + "%";
|
||||||
IOSchedulingClass = mkForce "idle";
|
IOSchedulingClass = mkForce "idle";
|
||||||
IOAccounting = true;
|
IOAccounting = true;
|
||||||
IOWeight = 1;
|
IOWeight = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue