[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320614788.6506.38.camel@edumazet-laptop>
Date: Sun, 06 Nov 2011 22:26:28 +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 dimanche 06 novembre 2011 à 21:25 +0100, Paweł Staszewski a écrit :
> Yes with this is a little problem i think with kernel 3.1 because
> dmesg | egrep '(rhash)|(route)'
> [ 0.000000] Command line: root=/dev/md2 rhash_entries=2097152
> [ 0.000000] Kernel command line: root=/dev/md2 rhash_entries=2097152
> [ 4.697294] IP route cache hash table entries: 524288 (order: 10,
> 4194304 bytes)
>
>
Dont tell me you _still_ use a 32bit kernel ?
If so, you need to tweak alloc_large_system_hash() to use vmalloc,
because you hit MAX_ORDER (10) page allocations.
But considering LOWMEM is about 700 Mbytes, you wont be able to create a
lot of route cache entries.
Come on, do us a favor, and enter new era of computing.
--
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