From ad0c3cf2f15d994dd5432817dabeee01f4727fe7 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 4 Jul 2005 16:23:18 +0000 Subject: [PATCH] - give 1MB RPCs a run on 256MB mountain's client --- lustre/ldlm/ldlm_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 1c750aa..5655934 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -253,9 +253,11 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf) if (num_physpages >> (20 - PAGE_SHIFT) <= 128) { /* <= 128 MB */ cli->cl_max_pages_per_rpc = PTLRPC_MAX_BRW_PAGES / 4; cli->cl_max_rpcs_in_flight = OSC_MAX_RIF_DEFAULT / 4; +#if 0 } else if (num_physpages >> (20 - PAGE_SHIFT) <= 512) { /* <= 512 MB */ cli->cl_max_pages_per_rpc = PTLRPC_MAX_BRW_PAGES / 2; cli->cl_max_rpcs_in_flight = OSC_MAX_RIF_DEFAULT / 2; +#endif } else { cli->cl_max_pages_per_rpc = PTLRPC_MAX_BRW_PAGES; cli->cl_max_rpcs_in_flight = OSC_MAX_RIF_DEFAULT; -- 1.8.3.1