←back to thread

129 points ozgrakkurt | 1 comments | | HN request time: 0.216s | source
Show context
marginalia_nu ◴[] No.45156429[source]
I'm not very familiar with zig and was kind a struggling to follow the code and maybe that's why I couldn't find where the setting was being set up, but in case it's not, be sure to also use registered file descriptors with io_uring as they make a fairly big difference.
replies(1): >>45163298 #
1. ozgrakkurt ◴[] No.45163298[source]
I added registering file descriptors now.

It didn't make any difference when I was benchmarking with fio but I didn't use many threads so not sure.

I added it anyway since I saw this comment and also the io_uring document says it should make a difference.