Hi,

I'm interested in being able to change the cache settings for chunks in HDF5.  
For this, I plan to call:

{{{
herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nelmts,
                    size_t rdcc_nbytes, double rdcc_w0)
}}}

before opening an HDF5 file.

Most of the parameters of the H5Pset_cache call are clear, but I cannot 
determine a good default for rdcc_nelemts.  From the manual:

{{{
The number of elements (objects) in the raw data chunk cache is rdcc_nelmts. 
The total size of the raw data chunk cache and the preemption policy are 
rdcc_nbytes and rdcc_w0, respectively. 
}}}

I'm choosing 10 by default at this time, but I'd be grateful if anybody can 
tell me whether this is a decent value or not (and the rational behind this).

Cheers,

-- 
Francesc Alted

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to