DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] pktgen send a burst, then wait
@ 2016-06-09  9:09 Marko Niinimaki
  2016-06-09 11:10 ` Andriy Berestovskyy
  0 siblings, 1 reply; 2+ messages in thread
From: Marko Niinimaki @ 2016-06-09  9:09 UTC (permalink / raw)
  To: users

Hi,

pktgen is a great tool, but a bit too fast. I'm using it for sending
requests to a server and I'd need to wait for replies to populate a cache
in-between. So, I'd like to send a burst of 100 packets, then wait for some
milliseconds, repeat.
What would be the nicest way of implementing this?

Best regards.
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] pktgen send a burst, then wait
  2016-06-09  9:09 [dpdk-users] pktgen send a burst, then wait Marko Niinimaki
@ 2016-06-09 11:10 ` Andriy Berestovskyy
  0 siblings, 0 replies; 2+ messages in thread
From: Andriy Berestovskyy @ 2016-06-09 11:10 UTC (permalink / raw)
  To: Marko Niinimaki; +Cc: users

Hi Marko,
pktgen supports LUA scripts and there are few examples.

Alternatively you can use "set <port> rate <value>" command.

Or you can use any other packet generator (even flood ping). All of
them will do 100 packets per few ms easily.

Andriy


On Thu, Jun 9, 2016 at 11:09 AM, Marko Niinimaki <manzikki@gmail.com> wrote:
> Hi,
>
> pktgen is a great tool, but a bit too fast. I'm using it for sending
> requests to a server and I'd need to wait for replies to populate a cache
> in-between. So, I'd like to send a burst of 100 packets, then wait for some
> milliseconds, repeat.
> What would be the nicest way of implementing this?
>
> Best regards.
> Mark



-- 
Andriy Berestovskyy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-09 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09  9:09 [dpdk-users] pktgen send a burst, then wait Marko Niinimaki
2016-06-09 11:10 ` Andriy Berestovskyy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).