auto tuning tcp

Andre Oppermann oppermann at networx.ch
Mon Nov 12 18:01:11 UTC 2012


On 12.11.2012 18:43, Alfred Perlstein wrote:
>
>
> On Nov 12, 2012, at 1:27 AM, Andre Oppermann <oppermann at networx.ch> wrote:
>
>> On 12.11.2012 09:52, Alfred Perlstein wrote:
>>> On 11/11/12 11:28 PM, Andre Oppermann wrote:
>>>> On 12.11.2012 08:10, Alfred Perlstein wrote:
>>>>> I noticed that TCBHASHSIZE does not autotune.
>>>>>
>>>>> What do you think of the following algorithm?
>>>>>
>>>>> Basically round down to next power of two based on nmbclusters / 64.
>>>>
>>>> Please wait out for a real fix of the various mbuf-whatever tuning
>>>> issue I'll propose shortly.  This approach may become inapproriate.
>>>> Also the mbuf limits can be changed at runtime by sysctl.
>>>>
>>> What is the timeline you are asking for to wait?
>>
>> http://svnweb.freebsd.org/changeset/base/242910
>
> Very cool!
>
> So instead of nmbclusters, will maxsockets work?  Ideas/suggestions?

I've already added the tunable "kern.maxmbufmem" which is in pages.
That's probably not very convenient to work with.  I can change it
to a percentage of phymem/kva.  Would that make you happy?

-- 
Andre



More information about the freebsd-net mailing list