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.03k stars 234 forks source link

How to efficiently sample packets to timestamp? #309

Open strNewBee opened 3 years ago

strNewBee commented 3 years ago

How to sample the timestamped packets? I modified the l3-load-latency(added more threads to send packets) and it can only receive a few timestamped packets, way less than the origin example. Is there something I should care about that might cause this?

Thank you in advance.