DPDK usage discussions
 help / color / mirror / Atom feed
From: Andriy Berestovskyy <aber@semihalf.com>
To: Marko Niinimaki <manzikki@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] pktgen send a burst, then wait
Date: Thu, 9 Jun 2016 13:10:58 +0200	[thread overview]
Message-ID: <CAOysbxpU4ait24YHANS7ayOurH4130VMzHPEJvS_qDXJ9a7M2g@mail.gmail.com> (raw)
In-Reply-To: <CAMfE_jfy1XfXJWBeF-qM9sAPx74Xrvy1Xz_5KCLEjNmCViVLpQ@mail.gmail.com>

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

      reply	other threads:[~2016-06-09 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09  9:09 Marko Niinimaki
2016-06-09 11:10 ` Andriy Berestovskyy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOysbxpU4ait24YHANS7ayOurH4130VMzHPEJvS_qDXJ9a7M2g@mail.gmail.com \
    --to=aber@semihalf.com \
    --cc=manzikki@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).