<div dir="ltr">Hi, Andreas<div>Thanks for your reply.</div><div>I am geting more clearer,now.</div><div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Andreas Dilger <<a href="mailto:adilger@whamcloud.com">adilger@whamcloud.com</a>> 于2020年6月10日周三 上午11:00写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
On Jun 2, 2020, at 02:30, 肖正刚 <<a href="mailto:guru.novice@gmail.com" target="_blank">guru.novice@gmail.com</a>> wrote:<br>
<div>
<blockquote type="cite"><br>
<div>
<div dir="ltr">Hi all,
<div>we use TBF policy(details: <a href="https://jira.whamcloud.com/secure/attachment/14201/Lustre%20NRS%20TBF%20documentation%200.1.pdf" target="_blank">
https://jira.whamcloud.com/secure/attachment/14201/Lustre%20NRS%20TBF%20documentation%200.1.pdf</a>) to limit rpcrate coming from clients; but I do not know how to mapping of rpcrate to bandwidth or iops.</div>
<div>For example:</div>
<div>if I set a client's rpcrate=10,how much bandwith or iops the client can get  in theory?</div>
</div>
</div>
</blockquote>
<br>
</div>
<div>Currently, the TBF policies only deal with RPCs.  For most systems today, you are probably using 4MB RPC size (osc.*.max_pages_per_rpc=1024), so if you set rpcrate=10 the clients will be able to get at most 40MB/s (assuming applications do relatively linear
 IO).  If applications have small random IOPS then rpcrate=10 may get up to 256 4KB writes per RPC, or about 2560 IOPS = 10MB/s.</div>
<br>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Principal Lustre Architect</div>
<div>Whamcloud</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
</div>
<br>
</div>

</blockquote></div>