From owner-freebsd-hackers Mon Mar 29 6:39: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cdsec.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id 8B07A14E92 for ; Mon, 29 Mar 1999 06:38:42 -0800 (PST) (envelope-from gram@cdsec.com) Received: (from nobody@localhost) by citadel.cdsec.com (8.8.8/8.6.9) id QAA10989 for ; Mon, 29 Mar 1999 16:38:21 +0200 (SAST) Received: by citadel via recvmail id 10987; Mon Mar 29 16:37:52 1999 Message-ID: <36FF9053.30685AD7@cdsec.com> Date: Mon, 29 Mar 1999 16:38:11 +0200 From: Graham Wheeler X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) MIME-Version: 1.0 To: hackers@freebsd.org Subject: Changing param.c for different environments Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I am currently using 2.2.7, but I imagine that this will apply to 3.x as well). The param.c file in /usr/src/sys/conf specifies a few linear dependencies between the configured MAXUSERS and the amount of mbuf space, timer callout table sizes, etc. It seems to me that this may be fine in many cases, but not necessarily appropriate when one is (for example) putting together a big machine dedicated to being a web server (say). How about having a config file variable specifying the type of use that the machine is intended for - e.g. dedicated web/file server, multi-user machine for software development, multi-user machine for mail serving, etc, and using this variable to adjust the values in param.c? Also, wouldn't it be better to make some of the values dependent on the amount of RAM, rather than fixed? Is this possible by tweaking param.c in an elementary fashion? -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Internet/Intranet Network Specialists Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message