<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>48094</bug_id>
          
          <creation_ts>2023-10-20 14:59:52 +0300</creation_ts>
          <short_desc>Increase vm.max_map_count</short_desc>
          <delta_ts>2024-03-06 09:55:26 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>systemd</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>46625</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arbars</cc>
    
    <cc>arseny</cc>
    
    <cc>lav</cc>
    
    <cc>luckenty</cc>
    
    <cc>necydax</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>235282</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-10-20 14:59:52 +0300</bug_when>
    <thetext>https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/10-map-count.conf
Раз в федоре есть по умолчанию, то и нам надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236720</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-11-09 09:31:39 +0300</bug_when>
    <thetext>Ку-ку!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242241</commentid>
    <comment_count>2</comment_count>
    <who name="necydax">necydax</who>
    <bug_when>2024-02-27 21:15:15 +0300</bug_when>
    <thetext>В некоторых случаях, для игр необходимо выделять память &quot;больше раз&quot;, чем обычным приложениям из-за особенностей работы игровых движков. Т.е. речь тут идет не про объем выделяемой памяти, а о количестве выделений памяти.
Вот и получается, что для приложений, которые работают с большими объемами данных, этот параметр просто критически важен.
vm.max_map_count=1048576
В моей практике, увеличение этого параметра до указанного значения, помогло избавиться от &quot;стабильных&quot; вылетов на экранах загрузки некоторых игр.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242242</commentid>
    <comment_count>3</comment_count>
    <who name="Дмитрий">luckenty</who>
    <bug_when>2024-02-27 21:39:13 +0300</bug_when>
    <thetext>Лично убедился в том, что изменение значения помогает в играх.
Играл в Hogwarts Legacy на ALT Regular Gnome и игра во время загрузок уровней очень часто вылетала. После изменения стандартного значения на 1048576 вылеты прекратились.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242616</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-03-06 00:25:11 +0300</bug_when>
    <thetext>systemd-1:254.10-alt1 -&gt; sisyphus:

 Tue Mar 05 2024 Alexey Shabalin &lt;shaba@altlinux&gt; 1:254.10-alt1
 - 254.10
 - Increase vm.max_map_count (ALT#48094)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242621</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-03-06 09:35:45 +0300</bug_when>
    <thetext>Уря!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242625</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2024-03-06 09:55:26 +0300</bug_when>
    <thetext>В p10 ещё притащите это изменение, пожалуйста. Тоже мучался.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>