Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks like it only support files right now, could io_uring work for network FDs? If so, can it reach performance close to kernel bypass (eg. DPDK) ?


Yes, io_uring supports network io. Kernel 5.5 added support for accept, but you have to wait till 5.7 before you can string together an accept followed by a read(v). I still haven't seen much in the way of hard numbers, yet, but theoretically it should be darn quick. If you're using preregistered buffers there's no copying needed, and if you ask the kernel nicely it will spin up a thread to monitor the submission queue so you don't even need syscalls after setup.


Author here:

To add to what couchand said, there are already comparisons of io_uring with SPDK and they are pretty close. So I would expect near about the same result for DPDK too.

https://www.youtube.com/watch?v=vjudg0lCEhQ




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: