-
Notifications
You must be signed in to change notification settings - Fork 279
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
fifocache: make queue1 size configurable #21301
base: main
Are you sure you want to change the base?
Conversation
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.
Can you add comment in the PR description or in the issue (or linking issue), that what is the workload, what is the target/result that we hope this queue size to achieve, and what is the default, what is changed, and what is the impact to "general" workload.
Any I don't think the title of the PR is accurate -- I don't see any "configurable" parameters and it is still the magic /10, simply moved to a different place. It is fine to hard code magic numbers -- if we believe these numbers are reasonable and it does not make sense to let user/dba tune it. Actually this is preferred, the less knobs the better.
What type of PR is this?
Which issue(s) this PR fixes:
issue #20296
What this PR does / why we need it:
make queue1 larger for the disk cache to prevent too aggressively eviction