Skip to content

anolis-os-archive/io_uring-echo-server

 
 

Repository files navigation

io_uring bare minimum echo server

Install and run

make liburing

make io_uring_echo_server

./io_uring_echo_server [port_number]

compare with epoll echo server

https://github.com/frevib/epoll-echo-server

Benchmarks

https://github.com/frevib/io_uring-echo-server/blob/io-uring-feat-fast-poll/benchmarks/benchmarks.md

Versions

v1.6

  • Use IORING_OP_PROVIDE_BUFFERS

v1.5

  • Use IORING_FEAT_FAST_POLL, which increases performance a lot
  • Remove all polling, this is now handled by IORING_FEAT_FAST_POLL

v1.4

Fix bug that massively overstated the performance.

v1.3

Use pre-allocated sqe->user_data instead of dynamically allocating memory.

v1.1

Fix memory leak.

v1.0

Working release.

About

io_uring echo server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.8%
  • Roff 10.2%
  • Makefile 2.3%
  • Shell 0.7%