3 ms·
Another example would be userspace network drivers that directly talk to the network card. Those tend to be much more performant than using the kernel driver du
by roblabla 5y ago
Another example would be userspace network drivers that directly talk to the network card. Those tend to be much more performant than using the kernel driver due to avoiding the need to context switch from userspace to kernelspace.
- zibzab 5y agoIs that really true in pratice (excluding unikernels, of course)?
- MayeulC 5y agoAren't we making userspace/kernel space communication a lot more efficient with io-uring, though? Likewise, eBPF allows userspace programs to perform some work inside kernel space to reduce syscalls. I wonder if io-uring won't be a starting point for a "microkernelization" of Linux. It seems really effective as a message-passing interface.
- pjmlp 5y agoLook at Android' Project Treble, that is what Google has done, just with Android IPC instead of io-uring.