3 ms·
loadgen is a good first example program. That is a load generator that can transmit an arbitrarily large amount of traffic (hundreds of Gbps) from a trace file
by lukego 12y ago
loadgen is a good first example program. That is a load generator that can transmit an arbitrarily large amount of traffic (hundreds of Gbps) from a trace file using a negligible amount of CPU. This is practical and being used every day.
https://github.com/SnabbCo/snabbswitch/tree/master/src/designs/loadgen https://github.com/SnabbCo/snabbswitch/tree/master/src/desig...
Here is the driver hack that makes it possible:
https://github.com/SnabbCo/snabbswitch/blob/master/src/apps/intel/loadgen.lua https://github.com/SnabbCo/snabbswitch/blob/master/src/apps/...