Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.13 KB

README.org

File metadata and controls

51 lines (36 loc) · 1.13 KB

io_uring playground

Code for experimenting with io_uring for network I/O.

Prerequisites

  • A recent 5.x kernel (5.19 for multi-shot accept)
  • dnf install liburing-devel (or build from source for 5.19 features)

If you are using Fedora then I recommend Fedora 36 to get recent packages.

Build

$ make
binaries             Build all the binaries
clean                Remove generated files
help                 This help

Run

Run the echo server

./bin/simple_echo_server

Then run the test client

./bin/client -n 10000

Usage

$ ./bin/client --help
Usage: client [OPTION...]
Echo client

Usage: ./client

  -c, --concurrent=number    Number of concurrent requests
  -d, --debug                Provide debug output
  -h, --host=address         Address of host
  -n, --times=number         Repeat number of times
  -p, --port=number          Port number of echo service
  -?, --help                 Give this help list
      --usage                Give a short usage message