2 ms·
Are you sure the perf may not be misleading? E.g. memory accesses might show up as slower die to CPU caches being flushed when switching between user and kerne
by nh2 2y ago
Are you sure the perf may not be misleading?
E.g. memory accesses might show up as slower die to CPU caches being flushed when switching between user and kernel space.
I would be extremely interested in a quick (standalone?) benchmark of e.g. 1M stats with vs without uring.
Also https://github.com/tdanecker/iouring-getdents https://github.com/tdanecker/iouring-getdents reports big uring speedups for getdents, which makes it surprising to get no speedups for stat.
If uring turns out fast, you might ignore (a), just doing the getdents first and then all stats afterwards. Since getdents is a "batch" syscalls covering many files anyway, but stat isn't.