[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1271426715.4606.97.camel@bigi>
Date: Fri, 16 Apr 2010 10:05:15 -0400
From: jamal <hadi@...erus.ca>
To: Andi Kleen <andi@...stfloor.org>
Cc: Andi Kleen <andi@...obates.de>, Tom Herbert <therbert@...gle.com>,
davem@...emloft.net, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v5] rfs: Receive Flow Steering
On Fri, 2010-04-16 at 15:42 +0200, Andi Kleen wrote:
> On Fri, Apr 16, 2010 at 09:32:06AM -0400, jamal wrote:
> > How are you going to schedule the net softirq on an empty queue if you
> > do this?
>
> Sorry don't understand the question?
>
> You can always do the flow as if rps was not there.
Meaning you schedule the other side netrx softirq if queue is empty?
> I meant an IPI to a sibling is not useful. You send it to the IPI
> to get cache locality in the target, but if the target has the same
> cache locality as you you can as well avoid the cost of the IPI
> and process directly.
>
Isnt the purpose of the IPI to signal remote side that theres something
for it to do? Does it also sync the remote cache?
> For thread sibling I'm pretty sure it's useless. Not full sure about
> socket sibling. Maybe.
>
Agreed, the SMT threads share L2. All the cores share L3. And it is
inclusive, so if it is missing it is in L1 of one thread it must be
present in L2 of shared cache as well as L3. Across the QPI i dont think
that is true.
But if you speacial case this - arent you being specific to Nehalem?
cheers,
jamal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists