From: Andi Kleen <andi@firstfloor.org>
To: Changli Gao <xiaosuo@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Tom Herbert <therbert@google.com>,
netdev@vger.kernel.org, Ben Hutchings <bhutchings@solarflare.com>
Subject: Re: [PATCH] rps: make distributing packets fairly among all the online CPUs default
Date: Tue, 23 Mar 2010 15:05:31 +0100 [thread overview]
Message-ID: <874ok7dtg4.fsf@basil.nowhere.org> (raw)
In-Reply-To: <412e6f7f1003230303l69fc142ey1581fff4c3e749be@mail.gmail.com> (Changli Gao's message of "Tue, 23 Mar 2010 18:03:22 +0800")
Changli Gao <xiaosuo@gmail.com> writes:
>
> I do think distributing packets fairly among all the online CPUs will
> helps most of users. I remember the smp_affinity of IRQ is the
> online_cpu_mask be default.
The established wisdom is that most apps prefer locality.
The cost of data transfer between CPUs is worse than the
overhead of processing the packet header in the stack.
That's why no system does interrupt RR by default anymore.
Besides if you do such a change you would need extensive benchmarking
to verify that it's a good idea.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
prev parent reply other threads:[~2010-03-23 14:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 6:24 [PATCH] rps: make distributing packets fairly among all the online CPUs default Changli Gao
2010-03-23 7:20 ` Eric Dumazet
2010-03-23 9:56 ` Changli Gao
2010-03-23 11:23 ` Eric Dumazet
2010-03-23 11:27 ` Changli Gao
2010-03-23 7:27 ` Eric Dumazet
2010-03-23 10:03 ` Changli Gao
2010-03-23 11:38 ` Eric Dumazet
2010-03-23 11:58 ` Changli Gao
2010-03-23 13:06 ` Eric Dumazet
2010-03-23 19:09 ` David Miller
2010-03-23 14:05 ` Andi Kleen [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=874ok7dtg4.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=bhutchings@solarflare.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
--cc=xiaosuo@gmail.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 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).