<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Red Hat RHEL 8 Release Swappiness Algorithm Setting Requires Change in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Red-Hat-RHEL-8-Release-Swappiness-Algorithm-Setting-Requires/m-p/921008#M28246</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Reference Name&lt;/STRONG&gt;: Red Hat RHEL 8 Swappiness Algorithm Setting Requires&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Severity&lt;/STRONG&gt;: High&lt;BR /&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;: Changes affect all RHEL 8 Release Versions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Impact&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;RHEL 8 host systems can experience swap space usage, even though swap behavior is very low and there is plenty of memory.&amp;nbsp; This significantly slows application behavior, pushing in-memory activity to swap space on device (RHEL Swap Space on disk/flash storage).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Description&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Numerous virtual memory management changes were made between RHEL 7 and RHEL 8 to account for much faster storage subsystem interaction with virtual memory operations.&amp;nbsp; One of these changes involved the RHEL 8 Swappiness Algorithm.&amp;nbsp; The Swappiness setting in the algorithm was changed, and requires resetting back to the RHEL 7 default value.&amp;nbsp; NOTE:&amp;nbsp; RHEL 9 Swappiness Algorithm was reverted to the RHEL 7 default tuning values, and does not require this fix. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Solution&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Please carefully review the following Red Hat Solutions notes to change the Swappiness Algorithm settings to an appropriate configuration to SAS.&amp;nbsp; The first link discusses the difference in behavior between RHEL 7 and RHEL 8.&amp;nbsp; The second link shows several ways to return to RHEL 7 Swappiness.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Swappiness Algorithm – General Setting - &lt;A href="https://access.redhat.com/solutions/7042476" target="_blank"&gt;Change in swap behavior between RHEL 7 and RHEL 8 kernels - Red Hat Customer Portal&lt;/A&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Swappiness Algorithm - &amp;nbsp;Cgroups Settings &lt;A href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccess.redhat.com%2Fsolutions%2F6785021&amp;amp;data=05%7C02%7Ctony.brown%40sas.com%7C5cc132271ef541df2aaa08dc1e912c11%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C638418856767345217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=0%2F67RMV7RU6j1wQ2yNRBDpAaSZM2ettgjS95fzDiTIw%3D&amp;amp;reserved=0" target="_blank"&gt;https://access.redhat.com/solutions/6785021&lt;/A&gt; &lt;A href="https://access.redhat.com/solutions/6785021" target="_blank"&gt;Premature swapping while there is still plenty of pagecache to be reclaimed - Red Hat Customer Portal&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For RHEL 8 we suggest using the &lt;EM&gt;vm.force_cgroup_v2_swappiness&lt;/EM&gt; feature&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# echo "vm.force_cgroup_v2_swappiness=1" &amp;gt;&amp;gt; /etc/sysctl.d/99-sysctl.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# sysctl -p /etc/sysctl.d/99-sysctl.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tuned config file for throughput-performance already sets vm.swappiness to 10.&amp;nbsp; Tuned profile virtual-guest inherits throughput-performance.&amp;nbsp; These are the profiles recommended for SAS environments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have questions or require any assistance with this topic, please contact your SAS Technical Support Representative.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 20:03:14 GMT</pubDate>
    <dc:creator>MargaretC</dc:creator>
    <dc:date>2024-03-19T20:03:14Z</dc:date>
    <item>
      <title>Red Hat RHEL 8 Release Swappiness Algorithm Setting Requires Change</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Red-Hat-RHEL-8-Release-Swappiness-Algorithm-Setting-Requires/m-p/921008#M28246</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Reference Name&lt;/STRONG&gt;: Red Hat RHEL 8 Swappiness Algorithm Setting Requires&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Severity&lt;/STRONG&gt;: High&lt;BR /&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;: Changes affect all RHEL 8 Release Versions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Impact&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;RHEL 8 host systems can experience swap space usage, even though swap behavior is very low and there is plenty of memory.&amp;nbsp; This significantly slows application behavior, pushing in-memory activity to swap space on device (RHEL Swap Space on disk/flash storage).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Description&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Numerous virtual memory management changes were made between RHEL 7 and RHEL 8 to account for much faster storage subsystem interaction with virtual memory operations.&amp;nbsp; One of these changes involved the RHEL 8 Swappiness Algorithm.&amp;nbsp; The Swappiness setting in the algorithm was changed, and requires resetting back to the RHEL 7 default value.&amp;nbsp; NOTE:&amp;nbsp; RHEL 9 Swappiness Algorithm was reverted to the RHEL 7 default tuning values, and does not require this fix. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Solution&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Please carefully review the following Red Hat Solutions notes to change the Swappiness Algorithm settings to an appropriate configuration to SAS.&amp;nbsp; The first link discusses the difference in behavior between RHEL 7 and RHEL 8.&amp;nbsp; The second link shows several ways to return to RHEL 7 Swappiness.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Swappiness Algorithm – General Setting - &lt;A href="https://access.redhat.com/solutions/7042476" target="_blank"&gt;Change in swap behavior between RHEL 7 and RHEL 8 kernels - Red Hat Customer Portal&lt;/A&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Swappiness Algorithm - &amp;nbsp;Cgroups Settings &lt;A href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccess.redhat.com%2Fsolutions%2F6785021&amp;amp;data=05%7C02%7Ctony.brown%40sas.com%7C5cc132271ef541df2aaa08dc1e912c11%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C638418856767345217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=0%2F67RMV7RU6j1wQ2yNRBDpAaSZM2ettgjS95fzDiTIw%3D&amp;amp;reserved=0" target="_blank"&gt;https://access.redhat.com/solutions/6785021&lt;/A&gt; &lt;A href="https://access.redhat.com/solutions/6785021" target="_blank"&gt;Premature swapping while there is still plenty of pagecache to be reclaimed - Red Hat Customer Portal&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For RHEL 8 we suggest using the &lt;EM&gt;vm.force_cgroup_v2_swappiness&lt;/EM&gt; feature&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# echo "vm.force_cgroup_v2_swappiness=1" &amp;gt;&amp;gt; /etc/sysctl.d/99-sysctl.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# sysctl -p /etc/sysctl.d/99-sysctl.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tuned config file for throughput-performance already sets vm.swappiness to 10.&amp;nbsp; Tuned profile virtual-guest inherits throughput-performance.&amp;nbsp; These are the profiles recommended for SAS environments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have questions or require any assistance with this topic, please contact your SAS Technical Support Representative.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Red-Hat-RHEL-8-Release-Swappiness-Algorithm-Setting-Requires/m-p/921008#M28246</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2024-03-19T20:03:14Z</dc:date>
    </item>
  </channel>
</rss>

