From 65203477576544bf5f75b8820b1ad2058ae6e249 Mon Sep 17 00:00:00 2001 From: Joseph Gmitter Date: Tue, 5 Feb 2019 22:34:57 -0500 Subject: [PATCH] LU-11874 rpc: Update command to persisently set brw_size 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 Change-Id: I1cfec45a032b3bc4bf97c14ef6db2a3f0901194f Reviewed-on: https://review.whamcloud.com/34193 Tested-by: Jenkins Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Reviewed-by: Stephan Thiell --- LustreTuning.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/LustreTuning.xml b/LustreTuning.xml index 20cfee6..aac8e4b 100644 --- a/LustreTuning.xml +++ b/LustreTuning.xml @@ -2336,10 +2336,9 @@ ldlm.namespaces.filter-fsname-*. 16MB. To temporarily change brw_size, the following command should be run on the OSS: oss# lctl set_param obdfilter.fsname-OST*.brw_size=16 - To persistently change brw_size, one of the following - commands should be run on the OSS: + To persistently change brw_size, the + following command should be run: oss# lctl set_param -P obdfilter.fsname-OST*.brw_size=16 - oss# lctl conf_param fsname-OST*.obdfilter.brw_size=16 When a client connects to an OST target, it will fetch brw_size from the target and pick the maximum value of brw_size and its local setting for @@ -2352,7 +2351,7 @@ ldlm.namespaces.filter-fsname-*. client$ lctl set_param osc.fsname-OST*.max_pages_per_rpc=16M To persistently make this change, the following command should be run: - client$ lctl conf_param fsname-OST*.osc.max_pages_per_rpc=16M + client$ lctl set_param -P obdfilter.fsname-OST*.osc.max_pages_per_rpc=16M The brw_size of an OST can be changed on the fly. However, clients have to be remounted to renegotiate the new maximum RPC size. -- 1.8.3.1