chore: configurable SQLite cache size#10571
Open
calmh wants to merge 3 commits intosyncthing:mainfrom
Open
Conversation
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
|
You might want to look at the last commits in our PR: #10567 I just added an auto-tuning feature for cache_size in it based on what is theoretically needed to make the garbage collection tasks hit the cache reliably for their index usage. This is in test on our large folders system (just restarted Syncthing with this code). If it works properly I was still wondering if it should be :
As cache_size is effectively max_cache_size I'll monitor the RAM usage of our instance (using 7GiB for one folder and 2GiB for the other) to see if it is used and report here if you are interested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TBD