<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:DontUseAdvancedTypographyReadingMail/>
<w:DontUseJustificationAdvancedTypographyReadingMail/>
<w:DontUseHyphenationAdvancedTypographyReadingMail/>
</w:WordDocument>
</xml><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:"Segoe UI Emoji";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">Not sure if this is too trivial for this group\u2026 but as a performance person on AIX I generally look to see how often is the sweeping hand coming by and how much RAM is it actually
 collecting\u2026<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">On Linux you want to watch with something like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">watch -n1 'grep -E &quot;pgfree|pgsteal|pgscan|nr_free_pages&quot; /proc/vmstat'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">To find out how much pressure your server is under you want to look to see how many page scans are being performed (is counter incrementing quickly)\u2026 that means the system WANTS
 memory, versus how large are the &nbsp;page steals how much memory did it get\u2026<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">Typically, you\u2019d divide the steals by the scans to come up with a pressure ratio.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">If your server is using ALL of its RAM say for cache hits etc, that can be efficient, so long as the ratio is low to how much RAM it demands and how often is it trying to get
 free memory.&nbsp; If memory is just lazily being occupied the inactive page count will be high, and as soon as a scan demands memory it will free a TON of memory.&nbsp; But if the memory is marked active, and the scan demands memory it won\u2019t be able to free memory,
 so you\u2019ll end up with many scans and much smaller freed memory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif">Hope that helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Aptos&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> gpfsug-discuss &lt;gpfsug-discuss-bounces@gpfsug.org&gt;
<b>On Behalf Of </b>Jonathan Buzzard<br>
<b>Sent:</b> Monday, February 16, 2026 8:35 AM<br>
<b>To:</b> gpfsug-discuss@gpfsug.org<br>
<b>Subject:</b> Re: [gpfsug-discuss] swapped_warn event<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white"><o:p></o:p></span></p>
</div>
<pre style="white-space:pre-wrap"><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">On 16/02/2026 11:43, Jan-Frode Myklebust wrote:<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; It seems like someone thinks that linux servers should never use any<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; swap. This swapped_warn triggers if you've used more than 50 MB of<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; swap space.&nbsp; I find this silly..<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">That's a polite way of putting it.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">Anecdotally, if memory starts to get tight Linux will preventatively <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">push pages to swap &quot;just in case&quot;, and might never actually use it. <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">Consequently having a warning if more than 50MB of swap space is used is <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">as useful as a chocolate teapot.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">If you are going to warn about swap being used, then it needs to be <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">because the kernel was actually shuffling memory between disk and RAM <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">not because it pushed some pages to disk just in case.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">On an HPC system where the compute nodes are frequently near maximum RAM <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">usage all I unsurprisingly have a load of spurious warnings.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; You can tune it using something like &quot;mmchconfig<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; mmhealth-gpfs-swap_alert_threshold_kb=2000000 --force&quot;, but I wouldn't<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; want to pollute my config with such settings.. Maybe just disable it<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; using &quot;mmhealth event hide swapped_warn&quot;.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">&gt; <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">I am debating having a script automatically run &quot;swapoff -a ; swapon -a&quot; <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">on the nodes if these warnings are seen :-)<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">JAB.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">-- <o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">Jonathan A. Buzzard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel: +44141-5483420<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">HPC System Administrator, ARCHIE-WeSt.<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">University of Strathclyde, John Anderson Building, Glasgow. G4 0NG<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">_______________________________________________<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">gpfsug-discuss mailing list<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif">gpfsug-discuss at gpfsug.org<o:p></o:p></span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="https://urldefense.com/v3/__http:/gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!F9svGWnIaVPGSwU!o15h3llP_t-xAwde_PAYRCF1VYCK7qhlPXsK1TCZNCjGQSiX71ae4hsr_lQQzfzDbWX_iltIVIDP05jTcSf95e2pUMfriO6pIymIMw$">https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org__;!!F9svGWnIaVPGSwU!o15h3llP_t-xAwde_PAYRCF1VYCK7qhlPXsK1TCZNCjGQSiX71ae4hsr_lQQzfzDbWX_iltIVIDP05jTcSf95e2pUMfriO6pIymIMw$</a><o:p></o:p></span></pre>
</div>
</body>
</html>