Date: Mon, 29 Mar 1999 11:53:19 -0800 From: Mike Smith <mike@smith.net.au> To: Graham Wheeler <gram@cdsec.com> Cc: hackers@freebsd.org Subject: Re: Changing param.c for different environments Message-ID: <199903291953.LAA00452@dingo.cdrom.com> In-Reply-To: Your message of "Mon, 29 Mar 1999 16:38:11 %2B0200." <36FF9053.30685AD7@cdsec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
FWIW, I am slowly pulling the items specified in param.c into such a shape that they can be individually tuned (from the bootloader). This is, unfortunately, going to be a 3+ -ism only. > 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 > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903291953.LAA00452>