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

Direct I/O on Linux and macOS #3064

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Direct I/O on Linux and macOS #3064

merged 2 commits into from
Sep 27, 2024

Conversation

nazar-pc
Copy link
Member

We already had logic and tests written, so might as well take advantage of it.

Still waiting for feedback from community, but this should reduce bandwidth, memory and even CPU usage a bit since less work is being done. My testing shows non-negligible improvement in disk read bandwidth, but we'll see what others have to say.

Code contributor checklist:

@nazar-pc
Copy link
Member Author

Looks like memory allocation also needs to be aligned on Linux, which accidentally is always the case on my machine, but was not the case in CI

@nazar-pc
Copy link
Member Author

@nazar-pc nazar-pc added this pull request to the merge queue Sep 26, 2024
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Merged via the queue into main with commit 257958a Sep 27, 2024
9 checks passed
@nazar-pc nazar-pc deleted the direct-io-linux-macos branch September 27, 2024 00:24
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

Successfully merging this pull request may close these issues.

3 participants