[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320656922.2361.1.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Mon, 07 Nov 2011 10:08:42 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Paweł Staszewski <pstaszewski@...are.pl>
Cc: Linux Network Development list <netdev@...r.kernel.org>
Subject: Re: Linux Route Cache performance tests
Le lundi 07 novembre 2011 à 09:36 +0100, Paweł Staszewski a écrit :
> Yes after enabling NUMA I can change rhash_entries on kernel boot.
>
> And what is the most important for big route cahce is rhash_entries
> if route cache size exceed hash size performance will drop 6x to 8x
> So the best settings for route cache are:
> rhash_entries = gc_thresh = max_size
>
> Eric tell me what are the plans for removing route cache from kernel ?
> Because as You see with route cache performance is better
> And without route cache performance is not soo good than with route
> cache enabled but it is stable for all situations even DDOS with 10kk
> random_ips
>
> So for the feature we need to prepare for lower kernel IP forwarding
> performance because of no route cache ?
> Or removing route cache will save some time in IP stack processing ?
>
Obviously, cache removal will be possible only when performance without
it is the same.
Work is in progress, it started a long time ago.
--
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