less_slow.cpp icon indicating copy to clipboard operation
less_slow.cpp copied to clipboard

Faster `io_uring` RPC

Open ashvardanian opened this issue 9 months ago • 4 comments

The current minimalistic RPC implementation using io_uring avoids certain more advanced features:

  • IORING_REGISTER_BUFFERS - since 5.1
  • IORING_RECV_MULTISHOT or io_uring_prep_recvmsg_multishot - since 6.0
  • IORING_OP_SEND_ZC or io_uring_prep_sendmsg_zc - since 6.0
  • IORING_SETUP_SQPOLL - with IORING_FEAT_SQPOLL_NONFIXED after 5.11
  • IORING_SETUP_SUBMIT_ALL - since 5.18
  • IORING_SETUP_COOP_TASKRUN - since 5.19
  • IORING_SETUP_SINGLE_ISSUER - since 6.0

It would be great to have one more implementation that uses those newer features while running on a newer Linux kernel.

ashvardanian avatar Jan 25 '25 21:01 ashvardanian