summaryrefslogtreecommitdiffstats
path: root/src/H5Cprivate.h
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2005-10-10 21:08:03 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2005-10-10 21:08:03 (GMT)
commitd3627914f56bbec1fda79d9309896b2f1725c946 (patch)
treee8f4e4e71388472224957d1d99575535463d2828 /src/H5Cprivate.h
parentc5516c35d5eda84c01e475732814dc57441e3f0f (diff)
downloadhdf5-d3627914f56bbec1fda79d9309896b2f1725c946.zip
hdf5-d3627914f56bbec1fda79d9309896b2f1725c946.tar.gz
hdf5-d3627914f56bbec1fda79d9309896b2f1725c946.tar.bz2
[svn-r11522] Purpose:
Increase metadata cache max size / min clean size from 4/2 MB to 8/4 MB. Description: One of our users on copper had a performance bug caused by the 4/2 MB cache size in 1.6.4. Increasing cache size to 8/4 MB solved the problem for him. Solution: Since the metadata cache size is still hard coded in 1.6.5, increasing the size to the largest value we have seen needed in the wild seems prudent. This commit tends to this issue. Platforms tested: Serial test on Heping. Misc. update:
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r--src/H5Cprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h
index f161c01..ea22aed 100644
--- a/src/H5Cprivate.h
+++ b/src/H5Cprivate.h
@@ -149,8 +149,8 @@ typedef herr_t (*H5C_write_permitted_func_t)(const H5F_t *f,
* them generally accessable.
*/
-#define H5C__DEFAULT_MAX_CACHE_SIZE ((size_t)(4 * 1024 * 1024))
-#define H5C__DEFAULT_MIN_CLEAN_SIZE ((size_t)(2 * 1024 * 1024))
+#define H5C__DEFAULT_MAX_CACHE_SIZE ((size_t)(8 * 1024 * 1024))
+#define H5C__DEFAULT_MIN_CLEAN_SIZE ((size_t)(4 * 1024 * 1024))
/****************************************************************************