Kernel tuning for large maxsockets
Mike Silbersack
silby at silby.com
Tue Jul 15 15:39:14 PDT 2003
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
More information about the freebsd-net
mailing list