From d6e7e5bb5912e7f1b065da171738fc2aedc9fb89 Mon Sep 17 00:00:00 2001 From: Sergio Date: Tue, 8 Feb 2022 14:21:17 +0100 Subject: [PATCH] Clarifies HDF5 fix --- src/report_reader.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/report_reader.cpp b/src/report_reader.cpp index 719d10f0..e37a8969 100644 --- a/src/report_reader.cpp +++ b/src/report_reader.cpp @@ -351,7 +351,11 @@ ReportReader::Population::getNodeIdElementLayout( } } - // Reduces overhead of next IOps by clearing-up internal buffers of HDF5 + // Temp. fix: When you ask for a large hyperslab in a dataset and then move + // to another dataset in the same file where you also ask for + // another large range, the next IOps take an extra few seconds. + // We observed that fooling HDF5 does the trick, but we should + // verify this behaviour once new releases of HDF5 are available. dataset_elem_ids.select({min}, {1}).read(element_ids); }