diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2004-12-18 01:27:30 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2004-12-18 01:27:30 (GMT) |
commit | c8645048e2e4e346118e79c876f2b86608330af9 (patch) | |
tree | f8129eeaf8cd754990d98509f52fd0ea4544cc71 | |
parent | 589c2ea1bf84d9401a2cb32c979f0af9e7052153 (diff) | |
download | hdf5-c8645048e2e4e346118e79c876f2b86608330af9.zip hdf5-c8645048e2e4e346118e79c876f2b86608330af9.tar.gz hdf5-c8645048e2e4e346118e79c876f2b86608330af9.tar.bz2 |
[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:
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |