Re:Line rate 10Gbit/s packet processing on FreeBSD with netmap
by codepoet on Wednesday June 15, 2011 @06:57AM
(#2656595)
Great! Maybe you could compare this with http://www.ntop.org/PF_RING.html for Linux?
[ Parent
| on HN ]
Re:Line rate 10Gbit/s packet processing on FreeBSD with netmap
by lrizzo on Wednesday June 15, 2011 @08:04AM
(#2656727)
The "old" pf_ring is only meant for packet capture and involves packet copies, so it is several times slower than netmap. There is a newer "Direct Network Access" (DNA) version of pf_ring which avoids copies and has the same performance of netmap, but is much more fragile because in DNA the userspace program writes directly into the NIC registers and rings (so it can crash the entire OS), whereas in netmap the NIC programming is filtered by system calls.