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

Use direct I/O with disk cache #457

Open
ivanyu opened this issue Nov 24, 2023 · 1 comment
Open

Use direct I/O with disk cache #457

ivanyu opened this issue Nov 24, 2023 · 1 comment
Assignees

Comments

@ivanyu
Copy link
Contributor

ivanyu commented Nov 24, 2023

The disk cache (obviously) reads and writes files. Currently, the files are open normally so they get into the OS page cache. Kafka heavily depends on the page cache for its consumer performance. A big read from the remote storage via the disk cache may wipe the hot local data from the page cache, thus affecting negatively non-remote consumer performance.

We should consider opening disk cache files in the direct I/O mode to not touch the page cache and make this behavior configurable.

@ivanyu ivanyu self-assigned this Nov 24, 2023
@funky-eyes
Copy link
Contributor

when is this feature expected to be available back?

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