top | item 44606774

(no title)

rockorager | 7 months ago

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.

discuss

order

tavianator|7 months ago

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

mshockwave|7 months ago

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

burntsushi|7 months ago

No, ripgrep doesn't use io_uring. Idk if it ever will.