Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
syscall-eval
Commits
d1c39a16
Commit
d1c39a16
authored
May 18, 2022
by
Florian Fischer
Browse files
use batch size 3
parent
37a38b80
Pipeline
#82248
passed with stage
in 13 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d1c39a16
BENCH_MAIN
:=
bench.c
SYSCALLS
:=
blocking epoll
\
paio_sig paio_thrd linux_aio
\
io_uring io_uring_batch io_uring_sqpoll io_uring_no_syscall
io_uring io_uring_batch
3
io_uring_sqpoll io_uring_no_syscall
OBJ
:=
$(
addprefix
bench-,
$(SYSCALLS)
)
...
...
io_uring_batch.c
→
io_uring_batch
3
.c
View file @
d1c39a16
...
...
@@ -7,7 +7,7 @@
struct
io_uring
ring
;
static
const
unsigned
BATCH_SIZE
=
10
;
static
const
unsigned
BATCH_SIZE
=
3
;
void
init
(
__attribute__
((
unused
))
int
fd
)
{
int
res
=
io_uring_queue_init
(
BATCH_SIZE
,
&
ring
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment