<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >As you have learned there is no simple formula for setting the maxStatToCache, or for that matter the maxFilesToCache, configuration values.&nbsp; Memory is certainly one consideration but another is directory listing operations.&nbsp; The information kept in the stat cache is sufficient for fulfilling directory listings.&nbsp; If your users are doing directory listings regularly then a larger stat cache could be helpful.&nbsp;</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><br><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:1.143em;" >Fred<br>__________________________________________________<br>Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>stockf@us.ibm.com</span></font></div></div></div>
<div dir="ltr" >&nbsp;</div>
<div dir="ltr" >&nbsp;</div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Philipp Grau &lt;phgrau@zedat.fu-berlin.de&gt;<br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list &lt;gpfsug-discuss@spectrumscale.org&gt;<br>Cc:<br>Subject: [EXTERNAL] [gpfsug-discuss] maxStatCache and maxFilesToCache: Tip "gpfs_maxstatcache_low".<br>Date: Fri, Mar 13, 2020 8:49 AM<br>&nbsp;
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >Hello,<br><br>we have a two node NSD cluster based on a DDN system. &nbsp;Currently we<br>run Spectrum Scale 5.0.4.1 in an HPC environment.<br><br>Mmhealth shows a tip stating "gpfs_maxstatcache_low". Our current settings are:<br><br># mmdiag --config | grep -i cache<br>&nbsp;! maxFilesToCache 3000000<br>&nbsp;&nbsp; &nbsp;maxStatCache 10000<br><br>maxFilesToCache was tuned during installion and maxStatCache is the<br>according default value.<br><br>After discussing this issue on the german spectumscale meeting, I<br>understand that it is difficult to give a formula on howto calulate<br>this values.<br><br>But I learnt that a FilesToCache entry costs about 10 kbytes of memory<br>and a StatCache entry about 500 bytes. And typically maxStatCache<br>should (obviously) be greater than maxFilesToCache. There is a average<br>100 GB memory usage on our systems (with a total of 265 GB RAM).<br><br>So setting maxStatCache to at least 3000000 should be no problem. But<br>is that correct or to high/low?<br><br>Has anyone some hints or thoughts on this topic? Help is welcome.<br><br>Regards,<br><br>Philipp<br><br>--<br>&nbsp;Philipp Grau &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Freie Universitaet Berlin &nbsp;<br>&nbsp;phgrau@ZEDAT.FU-Berlin.DE &nbsp;| Zentraleinrichtung fuer Datenverarbeitung<br>&nbsp;Tel: +49 (30) 838 56583 &nbsp; &nbsp;| Fabeckstr. 32 &nbsp;<br>&nbsp;Fax: +49 (30) 838 56721 &nbsp; &nbsp;| 14195 Berlin &nbsp;<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>&nbsp;</font><br>&nbsp;</div></blockquote>
<div dir="ltr" >&nbsp;</div></div><BR>