From ceb03358a1d713078ae36bfff07be62b433d970a Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:06:18 -0700 Subject: Bump the ros3 VFD cache to 16 MiB (#3759) --- release_docs/RELEASE.txt | 4 ++-- src/H5FDros3.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index a5bcb94..222c277 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -236,13 +236,13 @@ New Features Library: -------- - - Added a simple cache to the read-only S3 VFD + - Added a simple cache to the read-only S3 (ros3) VFD The read-only S3 VFD now caches the first N bytes of a file stored in S3 to avoid a lot of small I/O operations when opening files. This cache is per-file and created when the file is opened. - N is currently 4kiB or the size of the file, whichever is smaller. + N is currently 16 MiB or the size of the file, whichever is smaller. Addresses GitHub issue #3381 diff --git a/src/H5FDros3.c b/src/H5FDros3.c index f704eff..c6aea0e 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -44,7 +44,7 @@ #define ROS3_STATS 0 /* Max size of the cache, in bytes */ -#define ROS3_MAX_CACHE_SIZE 4096 +#define ROS3_MAX_CACHE_SIZE 16777216 /* The driver identification number, initialized at runtime */ -- cgit v0.12