netty5/transport-native-io_uring
Norman Maurer dd63d1c8d0
Allow to specify a callback that is executed once submit was called and (#10555)
use it for clearing the IovArrays

Motivation:

IOUringSubmissionQueue may call submit() internally when there is no
space left in the buffer. Once this is done we can reuse for example
IovArrays etc. Because of this its useful to be able to specify a
callback that is executed after submission

Modifications:

- Allow to specify a Runnable that is called once submission was
complete
- Use this callback to clear the IovArrays

Result:

IovArrays are automatically cleared on each submit call.
2020-09-09 17:18:47 +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.