Announcement

Collapse
No announcement yet.

Fedora 39 Looks To Boost vm.max_map_count To Help Windows Games With Steam Play

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fedora 39 Looks To Boost vm.max_map_count To Help Windows Games With Steam Play

    Phoronix: Fedora 39 Looks To Boost vm.max_map_count To Help Windows Games With Steam Play

    Fedora 39 this autumn is looking at boosting its vm.max_map_count default to better match the behavior of SteamOS / Steam Deck and allowing more Windows games to run out-of-the-box with Steam Play...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I wonder if I'm an "interesting Linux gamer"

    Comment


    • #3
      Sure. 64k could be increased a bit.
      But I doubt that any game actually needs the limit raised to 2 BILLION+?

      Comment


      • #4
        Originally posted by milkylainen View Post
        Sure. 64k could be increased a bit.
        But I doubt that any game actually needs the limit raised to 2 BILLION+?
        In the kernel SRC linked it's mentioned that some old userspace tools might not be able to handle more than what fits in an unsigned 16 bit value. Hence the old limit. So if you're going beyond that limit you might as well bump it to the 32-bit limit. Yes, that amount of VMA's is unlikely to work well, but it might not be a good place to control resource usage either.

        Comment


        • #5
          To the stars and much much beyond! 💫 ✨

          Comment


          • #6
            This is great. I additionally want to thank Michael for including the tip at the end for how to do this manually.

            "Thankfully it's super easy adjusting the vm.max_map_count value anyhow, so interested Linux gamers running Fedora can easily do so with a command such as sudo sysctl -w vm.max_map_count=2147483642.​"


            EDIT: It appears the line above is only temporary. See the reply to my post for how to make this change permanent.
            Last edited by Mitch; 24 April 2023, 03:51 PM.

            Comment


            • #7
              Originally posted by Mitch View Post
              This is great. I additionally want to thank Michael for including the tip at the end for how to do this manually.

              "Thankfully it's super easy adjusting the vm.max_map_count value anyhow, so interested Linux gamers running Fedora can easily do so with a command such as sudo sysctl -w vm.max_map_count=2147483642.​"
              That is only good for testing, as it's temporary until you reboot. To persist the setting, you have to write it to a file, for example:

              Code:
              # /etc/sysctl.d/90-override.conf
              vm.max_map_count=2147483642

              Comment


              • #8

                Comment


                • #9
                  What on earth are those games doing that they need tens of thousands of separate mappings?

                  ​​​​​

                  Comment


                  • #10
                    Originally posted by Vorpal View Post
                    What on earth are those games doing that they need tens of thousands of separate mappings?

                    ​​​​​
                    Exactly. Does every malloc trigger this?

                    Comment

                    Working...
                    X