Increasing the default vm.max_map_count value

2024-04-07 - Robin Candau

The vm.max_map_count paramater will be increased from the default 65530 value to 1048576.

This change should help address performance, crash or start-up issues for a number of memory intensive applications, particularly for (but not limited to) some Windows games played through Wine/Steam Proton. Overall, end users should have a smoother experience out of the box with no expressed concerns about potential downsides in the related proposal on arch-dev-public mailing list.

This vm.max_map_count increase is introduced in the 2024.04.07-1 release of the filesystem package and will be effective right after the upgrade.

Before upgrading, in case you are already setting your own value for that parameter in a sysctl.d configuration file, either remove it (to switch to the new default value) or make sure your configuration file will be read with a higher priority than the /usr/lib/sysctl.d/10-arch.conf file (to supersede the new default value).

  • RayJW@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    Pop!_OS, Fedora, and I think Ubuntu as well have already done this change long ago in this sequence. So no need to switch to Arch. Also, you can edit this manually, it’s just about changing the default.

    • RayOfSunlight@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      4
      ·
      3 months ago

      Not going with any.

      Ubuntu is Cannonical, and Cannonical doesn’t do good.

      Pop! OS it’s just not my jam, sorry about that, i don’t meet the requirements to try that distro on a virtual machine.