Code for experimenting with io_uring for network I/O.
- 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.
$ make
binaries Build all the binaries
clean Remove generated files
help This help
Run the echo server
./bin/simple_echo_server
Then run the test client
./bin/client -n 10000
$ ./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