Commit Graph

5 Commits

Author SHA1 Message Date
Norman Maurer
ca8c4538c1
Ensure we can compile io_uring transport on systems that have linux kernel < 5.1 (#10619)
Motivation:

While we need to have a very recent kernel to run the io_uring transport itself we should allow to compile it with earlier versions to help with our build story.

Modifications:

- Ensure we can compile on "older systems"
- Just enable the profile when we build on linux

Result:

Less complicated to build io_uring transport
2020-09-29 13:09:04 +02:00
Norman Maurer
5bd6611c0e
Explicit need to specify -Piouring-native to compile the native bits … (#10546)
Motivation:

At the moment our CI can not build and run the native bits for the iouring transport so we should just not compile this at the moment. The java classes itself should still be compiled tho

Modifications:

Add explicit profile to compile native bits of iouring

Result:

CI passes with iouring transport
2020-09-09 09:50:36 +02:00
Josef Grieb
962a3433ca Added io_uring JNI
Motivation:

prototype is not buildable and JNI io_uring implementation is missing

Modifications:

-added io_uring implementation(source from https://github.com/axboe/liburing)
-eventloop stores netty io_uring pointer which is used for two ring buffers to execute events like read and write operations in JNI
-memory barriers already included in JNI(will be changed in the future)
-pom file adopted from native epoll

Result:

prototype can finally be built
2020-06-28 15:25:19 +02:00
Josef Grieb
187ec6dffd Cleanup
Motivation:
licenses and netty dependencies are missing

Modification:
added licenses and netty dependencies

Result:
netty io_uring is buidable
2020-06-26 09:18:36 +02:00
Josef Grieb
07e2e23a7d Draft - Add native io_uring transport
Motivation:
to get a better feeling of how it could be implemented

Result:
- cant be build yet -> still work in progress
2020-06-19 13:01:33 +02:00