3 ms·
> did not talk to operating system (Linux) after it started (no syscalls at all) and used full kernel bypass to talk to NIC That's really interesting... How do
by matheusmoreira 6y ago
> did not talk to operating system (Linux) after it started (no syscalls at all) and used full kernel bypass to talk to NIC
That's really interesting... How does it work? How can a user space program talk to the NIC directly without using system calls? Shared memory?
- eru 6y agoSome Googling suggests https://blog.cloudflare.com/kernel-bypass/ https://blog.cloudflare.com/kernel-bypass/
- clappski 6y agoA lot of NIC manufactures provide either some hooks into something like DPDK or simple LD_PRELOADable libraries that offload the network syscalls (socket, poll, recv, etc.) into a library that talks to the NIC directly using mmap'd IO I presume.
- deleted 6y ago[deleted]