mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
I think this solves my io bottlenecks
This commit is contained in:
parent
e5260a945e
commit
67b25353ea
1 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,13 @@
|
|||
wantedBy = [ "suspend.target" ];
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"vm.swappiness" = 90;
|
||||
"vm.vfs_cache_pressure" = 50;
|
||||
"vm.dirty_background_ratio" = 2;
|
||||
"vm.dirty_ratio" = 5;
|
||||
};
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "weekly";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue