cmazakas / rio

io_uring runtime written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update TCP server to use `io_uring_prep_multishot_accept()`

cmazakas opened this issue · comments

On Linux kernels 5.19 and higher, multishot accept creates a long-standing accept() SQE that'll continuously generate CQEs without the need for continual SQEs which reduces syscall overhead.