TGViewer
Arch Linux Chinese Messages Arch Linux Chinese Messages @archlinuxcn · 11.2K subscribers
Post #267 15.8K
增加 vm.max_map_count 的默认值

系统参数 vm.max_map_count 的默认值将从 65530 增加到 1048576 。
这一变更应该能对一些内存需求较高的应用程序帮助改善性能,减少崩溃或者启动问题,尤其是(但不仅限于)通过 Wine/Steam Proton 玩一些 Windows 游戏的情况。总体上来说,用户应该得到更平滑的开箱使用体验,而目前没有已表明的潜在顾虑,参见 arch-dev-public 邮件列表上关于本提议的讨论。
这项对 vm.max_map_count 的修改将会增加到 2024.04.07-1 版本的 filesystem 包,并且将在更新后生效。
在更新系统前,如果你已经在 sysctl.d 文件中自己设置过这个参数,请要么删除它(来切换到新的默认值),要么确保你的配置文件会比 /usr/lib/sysctl.d/10-arch.conf 文件有更高的优先级(以覆盖新的默认值)。

https://www.archlinuxcn.org/increasing-the-default-vmmax_map_count-value/
Launchpad Comment #5 : Bug #2057792 : Bugs : linux package : Ubuntu For reference, here is the change for Fedora: https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount Here is a list of games presumably affected by this low value in vm_max_map_count as reported to Valve: THE FINALS https://github.com/ValveSoftwa…
  • 👍 78
  • 🥰 22
  • 👌 4
  • ❤ 2
More from @archlinuxcn
  1. Sep 22, 2026mkinitcpio >= 42 更新在基于TPM2解锁LUKS的设备上可能需要手动干预 从包版本 42-1 起,mkinitcpio 的 systemd 挂钩现在也包括了 sys…
  2. Sep 15, 2026linux-firmware-amdgpu 20260910-2 已修复前一个问题。
  3. Sep 13, 2026ddcutil 3.0.1-1 已修复后一个问题。
  4. Sep 13, 2026AMD 显卡用户谨慎升级 linux-firmware-amdgpu 20260910-1。有多位用户报告该版本固件导致了启动问题。 AMD 显卡的 KDE 用户谨慎升级 ddcu…
  5. Sep 5, 2026www.archlinuxcn.org 也已于夜里恢复服务。此次维护所有中断服务均已恢复。
  6. Sep 4, 2026wiki.archlinuxcn.org 、 forum.archlinuxcn.org 和邮件服务已经恢复。
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →