4 ms·
How does one bypass the kernel for network and disk IO? I've never heard of doing this before (e.g. IO is always a system call)
by lastofus 11y ago
How does one bypass the kernel for network and disk IO? I've never heard of doing this before (e.g. IO is always a system call)
- acconsta 11y agoBasically mapping the device registers into user space and doing exactly what the kernel would do, but without the syscall overhead. Some researchers made a big splash at OSDI by doing this securely: http://people.inf.ethz.ch/troscoe/pubs/peter-arrakis-osdi14.pdf http://people.inf.ethz.ch/troscoe/pubs/peter-arrakis-osdi14....
- technion 11y agoOracle has long argued the value of bypassing the file system and associated kernel drivers with its raw devices and ASM. It'd be interesting to see such a thing land in other platforms.
- deleted 11y ago[deleted]
- glommer 11y agoFor network, the kernel is bypasses through dpdk. For disk, the syscalls are there. But they are always async IO with O_DIRECT. So the OS wont cache and buffer anything. So that is what you bypass