Repository navigation
Use Feuer Disk-Cache #6962
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
base: main
Are you sure you want to change the base?
Use Feuer Disk-Cache #6962
Changes from 3 commits
5f6cbc0
c4c2058
0e0e493
57f313d
901a3c8
4bd194f
ee35c70
295d2f7
09a18a4
92b7075
234b414
0d9a416
c650469
f791c61
f1c34fb
4a97694
28e8f2a
580750c
a0d83cc
7024ed5
eab506f
c09eaa5
e79ec7f
0a3d5de
fec246a
4a52731
a2cba3c
cd0c089
c2402f6
68de86a
bfe4bbc
447351e
7edeeec
fcde1cd
c96873e
24cd68d
6b205dc
8f2763e
131a602
fbdc913
ed8d4f7
41d35f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -199,9 +199,13 @@ indexer: | |
| # # service. Searchers require at least one `metastore_read_replica` node at | ||
| # # startup and do not fall back to the primary metastore. | ||
| # use_metastore_read_replica: false | ||
| # # Feuer fast-field RAM cache. Default 1G. Omitted while disk_cache | ||
| # # is set disables this cache; set a capacity explicitly to keep both. | ||
| # fast_field_cache_capacity: 1G | ||
| # split_footer_cache_capacity: 500M | ||
| # partial_request_cache_capacity: 64M | ||
| # # Feuer memory caches (also accept the legacy *_cache_capacity keys). | ||
| # # Set to zero to disable. Add disk settings as shown below for a disk tier. | ||
| # partial_request_cache: 64M | ||
| # predicate_cache: 256M | ||
| # max_num_concurrent_split_streams: 100 | ||
| # max_num_concurrent_split_searches: 100 | ||
| # aggregation_memory_limit: 500M | ||
|
|
@@ -210,6 +214,26 @@ indexer: | |
| # max_num_bytes: 1G | ||
| # max_num_splits: 10000 | ||
| # num_concurrent_downloads: 1 | ||
| # # Feuer cache for split footer and body ranges. Omitted or null disables it. | ||
|
PSeitz marked this conversation as resolved.
Resolved
|
||
| # # Disk-cache configurations require Linux, including disk_capacity: 0. | ||
|
PSeitz marked this conversation as resolved.
Resolved
|
||
| # # Feuer handles disk alignment internally; memory capacity is a soft target. | ||
|
PSeitz marked this conversation as resolved.
Resolved
|
||
| # # Shared directory; each cache has a distinct backing file and lock. | ||
| # # Per-cache path overrides remain supported. | ||
| # disk_cache_directory: /quickwit/qwdata/feuer-v1 | ||
| # disk_cache: | ||
| # disk_capacity: 1500GiB | ||
| # memory_capacity: 15GiB | ||
| # # Alternatively, replace the scalar result-cache settings above with: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. a disk cache with a memory capacity is a rare sight
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. renamed to
|
||
| # # Instances share disk I/O queues, but have independent budgets and files. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is there a way to actually control these disk io (iops or bw limit)? if not, it's not very relevant to say that they share io ressources, at some point they're going to go through the same io scheduler anyway
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. agree, there's no way to control I/O currently Feuer will prefer reads over writes and does limitation automatically |
||
| # # Fixed filenames: split_cache, partial_response_cache, predicate_cache. | ||
| # # memory_capacity (alias capacity) is the RAM budget. | ||
| # # Explicit policy and nonempty virtual_caches are unsupported with Feuer. | ||
| # partial_request_cache: | ||
| # memory_capacity: 64MiB | ||
| # disk_capacity: 20GiB | ||
| # predicate_cache: | ||
| # memory_capacity: 256MiB | ||
| # disk_capacity: 100GiB | ||
| # -------------------------------- Jaeger settings -------------------------------- | ||
|
|
||
| jaeger: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder what we want to do about deprecated config options like that, i think we want to remove them from the sample documentation (but keep them in the configuration docs until actually removed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my plan is to use their values for feuer
fast_field_cache_capacity + split_footer_capacity = feuer_capacity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented to as deprecated