Remix.run Logo
nolist_policy 15 hours ago

Linux swap has been fixed on Chromebooks for years thanks to MGLRU. It's upstream since Linux 6.1 and you can try it with

  echo y >/sys/kernel/mm/lru_gen/enabled
tremon 14 hours ago | parent | next [-]

Documentation links:

https://docs.kernel.org/next/admin-guide/mm/multigen_lru.htm...

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

M95D 12 hours ago | parent | prev [-]

I had nothing but problems since that was introduced in 6.1. It seems that the kernel prefers to compact/defrag memory, repeatedly, each time freezing everything 1-2 seconds, rather than releasing some disk cache memory or swapping out.