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

Experimental io_uring support #194

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

marty1885
Copy link
Collaborator

@marty1885 marty1885 commented Dec 31, 2021

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

@uarif1
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!

@marty1885
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants