Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Experimental io_uring support #194

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

Draft
marty1885 wants to merge 10 commits into an-tao:master
base: master
Choose a base branch
Loading
from marty1885:experimental-iouring-support

Conversation

@marty1885
Copy link
Collaborator

@marty1885 marty1885 commented Dec 31, 2021
edited
Loading

This PR is still far from complete. But I want to make a PR to keep track of oy progress. And allow someone else to pick up my work in case I don't have time to finish it.

Current progress:

  • Adds a IoUringPoller that still works
    • Allow epoll to notify io_uring when events on epoll are ready
    • it does not have any performance benifit yet
    • Need to hook up io_uring for IO
  • Adds cmake detection for liburing
  • Detect older kernels and fallback to Epoll

System requirements:

  • Running Linux >= 5.6

an-tao reacted with thumbs up emoji
Copy link

uarif1 commented Sep 20, 2022

Hi @marty1885,

I was interested in the performance affect of io_uring in drogon and I guess this is the change that would be needed to test that.

Just wanted to check if this work was still progressing?

Also was curious why it didnt have any performance benifit?

Thanks!

Copy link
Collaborator Author

@uarif1 There's some progress that I haven't pushed. Basically fixing DB connectivity and add proper async IO. However, SSL isn't working and we need to port the current model into using BIO. The channel abstraction that Trantor uses is also broken. That also needs to be fixed to keep the codebase sane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /