You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A large part of CPU cycles in the benchmarks are spent on syscalls and the associated copying of data. We could (potentially) improve on this by leveraging io_uring through tokio-uring.
This should be gated by a feature and only possible on Linux platforms (if kernel is up-to-date).
For more information about tokio-uring check out the design document
The text was updated successfully, but these errors were encountered:
A good starting point here would be to run strace or get a flamegraph going to understand what syscalls we're doing most and how much time is spent on them. my intuition is that for network I/O the default epoll implementation will be hard to beat with io_uring, but I'm curious as well!
mempirate
changed the title
Reduce syscalls
Investigate tokio-uring usage
Nov 20, 2023
Context
A large part of CPU cycles in the benchmarks are spent on syscalls and the associated copying of data. We could (potentially) improve on this by leveraging io_uring through
tokio-uring
.This should be gated by a feature and only possible on Linux platforms (if kernel is up-to-date).
For more information about
tokio-uring
check out the design documentThe text was updated successfully, but these errors were encountered: