<font size=2 face="sans-serif">Hi,</font><br><br><font size=2 face="sans-serif">Just remember to take into account the
token memory aspect of the chosen values, especially for large clusters
( check </font><a href="https://www.spectrumscaleug.org/wp-content/uploads/2019/05/SSSD19DE-Day-2-B04-Spectrum-Scale-Memory-Usage.pdf"><font size=3 color=blue><u>https://www.spectrumscaleug.org/wp-content/uploads/2019/05/SSSD19DE-Day-2-B04-Spectrum-Scale-Memory-Usage.pdf</u></font></a><font size=3></font><font size=2 face="sans-serif">&nbsp;for more details).</font><br><br><font size=2 face="sans-serif"><br>Regards,<br><br>Tomer Perry<br><br></font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Philipp Grau &lt;phgrau@zedat.fu-berlin.de&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">gpfsug main discussion
list &lt;gpfsug-discuss@spectrumscale.org&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">14/03/2020 15:12</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[EXTERNAL] Re:
[gpfsug-discuss] maxStatCache and maxFilesToCache: Tip&quot;gpfs_maxstatcache_low&quot;.</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><tt><font size=2>Hello all,<br><br>thank you all a lot for the feedback to my question. I think that I now<br>understand the situation better. I will talk with my coworkers and we<br>will find a better setting for the values...<br><br>Many thanks,<br><br>Philipp<br><br>* Felipe Knop &lt;knop@us.ibm.com&gt; [13.03.20 16:22]:<br>&gt; All,<br>&gt; &nbsp;<br>&gt; Looks to me that the demands of the workload will dictate how many
files we<br>&gt; should be cache, that is: maxStatCache + maxFilesToCache .<br>&gt; &nbsp;<br>&gt; The &quot;mix&quot; between maxStatCache and maxFilesToCache depends
on how much memory<br>&gt; can be made available. Accessing files from maxFilesToCache is more
efficient,<br>&gt; but stat cache entries use much less space.<br>&gt; &nbsp;<br>&gt; With the<br>&gt; &nbsp;<br>&gt; &nbsp;! maxFilesToCache 3000000<br>&gt; &nbsp; &nbsp; maxStatCache 10000<br>&gt; &nbsp;<br>&gt; combination, the stat cache is not providing any significant help,
since only<br>&gt; 0.3% of the files that are cached can fit in the stat cache. If enough
memory<br>&gt; is available then maxStatCache could be increased to (say) 3000000,
at a cost<br>&gt; of 1.4GB. &nbsp;But maxFilesToCache = 3000000 uses up to 27GB. The
next questions<br>&gt; are then<br>&gt; &nbsp;<br>&gt; 1) Can such memory become available on the node, given the pagepool
size ?<br>&gt; &nbsp;<br>&gt; 2) Does the workload require caching that many files?<br>&gt; &nbsp;<br>&gt; &nbsp;<br>&gt; &nbsp; Felipe<br>&gt; &nbsp;<br>&gt; ----<br>&gt; Felipe Knop knop@us.ibm.com<br>&gt; GPFS Development and Security<br>&gt; IBM Systems<br>&gt; IBM Building 008<br>&gt; 2455 South Rd, Poughkeepsie, NY 12601<br>&gt; (845) 433-9314 T/L 293-9314<br>&gt; &nbsp;<br>&gt; &nbsp;<br>&gt; &nbsp;<br>&gt; <br>&gt; &nbsp; &nbsp; ----- Original message -----<br>&gt; &nbsp; &nbsp; From: &quot;Frederick Stock&quot; &lt;stockf@us.ibm.com&gt;<br>&gt; &nbsp; &nbsp; Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>&gt; &nbsp; &nbsp; To: gpfsug-discuss@spectrumscale.org<br>&gt; &nbsp; &nbsp; Cc: gpfsug-discuss@spectrumscale.org<br>&gt; &nbsp; &nbsp; Subject: [EXTERNAL] Re: [gpfsug-discuss] maxStatCache
and maxFilesToCache:<br>&gt; &nbsp; &nbsp; Tip&quot;gpfs_maxstatcache_low&quot;.<br>&gt; &nbsp; &nbsp; Date: Fri, Mar 13, 2020 10:01 AM<br>&gt; &nbsp; &nbsp; &nbsp;<br>&gt; &nbsp; &nbsp; As you have learned there is no simple formula for setting
the<br>&gt; &nbsp; &nbsp; maxStatToCache, or for that matter the maxFilesToCache,
configuration<br>&gt; &nbsp; &nbsp; values. &nbsp;Memory is certainly one consideration
but another is directory<br>&gt; &nbsp; &nbsp; listing operations. &nbsp;The information kept in the
stat cache is sufficient<br>&gt; &nbsp; &nbsp; for fulfilling directory listings. &nbsp;If your users
are doing directory<br>&gt; &nbsp; &nbsp; listings regularly then a larger stat cache could be
helpful. <br>&gt; <br>&gt; &nbsp; &nbsp; Fred<br>&gt; &nbsp; &nbsp; __________________________________________________<br>&gt; &nbsp; &nbsp; Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>&gt; &nbsp; &nbsp; stockf@us.ibm.com<br>&gt; &nbsp; &nbsp; &nbsp;<br>&gt; &nbsp; &nbsp; &nbsp;<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; ----- Original message -----<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; From: Philipp Grau &lt;phgrau@zedat.fu-berlin.de&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; To: gpfsug main discussion list &lt;gpfsug-discuss@spectrumscale.org&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Cc:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Subject: [EXTERNAL] [gpfsug-discuss] maxStatCache
and maxFilesToCache:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Tip &quot;gpfs_maxstatcache_low&quot;.<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Date: Fri, Mar 13, 2020 8:49 AM<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Hello,<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; we have a two node NSD cluster based on
a DDN system. &nbsp;Currently we<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; run Spectrum Scale 5.0.4.1 in an HPC environment.<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Mmhealth shows a tip stating &quot;gpfs_maxstatcache_low&quot;.
Our current<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; settings are:<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; # mmdiag --config | grep -i cache<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! maxFilesToCache 3000000<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; maxStatCache 10000<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; maxFilesToCache was tuned during installion
and maxStatCache is the<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; according default value.<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; After discussing this issue on the german
spectumscale meeting, I<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; understand that it is difficult to give
a formula on howto calulate<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; this values.<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; But I learnt that a FilesToCache entry
costs about 10 kbytes of memory<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; and a StatCache entry about 500 bytes.
And typically maxStatCache<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; should (obviously) be greater than maxFilesToCache.
There is a average<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; 100 GB memory usage on our systems (with
a total of 265 GB RAM).<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; So setting maxStatCache to at least 3000000
should be no problem. But<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; is that correct or to high/low?<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Has anyone some hints or thoughts on this
topic? Help is welcome.<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br>&gt; <br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Philipp<br>&gt; <br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br><br></font></tt><br><br><BR>