Just as an FYI I just tried this out on my Ubuntu 22.04 system (I disabled systemd-oomd quite a while ago since I didn't care to have it killing off VirtualBox for me; currently running 6.2.0-36-generic Ubuntu kernel.) I did not set a min_ttl_ms either since, again, I want good swap management, not a "relief value" killing processes as I load it up.
So... things with lru_gen run GREAT... up to a point. I'm running 8GB of VirtualBox VMs on a 16GB system to provide "a bit" of memory pressure. Everything ran great for a while; then the clock stopped, then top, the window manager became unresponsive (the copy of mpv I had playing a video kept running great though!) The browser became unusable pretty quickly. I even got some ~5-30 second full desktop freezes as I suppose Xorg got swapped out. Then eventually (without closing anything down, partially because my console became unresponsive).. it'd get everything it needed back in RAM and things would run fine again for a while. Under this memory load with conventional lru_gen off, you get a small amount of "jank" switching from one task to the next but nothing becomes unresponsive for long.
In other words, lru_gen ran noticeably better under light to moderate loads, then totally went to pieces under heavier load.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just as an FYI I just tried this out on my Ubuntu 22.04 system (I disabled systemd-oomd quite a while ago since I didn't care to have it killing off VirtualBox for me; currently running 6.2.0-36-generic Ubuntu kernel.) I did not set a min_ttl_ms either since, again, I want good swap management, not a "relief value" killing processes as I load it up.
So... things with lru_gen run GREAT... up to a point. I'm running 8GB of VirtualBox VMs on a 16GB system to provide "a bit" of memory pressure. Everything ran great for a while; then the clock stopped, then top, the window manager became unresponsive (the copy of mpv I had playing a video kept running great though!) The browser became unusable pretty quickly. I even got some ~5-30 second full desktop freezes as I suppose Xorg got swapped out. Then eventually (without closing anything down, partially because my console became unresponsive).. it'd get everything it needed back in RAM and things would run fine again for a while. Under this memory load with conventional lru_gen off, you get a small amount of "jank" switching from one task to the next but nothing becomes unresponsive for long.
In other words, lru_gen ran noticeably better under light to moderate loads, then totally went to pieces under heavier load.