From owner-freebsd-arch Tue Jul 24 20:55:56 2001 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [206.40.252.115]) by hub.freebsd.org (Postfix) with ESMTP id 0D72337B401 for ; Tue, 24 Jul 2001 20:55:49 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f6P3tDR07945; Tue, 24 Jul 2001 20:55:13 -0700 (PDT) (envelope-from obrien) Date: Tue, 24 Jul 2001 20:55:13 -0700 From: "David O'Brien" To: Mike Silbersack Cc: arch@freebsd.org, Bosko Milekic , Matt Dillon , "David O'Brien" Subject: Re: cvs commit: src/sys/netinet tcp_usrreq.c Message-ID: <20010724205513.H5825@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20010718121851.B26558@dragon.nuxi.com> <20010718214902.H6519-100000@achilles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010718214902.H6519-100000@achilles.silby.com>; from silby@silby.com on Wed, Jul 18, 2001 at 10:04:45PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 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. > (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) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message