True, I can add a tunable for each of tcp, udp, raw, divert. What will happen when the system runs out of pcbs?
-----Original Message----- From: Don Lewis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:48 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Kernel tuning for large maxsockets 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. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"