Hi Peter, On Wed, Mar 9, 2016 at 8:28 PM, Peter Halaška <[email protected]> wrote: > Hello, > is there any way (or will be) to adjust pps using TX_RING? I want to specify > larger values, i.e. 5 million pps .. and that's impossible with 1 CPU. > > Thanks. > > Dňa pondelok, 21. decembra 2015 0:17:13 UTC+1 Vadim Kochan napísal(-a): >> >> Added -b,--rate option in units of: >> >> pps/B/KB/MB/kBit/Mbit/Gbit/KiB/MiB/GiB >> >> to specify rate at which packets will be sent. >> Similary to -t,--gap option the packets will be sent >> in slow mode with 1 CPU. >> >> Signed-off-by: Vadim Kochan <[email protected]> >> --- >> trafgen.8 | 4 ++ >> trafgen.c | 138 >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- >> 2 files changed, 133 insertions(+), 9 deletions(-) >>
Well, currently it only *shapes* (makes it slower by specified rate) traffic with only 1 CPU, may be it will be possible to distribute (divide) rate and do partial shaping separately on each CPU, but meanwhile I can't say if it will work OK, but I can experiment with it on next release. Regards, Vadim Kochan -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
