logoalt Hacker News

rockoragerlast Friday at 4:40 PM2 repliesview on HN

Oh that's cool. `find` is another tool I thought could benefit from io_uring like `ls`. I think it's definitely worth enabling io_uring for single threaded applications for the batching benefit. The kernel will still spin up a thread pool to get the work done concurrently, but you don't have to manage that in your codebase.


Replies

tavianatorlast Friday at 4:57 PM

I did try it a while ago and it wasn't profitable, but that was before I added stat() support. Batching those is probably good

mshockwavelast Friday at 5:10 PM

and grep / ripgrep. Or did ripgrep migrate to using io_uring already?

show 1 reply