From: Tom Herbert <therbert@google.com>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
eric.dumazet@gmail.com, Ingo Molnar <mingo@elte.hu>,
Paul Turner <pjt@google.com>
Subject: Re: [PATCH v4] rfs: Receive Flow Steering
Date: Fri, 16 Apr 2010 08:51:28 -0700 [thread overview]
Message-ID: <o2k65634d661004160851wc00c609p7136a22fd07503c1@mail.gmail.com> (raw)
In-Reply-To: <20100412171205.561a1aec@nehalam>
> There are two sometimes conflicting models:
>
> One model is to have the flow's be dispersed and let the scheduler
> be smarter about running the applications on the right CPU's where
> the packets arrive.
>
> The other is to have the flows redirected to the CPU where the application
> previously ran which is what RFS does.
>
> For benchmarks and private fixed configuration systems it is tempting
> to just nail everything down: i.e. use hard SMP affinity, for hardware, processes,
> and flows. But this is the wrong solution for general purpose systems with
> varying workloads and requirements. How well does RFS really work when
> applications, processes, and sockets come and go or get migrated among
> CPU's by the scheduler? My concern is this is overlapping scheduler
> design and might be a step backwards.
>
This is true. There is a fundamental question of whether scheduler
should lead networking or vice versa. The advantages of networking
following scheduler seem to become more apparent on heavily loaded
systems or with threads that handle more than one flow.
I'm not sure these two models have to be mutually exclusive, we are
looking at some ways to make a hybrid model.
The statement about pinning down resources is also true, we are
actively try to squash any instances this in our applications!
Tom
>
> --
>
next prev parent reply other threads:[~2010-04-16 15:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 0:03 [PATCH v4] rfs: Receive Flow Steering Tom Herbert
2010-04-13 0:12 ` Stephen Hemminger
2010-04-16 15:51 ` Tom Herbert [this message]
2010-04-16 17:33 ` Rick Jones
2010-04-16 17:59 ` Paul Turner
2010-04-16 18:32 ` Rick Jones
2010-04-13 8:45 ` Eric Dumazet
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=o2k65634d661004160851wc00c609p7136a22fd07503c1@mail.gmail.com \
--to=therbert@google.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=mingo@elte.hu \
--cc=netdev@vger.kernel.org \
--cc=pjt@google.com \
--cc=shemminger@vyatta.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).