[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091006.223518.235187454.davem@davemloft.net>
Date: Tue, 06 Oct 2009 22:35:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: rick.jones2@...com, netdev@...r.kernel.org
Subject: Re: [PATCH] udp: extend hash tables to 256 slots
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 07 Oct 2009 07:33:09 +0200
> David Miller a écrit :
>>
>> That's incredible that it's been that low for so long :-)
>>
>> Bug please, dynamically size this thing, maybe with a cap of say 64K
>> to start with. If you don't have time for it I'll take care of this.
>
>
> Well, we can not exceed 65536 slots, given the nature of UDP protocol :)
>
> Do you mean a static allocation at boot time with a size that can be
> overidden in cmdline(like tcp and ip route),
>
> or something that can dynamically extends hash table at runtime ?
I mean dynamically size it between 256 and 65536 slots at boot time,
based upon memory size.
--
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