4 ms·
> you have to use multiple rings and do everything else yourself Since you are supposed to use liburing, not the kernel interface directly, I guess somebody co
by LaLaLand122 4y ago
> you have to use multiple rings and do everything else yourself
Since you are supposed to use liburing, not the kernel interface directly, I guess somebody could add multithreading "support" to it.
Or at least add documentation/examples of the most common/performant options: https://github.com/shuveb/loti/issues/4 https://github.com/shuveb/loti/issues/4
AFAIR Windows IOCP handles multithreading by:
- Handling locking at kernel level, the syscall is thread safe
- Making it LIFO, to keep things in the same threads, to have a decent cache behaviour.
It's as simple as it gets.