4 ms·
How does this compare to netmap? http://info.iet.unipi.it/~luigi/netmap/ http://info.iet.unipi.it/~luigi/netmap/ netmap / VALE is a framework for high speed p
by nnx 12y ago
How does this compare to netmap?
http://info.iet.unipi.it/~luigi/netmap/ http://info.iet.unipi.it/~luigi/netmap/
netmap / VALE is a framework for high speed packet I/O.
Implemented as a kernel module for FreeBSD and Linux enabling memory mapped access to network devices.
- wmf 12y agoNetmap provides an efficient syscall API and mostly reuses existing kernel drivers. DPDK and Snabb bypass the kernel and just take control of the NIC from userspace.
- deadgrey19 12y agoOn of the serious drawbacks of Netmap is that it amortizes, but does not mitigate system call latencies. This means that although it can handle high packet rates, latencies for processing are dominated by the system call overhead (typically about 5us). This may not sound like much, but on a 10Gb/s network (1 bit = 0.1ns), 5us = 50,000bits or roughly 5KB. For small packets, this means that you have to batch very aggressively (about 150 packets at a time) in order to keep up.