From owner-freebsd-arch Fri Dec 7 18:27: 3 2001 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 74EE537B405; Fri, 7 Dec 2001 18:27:00 -0800 (PST) Received: from dialup-209.245.130.204.dial1.sanjose1.level3.net ([209.245.130.204] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16CXCd-0004Vn-00; Fri, 07 Dec 2001 18:26:59 -0800 Message-ID: <3C117A7B.C58E1654@mindspring.com> Date: Fri, 07 Dec 2001 18:27:07 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: arch@FreeBSD.org Subject: Re: Default value for maxusers References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Robert Watson wrote: > > While reviewing and updating the content of tuning(7), I noticed the > following text: > > The kern.maxusers tunable defaults to an incredibly low value. For most > modern machines, you probably want to increase this value to 64, 128, or > 256. [ ... ] > The first two sentences suggest that either we need to do one of the > following: > > (1) Update the default maxusers value in GENERIC to something larger > (perhaps 64), and remove the text from tuning(7), or... > > (2) Remove this text from tuning(7). You need to look at the code, and not just trust the tuning page. There are plenty of things that are based on the compilation time math that occurs, which will not change, should you modify the value using this tuning variable. In addition, there are things bound together that should not be; for example, the number of UDP and TCP connection reserves for pcb's for both protocols, which I broke apart with a patch posted to -current about 4 months ago. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message