From: Ben Greear <greearb@candelatech.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Robert Olsson <Robert.Olsson@data.slu.se>,
hadi@cyberus.ca, netdev@oss.sgi.com
Subject: Re: inter-packet gap in pktgen
Date: Tue, 07 Dec 2004 14:47:15 -0800 [thread overview]
Message-ID: <41B632F3.1090104@candelatech.com> (raw)
In-Reply-To: <20041207222522.GA30266@xi.wantstofly.org>
Lennert Buytenhek wrote:
> By tweaking the 'ipg' parameter I can generate pretty much any packet rate
> I want, as long as I set ipg=(1e9/rate)-496 instead of something possibly
> more straightforward.
That 496 will also change with load on the system, at least on average. I
dealt with this by having a user-space app sample the rate and adjust the ipg
to keep the average rate where I want it.
So, I'd suggest leaving the ipg as it is, and use external tools to get
the exact pps that you are looking for.
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2004-12-07 22:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 22:25 inter-packet gap in pktgen Lennert Buytenhek
2004-12-07 22:47 ` Ben Greear [this message]
2004-12-08 7:38 ` Lennert Buytenhek
2004-12-08 10:21 ` Robert Olsson
2004-12-08 11:15 ` Lennert Buytenhek
2004-12-08 19:32 ` Ben Greear
2004-12-10 22:29 ` Lennert Buytenhek
2004-12-10 23:01 ` Ben Greear
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=41B632F3.1090104@candelatech.com \
--to=greearb@candelatech.com \
--cc=Robert.Olsson@data.slu.se \
--cc=buytenh@wantstofly.org \
--cc=hadi@cyberus.ca \
--cc=netdev@oss.sgi.com \
/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.