4 ms·
does modern fuse still context switch too much or does it now use io_uring or similar?
by a-dub 2y ago
does modern fuse still context switch too much or does it now use io_uring or similar?
- Dwedit 2y agoLast I read about FUSE, adding a 128KB read-ahead buffer drastically reduced context switching.
- mappu 2y agoFUSE over io_uring is still WIP: https://lwn.net/Articles/988186/ https://lwn.net/Articles/988186/ FUSE Passthrough landed in kernel 6.9, which also reduces context switching in some cases: https://www.phoronix.com/news/Linux-6.9-FUSE-Passthrough https://www.phoronix.com/news/Linux-6.9-FUSE-Passthrough . The benchmarks in this article are pretty damning for regular FUSE.
- a-dub 2y agoyeah but still not great for metadata operations, no? i remember it was really not great for large sets of search paths because it defeated the kernel's built-in metadata caches with excessive context switching?
- Dwedit 2y agoFUSE Passthrough is only useful for filesystems that wrap an existing filesystem, such as union mounts. Otherwise, you don't have an open file to hand over.