emmericp / MoonGen

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

Is there a way or related work to control the distribution of flow length generated by MoonGen? #307

Closed GrehXscape closed 3 years ago

GrehXscape commented 3 years ago

How can I create traffic with MoonGen following distributions like heavy-tail ? The examples seems to tend to create flows with equal length. Any help will be appreciated.

emmericp commented 3 years ago

The idea is to write your own code for your requirements. We don't have any example for this type of distribution but it should be easy enough to add