Whamcloud - gitweb
LU-15 slow IO with read intense application
authorWang Di <di.wang@whamcloud.com>
Wed, 20 Apr 2011 20:53:32 +0000 (13:53 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Tue, 26 Apr 2011 07:52:34 +0000 (00:52 -0700)
Shrink file_max_cache_size to alleviate the memory pressure of OST.

Change-Id: I6dc26ea88f8fc28bcbc94cf7d1e6f2bdfc866ea7
signed-off-by: Wang Di <di.wang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/445
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdfilter/filter_internal.h

index ff7373f..98190ce 100644 (file)
@@ -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... */