From owner-freebsd-net Wed Mar 20 13: 8:49 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 7086137B400 for ; Wed, 20 Mar 2002 13:08:43 -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 g2KL75jJ055416; Wed, 20 Mar 2002 21:07:05 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 g2KL758D055413; Wed, 20 Mar 2002 15:07:05 -0600 (CST) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Wed, 20 Mar 2002 15:07:05 -0600 (CST) From: Mike Silbersack To: Jeff Roberson Cc: net@freebsd.org Subject: Re: Getting rid of maxsockets. In-Reply-To: <20020320152915.Q41335-100000@mail.chesapeake.net> Message-ID: <20020320150144.G55299-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: > I have kept the current limits in place, but I think that it's somewhat > ugly to have this policy enforced in the allocator where it is hard to > adjust with a sysctl. Perhaps maxsockets could stay but become run time > adjustable. > > Is there any case where we will have lots of pcbs w/o sockets? If so, all > of the limits checking can be done in the socket code and the pcb code can > completely forget about it. I believe that the various pcb structures are tightly coupled to sockets, so checking only in the socket code should be safe. That would be a good change. > > Once everything's UMA'd, then we can develop new sizing parameters. > > Everything has been UMA'd other than MD code, so I'm working on making the > system take advantage of it. Ah, neat. I haven't cvsup'd in the last two weeks, so I have yet to play around with UMA. I was going to ask some more questions here, but it's probably best that I actually look at the code first. :) Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message