<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Apple Color Emoji";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:1.0pt;
        margin-bottom:.0001pt;
        border:none;
        padding:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">This issue is tracked under <a href="https://jira.hpdd.intel.com/browse/LU-4533">
https://jira.hpdd.intel.com/browse/LU-4533</a>.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We submitted, but then abandoned a patch because of memory usage.&nbsp; Andreas proposed to do dynamic allocation of the obd_histogram buckets, but that work isn\u2019t completed yet.&nbsp; Although, it shouldn\u2019t be too hard.&nbsp; I just added the \u2018easy\u2019
 label to LU-4533 <span style="font-family:&quot;Apple Color Emoji&quot;">\u263a</span>.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">-Cory<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">--&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on behalf of Patrick Farrell &lt;paf@cray.com&gt;<br>
<b>Date: </b>Monday, July 3, 2017 at 8:29 AM<br>
<b>To: </b>Andreas Dilger &lt;andreas.dilger@intel.com&gt;, Reinoud Bokhorst &lt;rbokhorst@astron.nl&gt;<br>
<b>Cc: </b>&quot;lustre-discuss@lists.lustre.org&quot; &lt;lustre-discuss@lists.lustre.org&gt;<br>
<b>Subject: </b>Re: [lustre-discuss] Problem with raising osc.*.max_rpcs_in_flight<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div id="x_divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">It definitely is limited to 32 buckets. &nbsp;We've toyed with raising that limit (and Cray did so internally), but it does use some memory, etc.<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span style="font-size:12.0pt;color:black">So that's almost certainly the issue you're seeing, Reinoud. &nbsp;RPCs larger than the largest size appear as the largest size.<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span style="font-size:12.0pt;color:black">- Patrick<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on behalf of Dilger, Andreas &lt;andreas.dilger@intel.com&gt;<br>
<b>Sent:</b> Sunday, July 2, 2017 3:45:03 AM<br>
<b>To:</b> Reinoud Bokhorst<br>
<b>Cc:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [lustre-discuss] Problem with raising osc.*.max_rpcs_in_flight</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">It may also be that this histogram is limited to 32 buckets?<br>
<br>
Cheers, Andreas<br>
<br>
&gt; On Jun 30, 2017, at 03:03, Reinoud Bokhorst &lt;rbokhorst@astron.nl&gt; wrote:<br>
&gt; <br>
&gt; Hi all,<br>
&gt; <br>
&gt; I have a problem with raising the osc.*.max_rpcs_in_flight client<br>
&gt; setting on our Lustre 2.7.0. I am trying the increase the setting from<br>
&gt; 32 to 64 but according to osc.*.rpc_stats it isn't being used. The<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bsp;&nbsp;&nbsp;&nbsp;&nbsp; 94&nbsp;&nbsp; 0&nbsp; 88<br>
&gt; 31:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 0 100&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1573&nbsp; 11 100<br>
&gt; <br>
&gt; I have modified some ko2iblnd driver parameters in an attempt to get it<br>
&gt; working:<br>
&gt; <br>
&gt; options ko2iblnd peer_credits=128 peer_credits_hiw=128 credits=2048<br>
&gt; concurrent_sends=256 ntx=2048 map_on_demand=32 fmr_pool_size=2048<br>
&gt; fmr_flush_trigger=512 fmr_cache=1<br>
&gt; <br>
&gt; Specifically I raised peer_credits_hiw to 128 as I've understood that it<br>
&gt; must be twice the value of max_rpcs_in_flight. Checking the module<br>
&gt; parameters that were actually loaded, I noticed that it was set to 127.<br>
&gt; So apparently it must be smaller than peers_credits. After noticing this<br>
&gt; I tried setting max_rpcs_in_flight to 60 but that didn't help either.<br>
&gt; Are there any other parameters affecting the max rpcs? Do all settings<br>
&gt; have to be powers of 2?<br>
&gt; <br>
&gt; Related question; documentation on the driver parameters and how it all<br>
&gt; hangs together is rather scarce on the internet. Does anyone have some<br>
&gt; good pointers?<br>
&gt; <br>
&gt; Thanks,<br>
&gt; Reinoud Bokhorst<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; lustre-discuss mailing list<br>
&gt; lustre-discuss@lists.lustre.org<br>
&gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><o:p></o:p></span></p>
</div>
</div>
</body>
</html>