- uses an event loop created with io_uring
- uses liburing https://github.com/axboe/liburing
- Linux 5.7 or higher with IORING_FEAT_FAST_POLL and IORING_OP_PROVIDE_BUFFERS required
git clone https://github.com/axboe/liburing
./configure
make
make install
git clone https://github.com/frevib/io_uring-echo-server.git
make io_uring_echo_server
./io_uring_echo_server [port_number]
https://github.com/frevib/epoll-echo-server
https://github.com/frevib/io_uring-echo-server/blob/io-uring-feat-fast-poll/benchmarks/benchmarks.md
- Use latest liburing from https://github.com/axboe/liburing
- Use IORING_OP_PROVIDE_BUFFERS
- Use IORING_FEAT_FAST_POLL, which increases performance a lot
- Remove all polling, this is now handled by IORING_FEAT_FAST_POLL
Fix bug that massively overstated the performance.
Use pre-allocated sqe->user_data
instead of dynamically allocating memory.
Fix memory leak.
Working release.