On Tue, Mar 31, 2015 at 05:28:11PM +0200, Tobias Klauser wrote:
> On 2015-03-31 at 11:29:58 +0200, Vadim Kochan <[email protected]> wrote:
> > From: Vadim Kochan <[email protected]>
> > 
> > Trafgen uses all the online cpus even if number of packets specified
> > by -n is less than numbers of selected cpus.
> > Such behaviour leads to issues:
> > 
> >     - trafgen re-calculates number of packets per cpu which
> >       leads to rounding it to 0 then no packets will be sent.
> > 
> >     - trafgen might send more packets than specified by -n because
> >       of using all the online cpus.
> > 
> > Fixed by calculation the minimum number of cpus for generation
> > number of packets specified by -n.
> > 
> > Signed-off-by: Vadim Kochan <[email protected]>
> 
> Applied with some minor modifications. Thanks!
> 
> -- 
> 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.

Yeah, I see you added comment, I remember you asked for this in the
previous RFC, but really I could not come up with a good explanation as
my English is not so good :-)

-- 
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.

Reply via email to