PacketShader

Sangjin Han, Keon Jang, KyoungSoo Park, Sue Moon

ACM SIGCOMM Computer Communication Review · 2010 · 215 citations · 28 references

Concepts

TL;DR

The paper introduces PacketShader, a GPU‑accelerated software router framework designed for high‑performance general packet processing. PacketShader leverages GPU parallelism and a high‑performance packet I/O engine to implement IPv4/IPv6 forwarding, OpenFlow switching, and IPsec tunneling, thereby overcoming CPU bottlenecks in software routing. Evaluation shows PacketShader achieves more than four‑fold throughput gains, forwarding 64‑byte IPv4 packets at 39 Gbps on a single commodity PC, and demonstrates that GPU acceleration yields significantly higher throughput than CPU‑only routing.

Abstract

We present PacketShader, a high-performance software router framework for general packet processing with Graphics Processing Unit (GPU) acceleration. PacketShader exploits the massively-parallel processing power of GPU to address the CPU bottleneck in current software routers. Combined with our high-performance packet I/O engine, PacketShader outperforms existing software routers by more than a factor of four, forwarding 64B IPv4 packets at 39 Gbps on a single commodity PC. We have implemented IPv4 and IPv6 forwarding, OpenFlow switching, and IPsec tunneling to demonstrate the flexibility and performance advantage of PacketShader. The evaluation results show that GPU brings significantly higher throughput over the CPU-only implementation, confirming the effectiveness of GPU for computation and memory-intensive operations in packet processing.

References

28