Commit d1c39a16 authored by Florian Fischer's avatar Florian Fischer
Browse files

use batch size 3

parent 37a38b80
Pipeline #82248 passed with stage
in 13 minutes and 43 seconds
BENCH_MAIN := bench.c BENCH_MAIN := bench.c
SYSCALLS := blocking epoll \ SYSCALLS := blocking epoll \
paio_sig paio_thrd linux_aio \ paio_sig paio_thrd linux_aio \
io_uring io_uring_batch io_uring_sqpoll io_uring_no_syscall io_uring io_uring_batch3 io_uring_sqpoll io_uring_no_syscall
OBJ := $(addprefix bench-,$(SYSCALLS)) OBJ := $(addprefix bench-,$(SYSCALLS))
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
struct io_uring ring; struct io_uring ring;
static const unsigned BATCH_SIZE = 10; static const unsigned BATCH_SIZE = 3;
void init(__attribute__((unused)) int fd) { void init(__attribute__((unused)) int fd) {
int res = io_uring_queue_init(BATCH_SIZE, &ring, 0); int res = io_uring_queue_init(BATCH_SIZE, &ring, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment