Skip to content

[Backport 3.1] Add min and max threads parameters to tiered cache #10316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _search-plugins/caching/tiered-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
`indices.requests.cache.ehcache_disk.alias` | String | `ehcacheDiskCache#INDICES_REQUEST_CACHE` | Specifies an alias for the disk cache. Optional.
`indices.requests.cache.ehcache_disk.segments` | Integer | `16` | Defines the number of segments into which the disk cache is separated. Used for concurrency. Optional.
`indices.requests.cache.ehcache_disk.concurrency` | Integer | `1` | Defines the number of distinct write queues created for the disk store, where a group of segments shares a write queue. Optional.
`indices.requests.cache.ehcache_disk.min_threads` | Integer | `2` | Defines the minimum number of ehcache disk threads for the pool. Optional.

Check failure on line 70 in _search-plugins/caching/tiered-cache.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _search-plugins/caching/tiered-cache.md#L70

[OpenSearch.Spelling] Error: ehcache. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.
Raw output
{"message": "[OpenSearch.Spelling] Error: ehcache. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_search-plugins/caching/tiered-cache.md", "range": {"start": {"line": 70, "column": 100}}}, "severity": "ERROR"}
`indices.requests.cache.ehcache_disk.max_threads` | Integer | The number of CPU cores | Defines the maximum number of ehcache disk threads for the pool. The maximum allowed value is `10 * num_cpu_cores`. Disk operations are typically I/O bound rather than CPU bound, so you can set this value to a number greater than the number of CPU cores. Optional.

Check failure on line 71 in _search-plugins/caching/tiered-cache.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _search-plugins/caching/tiered-cache.md#L71

[OpenSearch.Spelling] Error: ehcache. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.
Raw output
{"message": "[OpenSearch.Spelling] Error: ehcache. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_search-plugins/caching/tiered-cache.md", "range": {"start": {"line": 71, "column": 25}}}, "severity": "ERROR"}

### Additional settings for the `tiered_spillover` store

Expand Down