Re:Linux: IO without entering the kernel
by lima on Sunday December 16, 2018 @08:54AM
(#18693039)
This is basically how the entirety of DPDK using a poll-mode driver works. Each worker thread is doing busy polling on a shared memory segment, ensuring minimal packet processing latency.
[ Parent
| on HN ]
Re:Linux: IO without entering the kernel
by gpderetta on Sunday December 16, 2018 @11:18AM
(#18693676)
This is a bit different though. DPDK completely bypasses the kernel and userspace directly talks with the network adapter.
I think this is mostly for disk I/O and the userspace component still communicates with the kernel that controls the hardware and performs permission checks.
Re:Linux: IO without entering the kernel
by freebsd4me on Sunday December 16, 2018 @11:35AM
(#18693758)
So it’s like netmap for disk.