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

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.


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

Search: