summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-10-04 08:02:29 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-04 07:05:51 -0700
commitef0c7384299e6104a2d4a967847b8c9cea1e79b8 (patch)
tree4ae4bc583d198183caa518fdea49e8a8b6c61992
parentc2e93bf6e391657c23a16b6536f7976136c32ce5 (diff)
stat-prefetch: reduce the stat-prefetch mem-pool size
because we are not calling 'fini()' on old graph, after every graph change, we are leaking lot of memory. Hence reduce the foot-print for now, bring in changes to call 'fini()' later. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c
index e3ecb097ad0..26b42443170 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.c
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c
@@ -21,7 +21,7 @@
#include "statedump.h"
#define GF_SP_CACHE_BUCKETS 1
-#define GF_SP_CACHE_ENTRIES_EXPECTED 1048576
+#define GF_SP_CACHE_ENTRIES_EXPECTED (128 * 1024) //1048576
typedef enum {
SP_EXPECT,