Adopt virtual memory settings from Steam

Is this something that could be done by us?

3 Likes

The default on Garuda is low by the way. (no performance tweaks enabled)

$ sysctl vm.max_map_count                                             
vm.max_map_count = 65530
4 Likes

Yeah, thats the default

While I don't own any of the games in the small list at Changes/IncreaseVmMaxMapCount - Fedora Project Wiki , I've run some tests to check for any regressions.
The best test I could give it was running Warframe, with its experimental DX12 setting.... on a Nvidia card. Didn't notice any regressions... (just the typical bugs Warframe has currently because of its big update).

I have now set vm.max_map_count=2147483642 in a conf file in /etc/sysctl.d/ and it now sticks just fine after a reboot:

λ sysctl vm.max_map_count
vm.max_map_count = 2147483642

(I've named the file 90-override.conf like in the video, although I opted not to change any other settings)

I'll be running more tests, including a different machine I have just upgraded the graphical hardware in not long ago (huge AMD card this time :laughing:)

1 Like