Whamcloud - gitweb
LU-11874 rpc: Update command to persisently set brw_size 93/34193/2
authorJoseph Gmitter <jgmitter@whamcloud.com>
Wed, 6 Feb 2019 03:34:57 +0000 (22:34 -0500)
committerJoseph Gmitter <jgmitter@whamcloud.com>
Fri, 8 Feb 2019 19:25:31 +0000 (19:25 +0000)
This patch updates the large bulk IO (16MB RPC) section
to use set_param -P in persistently setting brw_size
and max_pages_per_rpc as the current conf_param command
does not work with wildcards.

Signed-off-by: Joseph Gmitter <jgmitter@whamcloud.com>
Change-Id: I1cfec45a032b3bc4bf97c14ef6db2a3f0901194f
Reviewed-on: https://review.whamcloud.com/34193
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
LustreTuning.xml

index 20cfee6..aac8e4b 100644 (file)
@@ -2336,10 +2336,9 @@ ldlm.namespaces.filter-<replaceable>fsname</replaceable>-*.
           16MB.  To temporarily change <literal>brw_size</literal>, the
           following command should be run on the OSS:</para>
           <screen>oss# lctl set_param obdfilter.<replaceable>fsname</replaceable>-OST*.brw_size=16</screen>
-          <para>To persistently change <literal>brw_size</literal>, one of the following
-          commands should be run on the OSS:</para>
+          <para>To persistently change <literal>brw_size</literal>, the
+          following command should be run:</para>
           <screen>oss# lctl set_param -P obdfilter.<replaceable>fsname</replaceable>-OST*.brw_size=16</screen>
-          <screen>oss# lctl conf_param <replaceable>fsname</replaceable>-OST*.obdfilter.brw_size=16</screen>
           <para>When a client connects to an OST target, it will fetch
           <literal>brw_size</literal> from the target and pick the maximum value
           of <literal>brw_size</literal> and its local setting for
@@ -2352,7 +2351,7 @@ ldlm.namespaces.filter-<replaceable>fsname</replaceable>-*.
           <screen>client$ lctl set_param osc.<replaceable>fsname</replaceable>-OST*.max_pages_per_rpc=16M</screen>
           <para>To persistently make this change, the following command should
           be run:</para>
-          <screen>client$ lctl conf_param <replaceable>fsname</replaceable>-OST*.osc.max_pages_per_rpc=16M</screen>
+          <screen>client$ lctl set_param -P obdfilter.<replaceable>fsname</replaceable>-OST*.osc.max_pages_per_rpc=16M</screen>
           <caution><para>The <literal>brw_size</literal> of an OST can be
           changed on the fly.  However, clients have to be remounted to
           renegotiate the new maximum RPC size.</para></caution>