Netmap for Linux
Netmap for Linux
Posted Mar 12, 2012 7:58 UTC (Mon) by lrizzo (guest, #83442)In reply to: Netmap for Linux by ajb
Parent article: Netmap for Linux
netmap is completely different from PF_RING/PF_PACKET. The only common part is that they all use memory mapped buffers, but in addition to that, netmap uses many additional techniques (preallocation of buffers, getting rid of skbufs, much leaner inner loops in device drivers) to get a ten-fold speedup compared to PF_RING/PF_PACKET on the same hardware.
In terms of performance only PF_RING/DNA matches netmap, but at the price of unprotected access to the card (userspace directly plays with the NIC registers) and device-specific libraries.
In terms of performance only PF_RING/DNA matches netmap, but at the price of unprotected access to the card (userspace directly plays with the NIC registers) and device-specific libraries.
