Date: Tue, 15 Jul 2003 17:47:35 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: silby@silby.com Cc: freebsd-net@FreeBSD.org Subject: Re: Kernel tuning for large maxsockets Message-ID: <200307160047.h6G0lZM7030892@gw.catspoiler.org> In-Reply-To: <20030715173449.R18075@odysseus.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Jul, Mike Silbersack wrote: > > 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. I'd prefer separate tunables. I suspect that it is also common to have vastly different requirements for the numbers of TCP and UDP sockets.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307160047.h6G0lZM7030892>