-
Notifications
You must be signed in to change notification settings - Fork 902
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
Add optional CLI parameter for Linux enable-liburing
to use the async I/O library for increased send performance
#767
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…y, need to check performance
… to cleanup tho. Performance is looking real good
…or modifying a struct rather than a pointer to a struct)
…bmitted to kernel, so updated to deal with that
…ead is maxed out at 426 Kp/s tho
… up compile errors
… free sqe function
…hen being imported by another file :(
phillip-stephens
force-pushed
the
phillip/liburing
branch
from
May 23, 2024 17:51
3c398fa
to
b3f9848
Compare
Given lack of improvement over |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Scratch Space as I clean up this PR
Todo
enable-liburing
is only available with select distros + versions + document what those versions are10gigE.md
file--enable-liburing
with un-supported distros/versionsliburing
code flowsContext
liburing
is the API library that wraps the underlyingio_uring
Linux async I/O library. It provides an elegant interface to submit I/O tasks asynchronously to the kernel, vastly improving networking performance.Various linux distros ship with various linux kernels, each of which has a different version of
io_uring
baked in. Additionally, the package managers of different distro versions will ship different versions ofliburing
. Adding on to the confusion, the developers ofliburing
/io_uring
have changed, updated, and added features rapidly over the past couple years. This means a guide written 2 years ago may very well be out-of-date. A small example is how this otherwise great guide toliburing
mentions how to use submission queue polling, you must register the file handlers before. This isn't true in recent versions.Takeaway here is I'll need to test what versions have the features our code uses and list these as
Supported Liburing/io_uring Versions