Skip to content
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

dist: sysctl: increase vm.vfs_cache_pressure #14509

Closed
wants to merge 1 commit into from

Conversation

avikivity
Copy link
Member

Our usage of inodes is dual:

  • the Index.db and Data.db components are pinned in memory as the files are open
  • all other components are read once and never looked at again

As such, tune the kernel to prefer evicting dcache/inodes to memory pages. The default is 100, so the value of 2000 increases it by a factor of 20.

Ref #14506

Our usage of inodes is dual:

 - the Index.db and Data.db components are pinned in memory as
   the files are open
 - all other components are read once and never looked at again

As such, tune the kernel to prefer evicting dcache/inodes to
memory pages. The default is 100, so the value of 2000 increases
it by a factor of 20.

Ref scylladb#14506
@scylladb-promoter
Copy link
Contributor

@avikivity
Copy link
Member Author

@xemul please review

@mykaul
Copy link
Contributor

mykaul commented Jul 13, 2023

I assume we should backport it?

@avikivity
Copy link
Member Author

No, we avoid backporting non-regression-fixes. In any case this has the potential to reduce stability and should get considerable soak time.

@denesb
Copy link
Contributor

denesb commented Dec 15, 2023

@avikivity this got some soak time. Will we backport this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants