Add optional CLI parameter for Linux enable-liburing to use the async I/O library for increased send performance#767
Closed
phillip-stephens wants to merge 48 commits intomainfrom
Closed
Add optional CLI parameter for Linux enable-liburing to use the async I/O library for increased send performance#767phillip-stephens wants to merge 48 commits intomainfrom
enable-liburing to use the async I/O library for increased send performance#767phillip-stephens wants to merge 48 commits intomainfrom
Conversation
…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 :(
3c398fa to
b3f9848
Compare
Member
|
Given lack of improvement over |
This file contains hidden or 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
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-liburingis only available with select distros + versions + document what those versions are10gigE.mdfile--enable-liburingwith un-supported distros/versionsliburingcode flowsContext
liburingis the API library that wraps the underlyingio_uringLinux 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_uringbaked in. Additionally, the package managers of different distro versions will ship different versions ofliburing. Adding on to the confusion, the developers ofliburing/io_uringhave 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 toliburingmentions 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