summaryrefslogtreecommitdiffstats
path: root/systems/zu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-28 03:18:47 +0000
committertv <tv@krebsco.de>2026-11-28 04:37:23 +0100
commit91e1858fcb67ca94dcb244a89a041643da891407 (patch)
tree7e70f815d3e4521334303061a000f76dfd712193 /systems/zu
parent4c71a1fdc030447986a436e595a4e529f03a936c (diff)
zu: write dirty pages back less oftenHEADmaster
Diffstat (limited to 'systems/zu')
-rw-r--r--systems/zu/config.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/systems/zu/config.nix b/systems/zu/config.nix
index 4fdffe85..6d164748 100644
--- a/systems/zu/config.nix
+++ b/systems/zu/config.nix
@@ -79,6 +79,11 @@
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", DRIVERS=="logitech-hidpp-device", GROUP="plugdev", MODE="0660"
'';
+ # powertop: VM writeback timeout
+ system.activationScripts.vm-writeback-timeout = ''
+ echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
+ '';
+
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "15.09";