<html><body><p><font size="2" face="sans-serif">Hi Uwe, </font><br><br><font size="2" face="sans-serif">first of all, glad to see you back in the GPFS space ;) <br><br>agreed, groups of subblocks being written will end up in IO sizes, being smaller than the 8MB filesystem blocksize,</font><br><font size="2" face="sans-serif">also agreed, this cannot be metadata, since their size is MUCH smaller, like 4k or less, mostly. <br><br>But why would these grouped subblock reads/writes all end up on the same NSD server, while the others do full block writes ? <br><br>How is your NSD server setup per NSD ? did you 'round-robin' set the preferred NSD server per NSD ? <br>are the client nodes transferring the data in anyway doing specifics &nbsp;? <br><br>Sorry for not having a solution for you, jsut sharing a few ideas ;) </font><br><br><br><font size="1" face="Arial">Mit freundlichen Grüßen / Kind regards</font><br><br><font size="2" face="Arial"><b>Achim Rehor</b></font><br><br><font size="1" color="#0055AA" face="Arial">Technical Support Specialist Spectrum Scale and ESS (SME)</font><br><font size="1" color="#0055AA" face="Arial">Advisory Product Services Professional</font><br><font size="1" color="#0055AA" face="Arial">IBM Systems Storage Support - EMEA</font><table border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td class="small_font" width="800" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="small_font" width="800" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="inner" width="73" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="266" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="345" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td width="116" rowspan="3" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="inner" width="73" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="266" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="345" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="inner" width="73" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="266" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td><td class="inner" width="345" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="small_font" width="800" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="foot" width="800" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr>
<tr valign="top"><td class="foot" width="800" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=4EBB0D60DFD775728f9e8a93df938690@ibm.com" border="0" alt=""></td></tr></table><br><tt><font size="2">gpfsug-discuss-bounces@spectrumscale.org wrote on 23/02/2022 22:20:11:<br><br>&gt; From: &quot;Andrew Beattie&quot; &lt;abeattie@au1.ibm.com&gt;</font></tt><br><tt><font size="2">&gt; To: &quot;gpfsug main discussion list&quot; &lt;gpfsug-discuss@spectrumscale.org&gt;</font></tt><br><tt><font size="2">&gt; Date: 23/02/2022 22:20</font></tt><br><tt><font size="2">&gt; Subject: [EXTERNAL] Re: [gpfsug-discuss] IO sizes</font></tt><br><tt><font size="2">&gt; Sent by: gpfsug-discuss-bounces@spectrumscale.org</font></tt><br><tt><font size="2">&gt; <br>&gt; Alex, Metadata will be 4Kib Depending on the filesystem version you <br>&gt; will also have subblocks to consider V4 filesystems have 1/32 <br>&gt; subblocks, V5 filesystems have 1/1024 subblocks (assuming metadata <br>&gt; and data block size is the same) \u200d\u200d\u200d\u200d\u200d\u200d\u200d\u200d\u200d\u200d\u200dZjQcmQRYFpfptBannerStart </font></tt><br><tt><font size="2">&gt; This Message Is From an External Sender </font></tt><br><tt><font size="2">&gt; This message came from outside your organization. </font></tt><br><tt><font size="2">&gt; ZjQcmQRYFpfptBannerEnd<br>&gt; Alex,</font></tt><br><tt><font size="2">&gt; <br>&gt; Metadata will be 4Kib </font></tt><br><tt><font size="2">&gt; <br>&gt; Depending on the filesystem version you will also have subblocks to <br>&gt; consider V4 filesystems have 1/32 subblocks, V5 filesystems have 1/<br>&gt; 1024 subblocks (assuming metadata and data block size is the same)</font></tt><br><tt><font size="2">&gt; <br>&gt; My first question would be is \u201c Are you sure that Linux OS is <br>&gt; configured the same on all 4 NSD servers?.</font></tt><br><tt><font size="2">&gt; <br>&gt; My second question would be do you know what your average file size <br>&gt; is if most of your files are smaller than your filesystem block <br>&gt; size, then you are always going to be performing writes using groups<br>&gt; of subblocks rather than a full block writes.</font></tt><br><tt><font size="2">&gt; <br>&gt; Regards, </font></tt><br><tt><font size="2">&gt; <br>&gt; Andrew</font></tt><br><tt><font size="2">&gt; <br>&gt; On 24 Feb 2022, at 04:39, Alex Chekholko &lt;alex@calicolabs.com&gt; wrote:<br></font></tt><br><tt><font size="2">&gt; \ufeff Hi, Metadata I/Os will always be smaller than the usual data block<br>&gt; size, right? Which version of GPFS? Regards, Alex On Wed, Feb 23, <br>&gt; 2022 at 10:26 AM Uwe Falke &lt;uwe.falke@kit.edu&gt; wrote: Dear all, <br>&gt; sorry for asking a question which seems ZjQcmQRYFpfptBannerStart </font></tt><br><tt><font size="2">&gt; This Message Is From an External Sender </font></tt><br><tt><font size="2">&gt; This message came from outside your organization. </font></tt><br><tt><font size="2">&gt; ZjQcmQRYFpfptBannerEnd</font></tt><br><tt><font size="2">&gt; Hi,</font></tt><br><tt><font size="2">&gt; <br>&gt; Metadata I/Os will always be smaller than the usual data block size, right?</font></tt><br><tt><font size="2">&gt; Which version of GPFS?</font></tt><br><tt><font size="2">&gt; <br>&gt; Regards,</font></tt><br><tt><font size="2">&gt; Alex</font></tt><br><tt><font size="2">&gt; <br>&gt; On Wed, Feb 23, 2022 at 10:26 AM Uwe Falke &lt;uwe.falke@kit.edu&gt; wrote:</font></tt><br><tt><font size="2">&gt; Dear all,<br>&gt; <br>&gt; sorry for asking a question which seems not directly GPFS related:<br>&gt; <br>&gt; In a setup with 4 NSD servers (old-style, with storage controllers in <br>&gt; the back end), 12 clients and 10 Seagate storage systems, I do see in <br>&gt; benchmark tests that &nbsp;just one of the NSD servers does send smaller IO <br>&gt; requests to the storage &nbsp;than the other 3 (that is, both reads and <br>&gt; writes are smaller).<br>&gt; <br>&gt; The NSD servers form 2 pairs, each pair is connected to 5 seagate boxes <br>&gt; ( one server to the controllers A, the other one to controllers B of the <br>&gt; Seagates, resp.).<br>&gt; <br>&gt; All 4 NSD servers are set up similarly:<br>&gt; <br>&gt; kernel: 3.10.0-1160.el7.x86_64 #1 SMP<br>&gt; <br>&gt; HBA: Broadcom / LSI Fusion-MPT 12GSAS/PCIe Secure SAS38xx<br>&gt; <br>&gt; driver : mpt3sas 31.100.01.00<br>&gt; <br>&gt; max_sectors_kb=8192 (max_hw_sectors_kb=16383 , not 16384, as limited by <br>&gt; mpt3sas) for all sd devices and all multipath (dm) devices built on top.<br>&gt; <br>&gt; scheduler: deadline<br>&gt; <br>&gt; multipath (actually we do have 3 paths to each volume, so there is some <br>&gt; asymmetry, but that should not affect the IOs, shouldn't it?, and if it <br>&gt; did we would see the same effect in both pairs of NSD servers, but we do <br>&gt; not).<br>&gt; <br>&gt; All 4 storage systems are also configured the same way (2 disk groups / <br>&gt; pools / declustered arrays, one managed by &nbsp;ctrl A, one by ctrl B, &nbsp;and <br>&gt; 8 volumes out of each; makes altogether 2 x 8 x 10 = 160 NSDs).<br>&gt; <br>&gt; <br>&gt; GPFS BS is 8MiB , according to iohistory (mmdiag) we do see clean IO <br>&gt; requests of 16384 disk blocks (i.e. 8192kiB) from GPFS.<br>&gt; <br>&gt; The first question I have - but that is not my main one: I do see, both <br>&gt; in iostat and on the storage systems, that the default IO requests are <br>&gt; about 4MiB, not 8MiB as I'd expect from above settings (max_sectors_kb <br>&gt; is really in terms of kiB, not sectors, cf. <br>&gt; <a href="https://www.kernel.org/doc/Documentation/block/queue-sysfs.txt">https://www.kernel.org/doc/Documentation/block/queue-sysfs.txt</a>).<br>&gt; <br>&gt; But what puzzles me even more: one of the server compiles IOs even <br>&gt; smaller, varying between 3.2MiB and 3.6MiB mostly - both for reads and <br>&gt; writes ... I just cannot see why.<br>&gt; <br>&gt; I have to suspect that this will (in writing to the storage) cause <br>&gt; incomplete stripe writes on our erasure-coded volumes (8+2p)(as long as <br>&gt; the controller is not able to re-coalesce the data properly; and it <br>&gt; seems it cannot do it completely at least)<br>&gt; <br>&gt; <br>&gt; If someone of you has seen that already and/or knows a potential <br>&gt; explanation I'd be glad to learn about.<br>&gt; <br>&gt; <br>&gt; And if some of you wonder: yes, I (was) moved away from IBM and am now <br>&gt; at KIT.<br>&gt; <br>&gt; Many thanks in advance<br>&gt; <br>&gt; Uwe<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Karlsruhe Institute of Technology (KIT)<br>&gt; Steinbuch Centre for Computing (SCC)<br>&gt; Scientific Data Management (SDM)<br>&gt; <br>&gt; Uwe Falke<br>&gt; <br>&gt; Hermann-von-Helmholtz-Platz 1, Building 442, Room 187<br>&gt; D-76344 Eggenstein-Leopoldshafen<br>&gt; <br>&gt; Tel: +49 721 608 28024<br>&gt; Email: uwe.falke@kit.edu<br>&gt; www.scc.kit.edu<br>&gt; <br>&gt; Registered office:<br>&gt; Kaiserstraße 12, 76131 Karlsruhe, Germany<br>&gt; <br>&gt; KIT \u2013 The Research University in the Helmholtz Association<br>&gt; <br>&gt; _______________________________________________<br>&gt; gpfsug-discuss mailing list<br>&gt; gpfsug-discuss at spectrumscale.org<br>&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font></tt><br><tt><font size="2">&gt; <br>&gt; _______________________________________________<br>&gt; gpfsug-discuss mailing list<br>&gt; gpfsug-discuss at spectrumscale.org<br>&gt; <a href="INVALID URI REMOVED">INVALID URI REMOVED</a><br>&gt; u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&amp;d=DwICAg&amp;c=jf_iaSHvJObTbx-<br>&gt; siA1ZOg&amp;r=RGTETs2tk0Kz_VOpznDVDkqChhnfLapOTkxLvgmR2-M&amp;m=-<br>&gt; FdZvYBvHDPnBTu2FtPkLT09ahlYp2QsMutqNV2jWaY&amp;s=S4C2D3_h4FJLAw0PUYLKhKE242vn_fwn-1_EJmHNpE8&amp;e=<br></font></tt><BR>
<BR>
</body></html>