From c8645048e2e4e346118e79c876f2b86608330af9 Mon Sep 17 00:00:00 2001 From: John Mainzer Date: Fri, 17 Dec 2004 20:27:30 -0500 Subject: [svn-r9686] Purpose: Modify the cache code (H5C) to support automatic cache resizing to adapt to the work load at run time. Description: Different applications require different sized caches to maintain an acceptable hit rate. This set of changes attempts to provide the ability to adjust to circumstances automatically. Solution: Added highly configurable code to allow the user to either set a fixed cache size, or allow the cache to grow and shrink according to conditions. If enabled, cache size increases are triggered when the hit rate drops below a user specified threshold in a user specified interval. Cache size reductions (if enabled) are triggered when either the hit rate exceeds some user specified threshold over a user specified interval, when the cache contains "enough" entries that haven't been accessed for a user specified interval, or some mix of the above. See the header comments on the H5C_auto_size_ctl_t structure in H5Cprivate.h for further details. At present, the cache resize configuration options are not accessible via the user API. Must add this. Platforms tested: h5committested, hepingi (serial), and copper (parallel) Misc. update: --- MANIFEST | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST b/MANIFEST index 1b9a63f..54f09f9 100644 --- a/MANIFEST +++ b/MANIFEST @@ -781,6 +781,7 @@ ./src/H5Bprivate.h ./src/H5Bpublic.h ./src/H5C.c +./src/H5Cpkg.h ./src/H5Cprivate.h ./src/H5Cpublic.h ./src/H5D.c -- cgit v0.12