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

possible to implement io uring? #1319

Closed
hiqsociety opened this issue Mar 2, 2022 · 4 comments
Closed

possible to implement io uring? #1319

hiqsociety opened this issue Mar 2, 2022 · 4 comments

Comments

@hiqsociety
Copy link

https://github.com/bytedance/monoio

@djc
Copy link
Member

djc commented Mar 2, 2022

Yes, this should be possible. I'd probably try tokio-uring before monoio but quinn-proto should allow you to build it anyway you like.

@hiqsociety
Copy link
Author

monoio definitely faster than tokio uring coz it's thread per core concept.

@Ralith
Copy link
Collaborator

Ralith commented Mar 4, 2022

Note that this isn't necessarily a performance win, and may compromise conformance. For example, I'm not sure if generic receive offload is supported by io_uring yet, and that's an important contributor to making heavy UDP workloads fast. Full correctness parity will also require support for setting/getting ECN flags and the local IP address packets are addressed from/to.

That said, I'd be happy to provide guidance to someone interested in exploring this.

@Ralith
Copy link
Collaborator

Ralith commented May 27, 2022

Closing as a dup of #915.

@Ralith Ralith closed this as completed May 27, 2022
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

3 participants