Frontear / dotfiles

Configurations that power my NixOS systems
2 stars 0 forks source link

Regression regarding OOM behaviour #12

Closed Frontear closed 2 weeks ago

Frontear commented 2 weeks ago

This could have been due to a kernel update, or due to me missing some configuration for my zram, however as of the most recent commit f544d0e (and earlier), nix-index will always fail as a result of invoking the oom-killer. nixpkgs-review will also fail when attempting to run on a staging pr. Both have never failed at evaluation before, so this marks a pretty serious regression in terms of nix usability.

Frontear commented 2 weeks ago

Rolling back to the current LTS release (Linux 6.6) and Linux 6.9 no longer causes this issue. It seems that the kernel has made some rather interesting changes to swapping behaviours since.

I scoured through some kernel changelogs to determine what may be possible causes. Has the time come to compile my own kernel?

Linux 6.11 https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-everything&id=49003d83c7dabf67036c4523d9907b16fde9cb24

Linux 6.10 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34efe1c3b688944d9817a5faaab7aad870182c59

Linux 6.9 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e02ca29a5634dfb90fe1bad9467ee0965a1e170 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=db946a42226052a13fbce8757ff77b3107dd2030

Linux 6.8 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a7a0350583ba51d8cde6180bb51d704b89a3b29e