From: Eric Dumazet <eric.dumazet@gmail.com>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: David Miller <davem@davemloft.net>,
Robert Olsson <Robert.Olsson@data.slu.se>,
netdev@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [RFC 0/4] pktgen patches
Date: Wed, 26 Aug 2009 08:54:33 +0200 [thread overview]
Message-ID: <4A94DC29.4070802@gmail.com> (raw)
In-Reply-To: <20090826061513.755294685@vyatta.com>
Stephen Hemminger a écrit :
> These are some experimental (not ready yet), patches to try and
> improve the pktgen timer code. Need some review by the hrtimer folks
> as well.
>
>
I'll try these in a couple of hours thanks.
As a followup on our other pktgen thread, if I switch my 3GHz cpu to 2GHz (powersave cpufreq),
then I get litle bit better pktgen throughput from my 1Gb/s tg3 link.
So getting pktgen looping faster (spending less time in kernel time services)
might actually slow down the trafic.
We might try to avoid any memory ops while waiting txq to become available,
and cpu_relax()/ndelay(500)/udelay(1) as much as possible, to free bus bandwidth ?
prev parent reply other threads:[~2009-08-26 6:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 6:15 [RFC 0/4] pktgen patches Stephen Hemminger
2009-08-26 6:15 ` [RFC 1/4] pktgen: convert to use ktime_t Stephen Hemminger
2009-08-26 6:15 ` [RFC 2/4] pktgen: spin using hrtimer Stephen Hemminger
2009-08-26 6:15 ` [RFC 3/4] pktgen: clock optimizations Stephen Hemminger
2009-08-26 6:15 ` [RFC 4/4] pktgen: minor cleanup Stephen Hemminger
2009-08-26 6:54 ` Eric Dumazet [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=4A94DC29.4070802@gmail.com \
--to=eric.dumazet@gmail.com \
--cc=Robert.Olsson@data.slu.se \
--cc=davem@davemloft.net \
--cc=mingo@elte.hu \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
--cc=tglx@linutronix.de \
/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).