<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >Assuming your metadata storage is not already at its limit of throughput you may get improved performance by temporarily increasing the value of maxBackgroundDeletionThreads.&nbsp; You can check its current value with "mmlsconfig maxBackgroundDeletionThreads" and change it with the command "mmchconfig maxBackgroundDeletionThreads=N -I".&nbsp; Once the removal process is complete you can reset the value back to its previous value.</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><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 | Spectrum Scale Development Advocacy | 720-430-8821<br>stockf@us.ibm.com</span></font></div></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: Ulrich Sibiller &lt;u.sibiller@science-computing.de&gt;<br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug-discuss@spectrumscale.org<br>Cc:<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] Quick delete of huge tree<br>Date: Tue, Apr 20, 2021 8:10 AM<br>&nbsp;
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >On 4/20/21 1:52 PM, Jan-Frode Myklebust wrote:<br>&gt; A couple of ideas.<br>&gt;<br>&gt; The KC recommends adding WEIGHT(DIRECTORY_HASH) to group&nbsp;deletions within a directory. Then maybe &gt; also do it as a 2-step process, in the same policy run. Where you delete all non-directories first,<br>&gt; and then deletes the directories in a depth-first order using WEIGTH(Length(PATH_NAME)):<br>&gt;<br>&gt;<br>&gt; RULE 'delnondir' DELETE<br>&gt; WEIGHT(DIRECTORY_HASH)<br>&gt; &nbsp;&nbsp; &nbsp; &nbsp;DIRECTORIES_PLUS<br>&gt; &nbsp;&nbsp; &nbsp; &nbsp;WHERE PATH_NAME LIKE '/mypath/%' AND NOT MISC_ATTRIBUTES LIKE '%D%'<br>&gt;<br>&gt; RULE 'deldir' DELETE<br>&gt; &nbsp;&nbsp; &nbsp; &nbsp;DIRECTORIES_PLUS<br>&gt; &nbsp;&nbsp; &nbsp; WEIGHT(Length(PATH_NAME))<br>&gt; &nbsp;&nbsp; &nbsp; &nbsp;WHERE PATH_NAME LIKE '/mypath/%' &nbsp;AND MISC_ATTRIBUTES LIKE '%D%'<br><br><br>Thanks, I am aware of that but it will not really help with my speed concerns.<br><br>Uli<br><br><br>--<br>Dipl.-Inf. Ulrich Sibiller &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; science + computing ag<br>System Administration &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hagellocher Weg 73<br>Hotline +49 7071 9457 681 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;72070 Tuebingen, Germany<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://atos.net/de/deutschland/sc" target="_blank">https://atos.net/de/deutschland/sc</a>&nbsp;<br>--<br>Science + Computing AG<br>Vorstandsvorsitzender/Chairman of the board of management:<br>Dr. Martin Matzke<br>Vorstand/Board of Management:<br>Matthias Schempp, Sabine Hohenstein<br>Vorsitzender des Aufsichtsrats/<br>Chairman of the Supervisory Board:<br>Philippe Miltin<br>Aufsichtsrat/Supervisory Board:<br>Martin Wibbe, Ursula Morgenstern<br>Sitz/Registered Office: Tuebingen<br>Registergericht/Registration Court: Stuttgart<br>Registernummer/Commercial Register No.: HRB 382196<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>