Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 10:31:31 +0200
From:      Graham Wheeler <gram@cdsec.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@freebsd.org
Subject:   Re: Changing param.c for different environments
Message-ID:  <37008BE3.C4AC882B@cdsec.com>
References:  <199903291953.LAA00452@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
> 
> 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.

Still, that's good news (we won't use 2.2.7 for ever). It would still
be useful to have some real world examples from big sites. For example,
the Walnut Creek FTP server itself...

And does anyone know how these parameters are tuned in NetBSD and
OpenBSD? Are they also statically predefined before kernel compilation,
or tuneable at boot? And are they a function of MAXUSERS, or a more
complex function of MAXUSERS, available RAM, etc?

> > 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?37008BE3.C4AC882B>