Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 1999 16:38:11 +0200
From:      Graham Wheeler <gram@cdsec.com>
To:        hackers@freebsd.org
Subject:   Changing param.c for different environments
Message-ID:  <36FF9053.30685AD7@cdsec.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36FF9053.30685AD7>