<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 14, 2015 at 7:49 PM, teng wang <span dir="ltr"><<a href="mailto:tzw0019@gmail.com" target="_blank">tzw0019@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is there any way to change the lustre scheduler?</div></div></blockquote><div>Yes; one can issue "<span>lctl</span> set_<span>param</span> 
<service>.<span>nrs</span>_policies=<policy name>. This will attempt to 
set the <span>NRS</span> policy, by accessing the <span>procfs</span> 'nrs_policies' file for the 
respective <span>ptlrpc</span> service; the name of the service needs to be fully 
qualified with respect to the base Lustre <span>procfs</span> directory, which is 
normally in /<span>proc</span>/<span>fs</span>/lustre; for example,<br><br># <span>lctl</span> set_<span>param</span> <span>ost</span>.OSS.<span>ost</span>_<span>io</span>.<span>nrs</span>_policies=<span>crrn</span>, will set the <span>CRR</span>-N policy for the <span>ost</span>_<span>io</span> service, which handles bulk I/O transfers.<br><br><div>Each
 <span>ptlrpc</span> service has a separate policy setting (and <span>ptlrpc</span> services that 
support high priority requests have two settings) and list of available 
policies. Some policies have <span>tunables</span> to tailor their behaviour at 
<span>runtime</span>.<br></div><div><br></div>If interested, could you please have a 
look in the Lustre Operations Manual at <a href="https://wiki.hpdd.intel.com/ display/PUB/Documentation">https://wiki.hpdd.intel.com/ display/PUB/Documentation</a>, in section 26.6. 
"Network Request Scheduler (<span>NRS</span>) Tuning", for more information? To 
discover the presence of any newer policies and features that may not have 
been documented in the operations manual yet, an expedient way might be to issue a $ find /<span>proc</span>/<span>fs</span>/lustre -name '*<span>nrs</span>*', 
and please post here if you have further queries.<br><div><br><br><br></div><div>Cheers<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks,</div><div>Teng</div></div>
<br>_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_mailman_listinfo_lustre-2Ddiscuss&d=AwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=O2AhhrSwGtIEXeRsDocUsj4SgKrxZB4jbqhOSuaYFNU&m=L6zH_WP2plwB3o3Ll0xGFDJxTTv8veONwObnyJPfJhA&s=uFC3gQ2loW_jBpht5-uh5VHz8eOPqb-pYoiYXk6QRlo&e=" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_mailman_listinfo_lustre-2Ddiscuss&d=AwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=O2AhhrSwGtIEXeRsDocUsj4SgKrxZB4jbqhOSuaYFNU&m=L6zH_WP2plwB3o3Ll0xGFDJxTTv8veONwObnyJPfJhA&s=uFC3gQ2loW_jBpht5-uh5VHz8eOPqb-pYoiYXk6QRlo&e=</a><br>
<br></blockquote></div><br></div></div></div>