Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 17:38:39 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Scot Loach <sloach@sandvine.com>
Cc:        "'freebsd-net@freebsd.org'" <freebsd-net@freebsd.org>
Subject:   Re: Kernel tuning for large maxsockets
Message-ID:  <20030715173449.R18075@odysseus.silby.com>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C8533701AE8534@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C8533701AE8534@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 15 Jul 2003, Scot Loach wrote:

> Is there any reason I should not modify the kernel code to only let a small,
> fixed number of raw and divert pcbs be preallocated instead of having them
> scale with maxsockets?

Your idea is sound.

> Next, does this seem like a generally useful thing that could be rolled back
> into the source tree?  I could make this a kernel option or a tunable sysctl
> variable.
>
> thanks
>
> Scot Loach

A tunable maximum for each of those settings sounds good, that should fit
well in subr_param.c.  Send me your patch when it's done, and I'll look
into incorporating it.

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715173449.R18075>