From ff98fdaa793c31c8cc107a8a2cd7530983c99c78 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 9 Dec 2005 10:26:31 +0000 Subject: [PATCH] Branch b_release_1_4_6 Increase the default lustre DLM LRU size based on client CPU count. For systems that have many CPUs there is expected to be a correspondingly higher number of files open and in use for a given node. b=9462 --- lustre/include/linux/lustre_dlm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/linux/lustre_dlm.h b/lustre/include/linux/lustre_dlm.h index f0fd0f0..12cf2d6 100644 --- a/lustre/include/linux/lustre_dlm.h +++ b/lustre/include/linux/lustre_dlm.h @@ -21,7 +21,7 @@ struct obd_device; #define OBD_LDLM_DEVICENAME "ldlm" -#define LDLM_DEFAULT_LRU_SIZE 100 +#define LDLM_DEFAULT_LRU_SIZE (100 * smp_num_cpus) typedef enum { ELDLM_OK = 0, -- 1.8.3.1