Wireblast a 100 Gbps packet generator in Go using AF_XDP
- Infrastructure
- Networking
- Open Source
- Developer Tools
The post points to Wireblast, an open source packet generator in Go that uses AF_XDP to drive packets at 100 Gbps. AF_XDP is a Linux path for moving packets between user space and the network card with far less kernel overhead than the normal socket stack, which is why this is notable in a garbage collected language instead of the usual C plus DPDK setup. The practical takeaway from the comments is that the interesting part is not Go itself. It is that AF_XDP has matured into a much simpler way to build high-speed networking tools without the operational weight people associate with DPDK. Comments also sharpened the hardware story. One concern was that AF_XDP needs special NIC support, which would limit who can use it. The pushback was that for the kind of 100 GbE hardware this tool targets, Linux driver support is common enough that this is rarely the real blocker. And even without full driver support, generic AF_XDP can run at the traffic control layer with lower performance, which makes it usable for development setups like veth-based tests. The overall tone was upbeat. People saw this as a sign that high-rate packet generation is getting easier and more accessible.
If you build or test high-performance networking systems, AF_XDP now looks like the default place to start before reaching for DPDK. Also check whether your target environment can use driver-backed AF_XDP or only generic mode, because that decides how much of the headline performance you can actually expect.
-
toonk.io
- Discuss on HN