From 46804c2230cc0f72d4472cddd5a37456e1f2fb00 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Fri, 17 Mar 2023 18:34:06 -0600 Subject: [PATCH] LU-12064 ptlrpc: set at_min=5 by default Having at_min=0 as the default value can result in clients timing out and/or being evicted too easily when there is a sudden spike in server load. Increase at_min to 5s by default. For large clusters, at_min=15 is more reasonable, but distributing a variable at_min value to clients will need more complex changes. Signed-off-by: Andreas Dilger Change-Id: I3463cbc642458f6dd5977fe34478b135d1cd0219 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50609 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Patrick Farrell Reviewed-by: Oleg Drokin Reviewed-by: Aurelien Degremont --- lustre/obdclass/class_obd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index 44a824a..bf33208 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -90,7 +90,7 @@ EXPORT_SYMBOL(ldlm_timeout_set); unsigned int bulk_timeout = 100; /* seconds */ EXPORT_SYMBOL(bulk_timeout); /* Adaptive timeout defs here instead of ptlrpc module for /proc/sys/ access */ -unsigned int at_min = 0; +unsigned int at_min = 5; EXPORT_SYMBOL(at_min); unsigned int at_max = 600; EXPORT_SYMBOL(at_max); -- 1.8.3.1