diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2009-01-09 19:53:30 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2009-01-09 19:53:30 (GMT) |
commit | 041e7dbfed0e6787d09cd1ad9f4dfa09b936ec31 (patch) | |
tree | ebc775e7844b267f6217410046a90dd0556162f8 /release_docs | |
parent | 307f67d52582c2ca9d59acd5b0f53511f0493ad2 (diff) | |
download | hdf5-041e7dbfed0e6787d09cd1ad9f4dfa09b936ec31.zip hdf5-041e7dbfed0e6787d09cd1ad9f4dfa09b936ec31.tar.gz hdf5-041e7dbfed0e6787d09cd1ad9f4dfa09b936ec31.tar.bz2 |
[svn-r16290] Purpose:
Adding code to maintain a min_clean_fraction in the cache in serial mode.
Description:
The metadata cache now has the ability to maintain a min_clean_fraction
when in serial mode. The default initial cache size has been changed
from 1MB to 2MB, and the default min_clean_fraction has been set at 30%.
This check-in includes modifications to H5C.c to support maintaining a
min_clean_size, including the addition of clean_index_size and
dirty_index_size trackers, modifications to the H5C_make_space_in_cache
algorithm, as well as associated test code and additional statistics
tracking variables.
Maintaining the min_clean_fraction addresses the possibility of
experiencing a "metadata blizzard" when the cache gets completely
full with dirty entries. Upon having to make space, the cache would
previously need to flush every single entry in the cache before coming
across a clean entry which could be evicted. This resulted in unnecessary
flushing of oftentimes hot entries in the cache. Maintaining the
min_clean_fraction ensures that, when space is needed, clean entries
are more readily available to evict.
Tested:
jam, smirom, linew (h5committest)
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 75433fe..51320d0 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -202,6 +202,8 @@ Bug Fixes since HDF5-1.8.0 release ID correctly. (QAK - 2008/03/11) - H5Dset_extent: when shrinking dimensions, some chunks were not deleted. (PVN - 2009/01/8) + - Added code to maintain a min_clean_fraction in the metadata cache when + in serial mode. (MAM - 2009/01/9) |