From 4501caae45aa88d3a49806df0ac5272f95ec6d82 Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Wed, 18 Sep 2013 16:57:10 +0800 Subject: [PATCH] LUDOC-11 proc: correct some errors in Chapter 31.9 This patch includes the following changes: 1) correct some proc parameter name erros 2) correct "lctl conf_param" description and add "lctl set_param -P" usage. Signed-off-by: Emoly Liu Change-Id: I9e972558c389fa537b8d3cd59f6b9fc873fbcd91 Reviewed-on: http://review.whamcloud.com/7628 Tested-by: Hudson Reviewed-by: Linda Bebernes Reviewed-by: Richard Henwood --- LustreProc.xml | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/LustreProc.xml b/LustreProc.xml index 6b29a57..d41b089 100644 --- a/LustreProc.xml +++ b/LustreProc.xml @@ -2078,7 +2078,7 @@ nid refs peer max tx min - mdt.MDS.mds + mds.MDS.mdt Main metadata operations service @@ -2086,7 +2086,7 @@ nid refs peer max tx min - mdt.MDS.mds_readpage + mds.MDS.mdt_readpage Metadata readdir service @@ -2094,7 +2094,7 @@ nid refs peer max tx min - mdt.MDS.mds_setattr + mds.MDS.mdt_setattr Metadata setattr/close operations service @@ -2144,14 +2144,22 @@ nid refs peer max tx min For each service, an entry as shown below is - created:/proc/fs/lustre/{service}/*/thread_{min,max,started} - To temporarily set this tunable, run: - # lctl {get,set}_param {service}.thread_{min,max,started} - To permanently set this tunable, run: - # lctl conf_param {service}.thread_{min,max,started} - The following examples show how to set thread counts and get the number of running threads - for the service ost_io using the tunable - {service}.thread_{min,max,started}. + created:/proc/fs/lustre/service/*/threads_min|max|started + + + To temporarily set this tunable, run: + # lctl get|set_param service.threads_min|max|started + + + To permanently set this tunable, run: + # lctl conf_param obdname|fsname.obdtype.threads_min|max|started + For version 2.5 or later, run: + # lctl set_param -P service.threads_min|max|started + + + The following examples show how to set thread counts and get the number of running threads + for the service ost_io using the tunable + service.threads_min|max|started. To get the number of running threads, run: @@ -2170,6 +2178,13 @@ ost.OSS.ost_io.threads_max=512 ost.OSS.ost_io.threads_max=256 + To set the maximum thread count to 256 instead of 512 permanently, run: + # lctl conf_param testfs.ost.ost_io.threads_max=256 + For version 2.5 or later, run: + # lctl set_param -P ost.OSS.ost_io.threads_max=256 +ost.OSS.ost_io.threads_max=256 + + To check if the threads_max setting is active, run: # lctl get_param ost.OSS.ost_io.threads_max ost.OSS.ost_io.threads_max=256 -- 1.8.3.1