F39 proposal: Increase vm.max_map_count value (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount

This document represents a proposed Change. As part of the Changes
process, proposals are publicly announced in order to receive
community feedback. This proposal will only be implemented if approved
by the Fedora Engineering Steering Committee.

== Summary ==
This change aims at increasing the default value of the
`vm.max_map_count` sysctl

== Owner ==
* Name: [[User:aleasto| Alessandro Astone]]
* Email: ales.astone@xxxxxxxxx


== Detailed Description ==
Increase the vm.max_map_count sysctl default value.

The goal is to improve compatibility with Windows games through wine
or steam. Read on "Benefit to Fedora" for examples.

Steam Deck is shipping with a default of `2147483642` (MAX_INT - 5) up
from `65530` of Fedora; it makes sense to follow their lead and set
the same value.

== Feedback ==
<!-- Summarize the feedback from the community and address why you
chose not to accept proposed alternatives. This section is optional
for all change proposals but is strongly suggested. Incorporating
feedback here as it is raised gives FESCo a clearer view of your
proposal and leaves a good record for the future. If you get no
feedback, that is useful to note in this section as well. For
innovative or possibly controversial ideas, consider collecting
feedback before you file the change proposal. -->
This was briefly discussed in #fedora-devel and received positively.
Concerns over possible downsides were raised. I am not aware of any,
but more input here is desired.

== Benefit to Fedora ==
The following Windows games will work out of the box (through wine or steam):
* DayZ: https://steamcommunity.com/app/221100/discussions/0/3199241400256965913/
* Hogwarts Legacy: https://github.com/ValveSoftware/Proton/issues/6510
* Counter Strike 2 (Beta Windows build):
https://www.youtube.com/watch?v=i02n_Ak98TA
* Any other software that might be invoking a lot of mmaps

== Scope ==
* Proposal owners: Add the new default to `/usr/lib/sysctl.d/`

* Other developers: No work will be necessary unless the new default
is found breaking some software

* Release engineering: N/A (not needed for this Change)

* Policies and guidelines: N/A (not needed for this Change)

* Trademark approval: N/A (not needed for this Change)

* Alignment with Community Initiatives: N/A

== Upgrade/compatibility impact ==
Upgrading to the new Fedora release will seamlessly update the
default. No manual intervention is necessary.

== How To Test ==
Temporarily set the new value with `sudo sysctl -w vm.max_map_count=2147483642`

Run any of the software listed above to verify that it now works.

Or run any other software to verify the change causes no regression.


== User Experience ==
More Windows games will work out-of-the-box (through wine or steam)

== Dependencies ==
None


== Contingency Plan ==
* Contingency mechanism: Revert the shipped configuration
* Contingency deadline: Final Freeze
* Blocks release? No


== Documentation ==
The default value is currently hard-coded in the kernel, at
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v6.2.12#n203
.
It cannot be changed through the kernel defconfig, instead it must be
set through sysctl.

== Release Notes ==
The default value of the vm.max_map_count sysctl is increased


-- 
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux