From owner-freebsd-arch Wed Jul 25 9: 2:29 2001 Delivered-To: freebsd-arch@freebsd.org Received: from technokratis.com (modemcable052.174-202-24.mtl.mc.videotron.ca [24.202.174.52]) by hub.freebsd.org (Postfix) with ESMTP id F1D7F37B409; Wed, 25 Jul 2001 09:01:27 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by technokratis.com (8.11.3/8.11.3) id f6PG4d624254; Wed, 25 Jul 2001 12:04:39 -0400 (EDT) (envelope-from bmilekic) Date: Wed, 25 Jul 2001 12:04:39 -0400 From: Bosko Milekic To: "David O'Brien" Cc: Mike Silbersack , arch@FreeBSD.ORG, Matt Dillon , "David O'Brien" Subject: Re: cvs commit: src/sys/netinet tcp_usrreq.c Message-ID: <20010725120439.A24103@technokratis.com> References: <20010718121851.B26558@dragon.nuxi.com> <20010718214902.H6519-100000@achilles.silby.com> <20010724205513.H5825@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010724205513.H5825@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Tue, Jul 24, 2001 at 08:55:13PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 24, 2001 at 08:55:13PM -0700, David O'Brien wrote: > On Wed, Jul 18, 2001 at 10:04:45PM -0500, Mike Silbersack wrote: > > I think you're right in increasing the number of mbufs, but changing the > > scaling factor is probably the wrong way to do it; it will cause people > > with custom kernels to have many thousands more mbufs than they expect. > > > > In 4.x, the setting is currently at: > > (512 + MAXUSERS * 16) > > > > current was > > (1024 + MAXUSERS * 16) > > > > before your scaling change (to * 64). > > > > How about we instead change the constant amount, to perhaps: > > (2048 + MAXUSERS * 16) > > I am open to this change, but would like see others comment also on this > proposal. This means that the absolute theoretical minimum is increased. I don't see it as much of a problem except on machines with really low amount of RAM, but then those [rare] guys can use the boot-time tunables accordingly. > > (I'd like to do the scaling based on RAM size, > > but I don't have time at the moment.) > > Agreed. I started on a set of diffs, but have not had time to finish > them and test them. > > > Note that if we're increasing this, we should probably increase > > maxfiles/sockets - that's probably more important now. > > Any one else with an opinion on this? > > -- > -- David (obrien@FreeBSD.org) -- Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message