3

Axboe: io_uring and networking in 2023

 1 year ago
source link: https://lwn.net/Articles/923369/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

io_uring and networking in 2023 [LWN.net]

User: Password: | |

Axboe: io_uring and networking in 2023

[Posted February 15, 2023 by corbet]
Jens Axboe has posted a detailed guide to improving the performance of networking applications with io_uring.
Network applications have been written with a readiness type of model for decades, most commonly using epoll(2) these days to get notified when a given socket has data available. While these applications can be adapted to io_uring by swapping epoll notifiers with io_uring notifiers, going down that path does not lead to an outcome that fully takes advantage of what io_uring offers. It’ll potentially provide a reduction of system calls compared to epoll, but will not be able to take advantage of some of the other features that io_uring offers. To do that, a change to the IO event loop must be done.

(Log in to post comments)

Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK