From 12aae18c0ec495f459a1026ad2e86bbf0232b0fe Mon Sep 17 00:00:00 2001 From: Wang Di Date: Wed, 20 Apr 2011 13:53:32 -0700 Subject: [PATCH] LU-15 slow IO with read intense application Shrink file_max_cache_size to alleviate the memory pressure of OST. Change-Id: I6dc26ea88f8fc28bcbc94cf7d1e6f2bdfc866ea7 signed-off-by: Wang Di Reviewed-on: http://review.whamcloud.com/445 Tested-by: Hudson Reviewed-by: Johann Lombardi Reviewed-by: Andreas Dilger --- lustre/obdfilter/filter_internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter_internal.h b/lustre/obdfilter/filter_internal.h index ff7373f..98190ce 100644 --- a/lustre/obdfilter/filter_internal.h +++ b/lustre/obdfilter/filter_internal.h @@ -113,7 +113,8 @@ enum { }; //#define FILTER_MAX_CACHE_SIZE (32 * 1024 * 1024) /* was OBD_OBJECT_EOF */ -#define FILTER_MAX_CACHE_SIZE OBD_OBJECT_EOF +//#define FILTER_MAX_CACHE_SIZE OBD_OBJECT_EOF +#define FILTER_MAX_CACHE_SIZE (8 * 1024 * 1024) /* was OBD_OBJECT_EOF */ /* We have to pass a 'created' array to fsfilt_map_inode_pages() which we * then ignore. So we pre-allocate one that everyone can use... */ -- 1.8.3.1