Wireblast: A 100 Gbps Packet Generator in Go with AF_XDP
Wireblast a 100 Gbps packet generator in Go using AF_XDP
Andree Toonk, a network engineer who loves pushing packets to their limits in software, introduces Wireblast, a new open-source tool that generates traffic at line rate using Go and AF_XDP. The post details how Wireblast leverages AF_XDP's high-performance packet processing capabilities to achieve 100 Gbps throughput, and includes benchmark results and comparisons with other methods like DPDK. It's a must-read for anyone interested in high-speed networking and Go.
If you've followed my blog for a while, you know I love tinkering with packets and making them go fast in software.
- mjevans
https://toonk.io/wireblast-building-a-line-rate-packet-gener...
- spaceywilly
That’s very interesting, thank you for sharing. Looks like it could be a very useful tool for testing high performance networking.
I wonder if something similar could be done using TC BPF instead of AF_XDP? My only reservation about AF XDP is that it requires a special NIC to support it, so it may not be useful for a “regular Joe” user. I wonder if TC BPF would also work since it similarly bypasses the Kernel networking stack, I believe you can put packets directly into the NIC TX queue for transmission
- bgpdude
The video demo is pretty neat as well