Skip to content

Commit 498d8c2

Browse files
committed
Increase the io_uring completion queue size to resolve warnings and improve the plaintext test performance
``` io.netty.channel.uring.IoUringIoHandler processCompletionsAndHandleOverflow vertx: WARNING: CompletionQueue overflow detected, consider increasing size: 4096 ``` This is still one warning when the value is set to 8192 as tested on my device, instead of many for the default 4096.
1 parent 3b4302a commit 498d8c2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frameworks/Kotlin/vertx-web-kotlinx/vertx-web-kotlinx-postgresql.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ CMD export JAVA_OPTS=" \
2828
-Dio.netty.noUnsafe=false \
2929
-Dio.netty.buffer.checkBounds=false \
3030
-Dio.netty.buffer.checkAccessible=false \
31+
-Dio.netty.iouring.ringSize=16384 \
3132
" && \
3233
build/install/vertx-web-kotlinx-benchmark/bin/vertx-web-kotlinx-benchmark true

frameworks/Kotlin/vertx-web-kotlinx/vertx-web-kotlinx.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ CMD export JAVA_OPTS=" \
2828
-Dio.netty.noUnsafe=false \
2929
-Dio.netty.buffer.checkBounds=false \
3030
-Dio.netty.buffer.checkAccessible=false \
31+
-Dio.netty.iouring.ringSize=16384 \
3132
" && \
3233
build/install/vertx-web-kotlinx-benchmark/bin/vertx-web-kotlinx-benchmark false

0 commit comments

Comments
 (0)