From owner-freebsd-net Wed Mar 20 12:20:40 2002 Delivered-To: freebsd-net@freebsd.org Received: from patrocles.silby.com (d80.as14.nwbl0.wi.voyager.net [169.207.134.80]) by hub.freebsd.org (Postfix) with ESMTP id A0A3A37B41A for ; Wed, 20 Mar 2002 12:20:17 -0800 (PST) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g2KKIYjJ055199; Wed, 20 Mar 2002 20:18:34 GMT (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g2KKIW7J055196; Wed, 20 Mar 2002 14:18:33 -0600 (CST) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Wed, 20 Mar 2002 14:18:31 -0600 (CST) From: Mike Silbersack To: Jeff Roberson Cc: net@freebsd.org Subject: Re: Getting rid of maxsockets. In-Reply-To: <20020320143354.Y41335-100000@mail.chesapeake.net> Message-ID: <20020320141306.K54496-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Mar 2002, Jeff Roberson wrote: > Would anyone be upset if I got rid of maxsockets and consequently the > limits on the *pcb zones? This was previously used so that the zone > allocator could allocate items at interrupt time. Now you can just supply > M_NOWAIT/WAITOK and get the desired effect without a hard limit. > > Jeff We still need to cap the number of sockets somehow, as it would be bad for sockets to consume all memory. If you want to move the socket limit to someplace where it can be modified via a sysctl, that'd be great. As you're going through and UMAing everything, I think it'd be best if you kept the limits the same for now. Once everything's UMA'd, then we can develop new sizing parameters. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message