[dpdk-users] PKTGEN option to limit sending packets per second

Wiles, Keith keith.wiles at intel.com
Mon Apr 3 19:30:54 CEST 2017


> On Apr 3, 2017, at 11:59 AM, Chris Hall <chris.hall at stackpath.com> wrote:
> 
> Hello,
> 
> We are doing various tests using dpdk-pktgen. One thing we were looking at is sending a consent stream of packets at a specified number of pps over a period of time. Was wondering if this could be an added feature ? something like “set 0 pps N” ?  I’ve played with the rate/burst delay, etc.. but I can’t really put a cap on packets per second.

I have not thought about rate at PPS, but it is a good idea. I do not think it will be hard to do at least I do not think so :-)

At this time I send a burst of packets up to 32 at a time using an interval or cycles. Did you really want the packets spaced equally over the second or do you want the burst of packets to be used in the calculations. At very low PPS it is possible to have 1 packet per second. The reason for the burst size is to get the best performance, but if we space the single packets across time then getting to wire rate maybe hard.

> 
> Thanks much
> Chris
> 
> 

Regards,
Keith



More information about the users mailing list