Subject: Re: X server freezes when doing cvs up or untarring large files
To: None <>
From: Peter Bex <>
List: netbsd-users
Date: 10/28/2005 16:22:13
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 28, 2005 at 12:41:55PM +0100, wrote:
> Below is what I have in /etc/sysctl.conf on my desktop machine
> #reset to min values to avoid invalid argument errors
> vm.anonmin=3D1
> vm.anonmax=3D1
> vm.execmin=3D1
> vm.execmax=3D1
> vm.filemin=3D1
> vm.filemax=3D1
> #set to real values
> vm.anonmin=3D80
> vm.anonmax=3D95
> vm.execmin=3D10
> vm.execmax=3D60
> vm.filemin=3D1
> vm.filemax=3D1

As I understand it, these values are typical for a certain usage profile.
Would it be a too wild idea to let sysinst ask the user what the system's
intended purpose is, and then install a matching /etc/sysctl.conf?

For example, the above values will be put in sysctl if the user answers
'generic desktop', certain other values if the user answers 'webserver',
'streaming media server', 'mailserver', etc.

To obtain the best values, people could send in the sysctl settings they
experienced as most satisfactory for a certain type of computer and then
take the average values and use these as profiles.

I'm not very knowledgeable on this subject, so I'm curious if this is

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
							-- Donald Knuth

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.2 (NetBSD)