X Tutup
The Wayback Machine - https://web.archive.org/web/20201116192355/https://github.com/nodejs/node/issues/34388
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

Add experimental support for io_uring #34388

Open
puzpuzpuz opened this issue Jul 16, 2020 · 2 comments
Open

Add experimental support for io_uring #34388

puzpuzpuz opened this issue Jul 16, 2020 · 2 comments

Comments

@puzpuzpuz
Copy link
Member

@puzpuzpuz puzpuzpuz commented Jul 16, 2020

Recent Linux kernel (5.1+) includes io_uring, a more efficient alternative to epoll. We could benefit from it and get a performance improvement in heavy network I/O scenarios.

Of course, in Node.js case we need changes made in libuv. There is an ongoing experiment aimed to add support for io_uring in libuv: libuv/libuv#2322

As this feature should be experimental (at least initially), io_uring mode could be activated under a new flag.

The goal of this issue is to improve visibility of the libuv experiment and gather some feedback.

@mcollina
Copy link
Member

@mcollina mcollina commented Jul 16, 2020

I’m happy to benchmark this if we have a matching Node PR. It’s very interesting!

@puzpuzpuz
Copy link
Member Author

@puzpuzpuz puzpuzpuz commented Jul 16, 2020

@mcollina no, we don't have a Node.js counterpart PR yet. But I hope to submit one once I find out status of the libuv PR. Will post any updates here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.
X Tutup