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

effect on write cache #46

Open
chrcoluk opened this issue Aug 22, 2020 · 1 comment
Open

effect on write cache #46

chrcoluk opened this issue Aug 22, 2020 · 1 comment

Comments

@chrcoluk
Copy link

So I am considering this to control a service I use that pollutes the read cache with data that will get no hits or very low hit rate, sadly the service has no O_DIRECT feature. I am hoping this wil do what I want.

However my concern is if it also disables write cache akin to fsync I only want to disable read caching.

Is this possible, and if no can it be patched in?

@hhoffstaette
Copy link

You shuld be able to combine nocache with eatmydata, which will disable fsync and therefore prevent nocache from uncaching files that are under writeback. You will then successfully pollute your memory with writeback data. :)

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

No branches or pull requests

2 participants