Skip to content

donaldh/io_uring_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published