Change default dataset chunk cache size to 8 MiB (#5558)

* Change default dataset chunk cache size to 8 MiB

* Fix 2 Java tests for chunk cache size

* Add release note about chunk cache size change
This commit is contained in:
Aleksandar Jelenak
2025-08-08 15:05:27 -04:00
committed by GitHub
parent 1ac5a40896
commit 104bd625ab
4 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -721,7 +721,7 @@ public class TestH5Pfapl {
try {
H5.H5Pget_cache(fapl_id, null, rdcc_nelmts, rdcc_nbytes, rdcc_w0);
assertTrue("H5P_cache default", rdcc_nelmts[0] == 521);
assertTrue("H5P_cache default", rdcc_nbytes[0] == (1024 * 1024));
assertTrue("H5P_cache default", rdcc_nbytes[0] == (8 * 1024 * 1024));
assertTrue("H5P_cache default", rdcc_w0[0] == 0.75);
}
catch (Throwable err) {
@@ -749,7 +749,7 @@ public class TestH5Pfapl {
try {
H5.H5Pget_chunk_cache(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
assertTrue("H5P_chunk_cache default", rdcc_nslots[0] == 521);
assertTrue("H5P_chunk_cache default", rdcc_nbytes[0] == (1024 * 1024));
assertTrue("H5P_chunk_cache default", rdcc_nbytes[0] == (8 * 1024 * 1024));
assertTrue("H5P_chunk_cache default", rdcc_w0[0] == 0.75);
}
catch (Throwable err) {