←back to thread

lsr: ls with io_uring

(rockorager.dev)
335 points mpweiher | 1 comments | | HN request time: 0.21s | source
Show context
swiftcoder ◴[] No.44606976[source]
Kind of fascinating that slashing syscalls by ~35x (versus the `ls -la` benchmark) is "only" worth a 2x speedup
replies(3): >>44607779 #>>44608313 #>>44613022 #
Galanwe ◴[] No.44608313[source]
These syscalls are mostly through VDSO, so not very costly
replies(1): >>44609560 #
1. wahern ◴[] No.44609560[source]
The only VDSO-capable calls are clock_gettime, getcpu, getrandom, gettimeofday, and time. (Other architectures have some more, mostly related to signals and CPU cache flushing.)