mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
chore(disko): grow swapfile from 20G to 96G
Running strata with qwen3.8-flash-next keeps ~53G of model weights resident, leaving little RAM for the desktop side and pushing ~13G of anonymous pages into the 20G swapfile. With swap that full, a burst risks OOM-killing processes. Disk space is not a constraint (1.9T btrfs, ~1.4T free), so grow the swapfile to the classic 1x-RAM size. Keep zram off and zswap at 10%: zram's compressed pool would steal page cache that the mmap'd weights rely on.
This commit is contained in:
1 parent
54aacd12d5
commit
a26ab3be63
1 file changed
+1
-1
@@ -108,7 +108,7 @@
|
||||
# Swap subvolume read-only; disko creates swapfile and adds swapDevices
|
||||
"@swap" = {
|
||||
mountpoint = "/swap";
|
||||
swap.swapfile.size = "20G";
|
||||
swap.swapfile.size = "96G";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user