logoalt Hacker News

baqyesterday at 7:17 PM4 repliesview on HN

I low key hope the current DDR5 prices push them to drag the Linux memory and swap management into the 21st century, too, because hard locking on low memory got old a while ago


Replies

the_pwner224yesterday at 8:48 PM

It takes a solid 45 seconds for me to enable zram (compressed RAM as swap) on a fresh Arch install. I know that doesn't solve the issue for 99% of people who don't even know what zram is / have no idea how to do it / are trying to do it for the first time, but it would be pretty easy for someone to enable that in a distro. I wouldn't be shocked if it is already enabled by default in Ubuntu or Fedora.

show 3 replies
aheppyesterday at 9:08 PM

what behavior would you like to see when primary memory is under extreme pressure?

show 2 replies
marcodiegotoday at 2:35 AM

I thought that was fixed after MGLRU.

stdbrouwyesterday at 8:10 PM

I feel like all of the elements are there: zram, zswap, various packages that improve on default oom handling... maybe it's more about creating sane defaults that "just work" at this point?

show 1 reply