[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E135921.1060606@inliniac.net>
Date: Tue, 05 Jul 2011 20:34:09 +0200
From: Victor Julien <victor@...iniac.net>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: "Loke, Chetan" <Chetan.Loke@...scout.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] packet: Add fanout support.
On 07/05/2011 08:26 PM, Eric Dumazet wrote:
>>>> What about a hashing scheme based on just the ip addresses? Would make
>>>> rxhash useless for this purpose, but would be a lot simpler overall maybe...
>>>>
>>>
>>> What about loads where a single IP address is used ?
>>
>> How would that be a problem?
>
> Say I want my program able to process 2.000.000 packets per second on my
> 64 cpu machine, but one cpu is only able to process 100.000 pps.
>
> All these packets are coming from IP1, and go to IP2, but thousand of
> different flows are in flight.
>
> We need hash function taking into account source port and destination
> port.
Point taken. I see no other way either.
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
--
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