MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.04k
stars
235
forks
source link
Mellanox ConnectX-5 and hardware timestamping #278
After this, I've made a traffic generator and it works without timestamping. I'm able to generate 50Gb/s of UDP traffic this way. I'd like to add hardware timestamps for RTT and jitter detection. When I attempt to use the timestamping module I get the following error at runtime:
/root/repos/MoonGen/build/../libmoon/lua/device.lua:477: tx timestamping is not supported by the hardware or driver
I wasn't able to find information online regarding this. I'm not sure if its not suported, or if there is an alternative API for the Mellanox ConnectX-5.
I'm running with MoonGen build from the git repo:
I've used the mlnxofedinstall tool to install the Mellanox dependencies
and I initialize my environment as follows:
After this, I've made a traffic generator and it works without timestamping. I'm able to generate 50Gb/s of UDP traffic this way. I'd like to add hardware timestamps for RTT and jitter detection. When I attempt to use the timestamping module I get the following error at runtime:
I wasn't able to find information online regarding this. I'm not sure if its not suported, or if there is an alternative API for the Mellanox ConnectX-5.