From: "Wiles, Keith" <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "Wiles,
Keith" <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Bhavesh Davda <bhavesh-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH] examples: new txburst application
Date: Sat, 31 Jan 2015 23:47:23 +0000 [thread overview]
Message-ID: <D0F2C2DF.11699%keith.wiles@intel.com> (raw)
In-Reply-To: <3AD66C8B-4AF4-494C-8CDE-85DFFDE16C15-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On 1/30/15, 1:45 PM, "Wiles, Keith" <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>
>
>Sent from my iPhone
>
>On Jan 30, 2015, at 9:49 AM, Bhavesh Davda <bhavesh-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> wrote:
>
>>> Did you know pktgen-dpdk?
>>> http://dpdk.org/browse/apps/pktgen-dpdk/tree/README.md
>>>
>>> Do you think it could replace your application?
>>
>> [Bhavesh Davda] Yes, I regularly use pktgen-dpdk, and love the app
>>(thanks Keith!) but I couldn't quite get it to do this simplistic job of
>>generating a stream of X-byte UDP packets in burst of Y spread apart by
>>Z microseconds.
>
>Hmmm, sounds like an enhancement request to pktgen is needed here. I will
>look at adding it to pktgen and it is up to everyone if the example is
>reasonable to have. For me it does seem reasonable to include as it maybe
>simpler to setup, but if and when I can add that support to pktgen it may
>no longer be needed.
>
>Let me have a look at adding the support and will let you guys know next
>week.
Looking at the txburst code and your description needing to send a burst
of 220 byte UDP packets with an interval of 50us is mostly doable via
Pktgen. In Pktgen you can setup a packet 220+UDP+other parameters already
in single packet mode or sequence mode. You can set the rate at a given
percentage per second of packets, but you can not set the interval rate
between burst easily. The number of packets in a burst is also adjustable
via the burst command ¹set <portlist> burst <value>'.
Did I describe the problem here correctly?
The current percentage rate is in whole numbers in Pktgen may not be fine
enough gain rate for some tests. I do have in Pktgen a way to adjust the
time between burst of packets using a debug command to fine tune the
number of clock ticks (HPET) to a given number ¹set <portlist> tx_cycles
<value>', would that command be useful and solve your given test case?
The tx_cycles option is not listed in the help text :-) Maybe I should
make it not hidden.
>
>Thanks Keith
prev parent reply other threads:[~2015-01-31 23:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 18:32 [PATCH] examples: new txburst application Bhavesh Davda
[not found] ` <1416335575-30717-1-git-send-email-bhavesh-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2015-01-30 10:33 ` Thomas Monjalon
2015-01-30 16:29 ` Bhavesh Davda
[not found] ` <72e5096b3711419f93a9161a20c9fa11-kzjMWN3NnNCWIEBtBWqfuiWTkRzJkiQl@public.gmane.org>
2015-01-30 16:43 ` Thomas Monjalon
2015-01-30 16:48 ` Bhavesh Davda
[not found] ` <e679dd353cf2450ea98f459bf042db43-kzjMWN3NnNCWIEBtBWqfuiWTkRzJkiQl@public.gmane.org>
2015-01-30 19:45 ` Wiles, Keith
[not found] ` <3AD66C8B-4AF4-494C-8CDE-85DFFDE16C15-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-31 23:47 ` Wiles, Keith [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=D0F2C2DF.11699%keith.wiles@intel.com \
--to=keith.wiles-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=bhavesh-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.