netty5/transport-native-io_uring
Norman Maurer 0c823e7527
Add support for probing and so be able to detect if we can support (#10618)
io_uring on the running system.

Motivation:

We should make use of the provided support of probing in io_uring. This
can help us to test if we can use the io_uring based transport on the
running system or not. Beside this it also allows us to compile on linux
systems which don't support all of the required io_uring ops.

Modifications:

- Add native call for probing
- make use of probing when trying to init the native library and fail if
probing fails

Result:

Better detection if the system supports all needed io_uring features or
not
2020-09-28 17:42:15 +02:00
..

Netty io_uring

The new io_uring interface added to the Linux Kernel 5.1 is a high I/O performance scalable interface for fully asynchronous Linux syscalls

Requirements:

  • x86-64 processor
  • at least 5.9-rc4
  • to run the tests, you have to increase memlock(default 64K)

See our wiki page.