Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming
Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming

Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming

Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming
Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming
What I always wonder with things like this, what is the downside? There must be a reason why that value was set lower.
Hastily read around in the related issue-threads and seems like on it's own the vm.max_map_count doesn't do much... as long as apps behave. It's some sort of "guard rail" which prevents processes of getting too many "maps". Still kinda unclear what these maps are and what happens is a process gets to have excessive amounts.
That said: https://access.redhat.com/solutions/99913
So, on the risk of higher memory usage, application can go wroom-wroom? That's my takeaway from this.
edit: ofc. I pasted the wrong link first. derrr.
edit: Suse's documentation has some info about the effects of this setting: https://www.suse.com/support/kb/doc/?id=000016692
Just checked and the steam deck has it set to 2147483642. My gentoo systems are 65530.
no, it'll go vroom-vroom
My read is that it matters for servers where a large number of allocations could indicate a bug/denial of service, so it's better to crash the process.
That's not relevant on a gaming system, since you want one process to be able to use all the resources.
It changed it for playing "the finals" some weeks ago to fix a crash. I havent had any issues with my system since then so it really might just be some value that never changed because nothing needed it.