Skip to content

Commit 2e30f8c

Browse files
authored
Merge pull request Unidata#3077 from WardF/fix-performance-cache-setting.wif
Update default_chunk_cache_size
2 parents 5887c9e + 11e2a27 commit 2e30f8c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/run_tests_win_cygwin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
- name: Upload autoconf test results
9292
uses: actions/upload-artifact@v4
9393
with:
94-
name: cygwin-autotools-test-logs-${{ github.run_id }}
94+
name: cygwin-autotools-test-logs-${{ matrix.plugin_dir_option }}
9595
path: |
96-
*/*.log
97-
*/*.trs
96+
*/*.log
97+
*/*.trs
9898
9999
build-and-test-cmake:
100100
name: Cygwin-based CMake tests

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ endif()
358358

359359
# Default Cache variables.
360360
set(DEFAULT_CHUNK_SIZE 16777216 CACHE STRING "Default Chunk Cache Size.")
361-
set(DEFAULT_CHUNK_CACHE_SIZE 16777216U CACHE STRING "Default Chunk Cache Size.")
361+
set(DEFAULT_CHUNK_CACHE_SIZE 67108864U CACHE STRING "Default Chunk Cache Size.")
362362
set(DEFAULT_CHUNKS_IN_CACHE 1000 CACHE STRING "Default number of chunks in cache.")
363363
set(DEFAULT_CHUNK_CACHE_PREEMPTION 0.75 CACHE STRING "Default file chunk cache preemption policy (a number between 0 and 1, inclusive).")
364364

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ AC_MSG_CHECKING([whether a default cache size was specified])
396396
AC_ARG_WITH([default-chunk-cache-size],
397397
[AS_HELP_STRING([--with-default-chunk-cache-size=<integer>],
398398
[Specify default size (in bytes) for chunk cache.])],
399-
[DEFAULT_CHUNK_CACHE_SIZE=$with_default_chunk_cache_size], [DEFAULT_CHUNK_CACHE_SIZE=16777216U])
399+
[DEFAULT_CHUNK_CACHE_SIZE=$with_default_chunk_cache_size], [DEFAULT_CHUNK_CACHE_SIZE=67108864U])
400400
AC_MSG_RESULT([$DEFAULT_CHUNK_CACHE_SIZE])
401401
AC_DEFINE_UNQUOTED([DEFAULT_CHUNK_CACHE_SIZE], [$DEFAULT_CHUNK_CACHE_SIZE], [default size of the chunk cache.])
402402

0 commit comments

Comments
 (0)