From: Wang Di Date: Wed, 20 Apr 2011 20:53:32 +0000 (-0700) Subject: LU-15 slow IO with read intense application X-Git-Tag: 1.8.5.56~29 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=12aae18c0ec495f459a1026ad2e86bbf0232b0fe;p=fs%2Flustre-release.git 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 --- 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... */