On Thu, Nov 24, 2016 at 11:57 AM, Slawomir Mika <xsla...@gmail.com> wrote: > Hi, > > I really would like to use trafgen tool for my throughput test. I am trying > to set both bandwidth and number of cpus but in this combination it does not > work. What am I doing wrong? > > trafgen --dev gre1 -b 10Gbit -P 2 --conf trafgen_ip_udp_gre1_100.cfg > 1 packets to schedule > 96 bytes in total > Running! Hang up with ^C! > > ^C > 1269598 packets outgoing > 121881408 bytes outgoing > 1 sec, 174204 usec on CPU0 (1269598 packets) > > I can see that trafgen is still using one core instead of two... why? > > I would appreciate your help. > > Best Regards. > > -- > 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 netsniff-ng+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. Well, it behaves similary to the "-t, --gap" option it enforces to use 1 CPU. Really "-b" option just shapes (limits) the traffic rate at which trafgen can xmit the packets. I think that may be we can change to distribute the rate between other CPUs, I need to think about it how it can help. 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 netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.