<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:9pt" ><div dir="ltr" ><div>The parameter 'allocation roundup size' was introduced in Samba back<br>in 2005. Since then the world has moved on to SMB2 and SMB3. It is not<br>clear whether this has any performance benefits these days. Also with<br>Samba in Scale, the only effect is that the reported allocation size<br>is rounded up, but the space is not actually allocated.</div>
<div>See also <a href="https://lists.samba.org/archive/samba-technical/2016-July/115172.html">https://lists.samba.org/archive/samba-technical/2016-July/115172.html</a><br>for an additional comment:</div>
<div> </div>
<div>|Allocation roundup size actually was a performance win back<br>|in the day (SMB1). Reporting it as larger (1MB) caused the<br>|SMB1 client to issue larger read requests against Samba than<br>|it did against a Windows server which reported the NTFS<br>|allocation extent.<br>|<br>|In the world of SMB2, not sure how much it's needed anymore.</div>
<div> </div>
<div>You can change this parameter for a test to get consistent reporting<br>of used space:</div>
<div> </div>
<div>/usr/lpp/mmfs/bin/net conf setparm global 'allocation roundup size' 0</div>
<div> </div>
<div>In case there is a problem, remove it again to revert back to the<br>default:</div>
<div> </div>
<div>/usr/lpp/mmfs/bin/net conf delparm global 'allocation roundup size'</div>
<div> </div>
<div>Regards,</div></div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><font size="2" face="Verdana,Arial,Helvetica,sans-serif" ><font size="2" face="Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:0.857em;" > </span></font></font></div>
<div dir="ltr" ><font size="2" face="Verdana,Arial,Helvetica,sans-serif" ><font size="2" face="Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:0.857em;" ><span style="font-family: Verdana,Geneva,sans-serif;" >Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ<br>christof.schmitt@us.ibm.com  ||  +1-520-799-2469    (T/L: 321-2469)</span></span></font></font></div></div></div></div></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" data-history-expanded="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "L.walid (PowerM)" <l.walid@powerm.ma><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] SMB share size on disk Windows<br>Date: Wed, May 22, 2019 6:01 PM<br> 
<div dir="ltr" >Hi Everyone,
<div> </div>
<div>Through some research, i found it's a normal behavior related to Samba "allocation roundup size" , since CES SMB is based on Samba that explains the behavior. (Windows assumes that the default size for a block is 1M).</div>
<div>As such, i found somewhere else that changing this parameter can decrease performance, so if possible to advise on this. For the block size on the filesystem i would still go with 256k since it's the recommended for File Serving use cases.</div>
<div> </div>
<div>Thank you</div>
<div> </div>
<div>References : </div>
<div><a href="https://lists.samba.org/archive/samba-technical/2016-July/115166.html" target="_blank">https://lists.samba.org/archive/samba-technical/2016-July/115166.html</a> </div></div> 

<div><div dir="ltr" >On Wed, May 22, 2019 at 11:59 PM L.walid (PowerM) <<a href="mailto:l.walid@powerm.ma" target="_blank">l.walid@powerm.ma</a>> wrote:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" ><div dir="auto" >Hi,</div>
<div dir="auto" > </div>
<div dir="auto" >We are contacting you regarding a behavior observed for our customer gpfs smb shares. When we try to view the file/folder properties, the values reported are significantly different from the folder/size and the folder/file size on disk.</div>
<div dir="auto" > </div>
<div dir="auto" >We tried to reproduce with creating a simple text file of 1ko and when we check the properties of the file it was a 1Mo on disk! </div>
<div dir="auto" > </div>
<div dir="auto" >I tried changing the block size of the fs from 4M to 256k , but still the same results </div>
<div dir="auto" > </div>
<div dir="auto" >Thank you </div>--

<div dir="ltr" ><div dir="ltr" ><div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Best regards, </span></div>
<div style="font-size:12.8px" > </div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Walid Largou</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Senior IT Specialist</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Power Maroc</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Mobile : <a dir="ltr" href="tel:+212%20661%2015%2021%2055" style="color:rgb(17,85,204)" target="_blank">+212 62</a>1 31 98 71</span></div>
<div style="font-size:12.8px" ><a href="mailto:y.largou@powerm.ma" style="color:rgb(17,85,204);background-color:rgba(255,255,255,0)" target="_blank"><font color="#000000" >Email: l.walid@powerm.ma</font></a></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >320 Bd Zertouni 6th Floor, Casablanca, Morocco</span></div>
<div style="font-size:12.8px" ><a href="https://www.powerm.ma/" style="color:rgb(17,85,204);background-color:rgba(255,255,255,0)" target="_blank"><font color="#000000" >https://www.powerm.ma</font></a></div><br><br><span style="font-size:12.8px;background-color:rgba(255,255,255,0)" >This message is confidential .Its contents do not constitute a commitment by Power Maroc S.A.R.L except where provided for in a written agreement between you and Power Maroc S.A.R.L. Any authorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately.</span></div></div></blockquote></div> 

<div> </div>--

<div dir="ltr" ><div dir="ltr" ><div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Best regards, </span></div>
<div style="font-size:12.8px" > </div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Walid Largou</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Senior IT Specialist</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Power Maroc</span></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >Mobile : <a dir="ltr" href="tel:+212%20661%2015%2021%2055" style="color:rgb(17,85,204)" target="_blank">+212 62</a>1 31 98 71</span></div>
<div style="font-size:12.8px" ><a href="mailto:y.largou@powerm.ma" style="color:rgb(17,85,204);background-color:rgba(255,255,255,0)" target="_blank"><font color="#000000" >Email: l.walid@powerm.ma</font></a></div>
<div style="font-size:12.8px" ><span style="background-color:rgba(255,255,255,0)" >320 Bd Zertouni 6th Floor, Casablanca, Morocco</span></div>
<div style="font-size:12.8px" ><a href="https://www.powerm.ma/" style="color:rgb(17,85,204);background-color:rgba(255,255,255,0)" target="_blank"><font color="#000000" >https://www.powerm.ma</font></a></div><br><span style="font-size:12.8px;background-color:rgba(255,255,255,0)" ><img s_org_action="http://null" src="cid:A8AE246E-9B75-4FE9-AE84-3DC9C8753FEA" title="null" width="118" height="36" ><br>This message is confidential .Its contents do not constitute a commitment by Power Maroc S.A.R.L except where provided for in a written agreement between you and Power Maroc S.A.R.L. Any authorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately.</span></div></div>
<div id="MIMEAttachInfoDiv" style="display:none" title="png|PastedGraphic-2.png" > </div>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<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></font></div></blockquote>
<div dir="ltr" > </div></div><BR>