netty5/transport-native-io_uring
Norman Maurer b863aacad4 Correctly handle polling
Motivation:

We must correctly use the polling support of io_uring to reduce the number of events in flight + only allocate buffers if really needed. For this we should respect the different poll masks and only do the corresponding IO action once the fd becomes ready for it.

Modification:

- Correctly respect poll masks and so only schedule an IO event if the fd is ready for it
- Move some code for cleanup

Result:

More correct usage of io_uring and less memory usage
2020-08-28 17:00:03 +02:00
..
src Correctly handle polling 2020-08-28 17:00:03 +02:00
pom.xml Added io_uring JNI 2020-06-28 15:25:19 +02:00
README.md Add README 2020-08-28 10:13:43 +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.7.16+, 5.8.2+ or 5.9+

See our wiki page.