compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

CQEs processing is not batched? #9

Closed redbaron closed 1 year ago

redbaron commented 1 year ago

I might be reading code wrong, but it seems that Driver::Poll makes syscall to fetch next CQEs, which partially negates benefits of using io_uring where multiple submissions and completions all can be handled in just one syscall.

Berrysoft commented 1 year ago

This will be added in the future. Marked.