[skip ci] small note
This commit is contained in:
parent
9993ed52a7
commit
df27e80f4a
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ in {
|
|||
imports = [ inputs.mc.nixosModules.minecraft-servers ];
|
||||
nixpkgs.overlays = [ inputs.mc.overlay ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
powerManagement.cpuFreqGovernor = "powersave"; # performance governor causes overheating and thermal throttling, works fine with powesave
|
||||
boot.kernel.sysctl = {
|
||||
"vm.nr_hugepages" = (ram-allocation-mb / 2) + 512; # (heap_mb / 2MB per page) + 512 pages (1GB) for ZGC off-heap overhead
|
||||
"vm.swappiness" = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue