Motivation
Overhead Before Optimizations
- Analysis obtained using Iprobe
- Largest single overhead : copying and computing checksums.
Touching the data multiple times is expensive! Look into zero-copy sockets & checksum offloading
- Per-packet and interrupt overhead: also high.
Look at increasing network MTU to decrease the number of packets and/or other interrupt suppression techniques to reduce the number of hardware interrupts.
Miata receiver CPU utilization at 300Mb/s