Subject: Re: [PATCH] rps: make distributing packets fairly among all the online CPUs default

From: Andi Kleen <[email-masked]>
Date: Tue, 23 Mar 2010 15:05:31 +0100

Changli Gao <[email-masked]> 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
-- 
[email-masked] -- Speaking for myself only.