Subject: Re: X server freezes when doing cvs up or untarring large files
To: None <netbsd-users@netbsd.org>
From: Peter Bex <Peter.Bex@student.ru.nl>
List: netbsd-users
Date: 10/28/2005 16:22:13
--HLsZ5Z1opAQvdr2J
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, segv@netctl.net wrote:
> Below is what I have in /etc/sysctl.conf on my desktop machine
>=20
> #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
>=20
> #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
desirable/achievable.

Regards,
Peter
--=20
http://www.student.ru.nl/peter.bex
--
"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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDYjQVLg33BXzVMqsRApLEAJ9uyDE/U/l/Nzh/wFBkSUgSB1s+mwCfW6cB
E3Wk6lKWtEVw1KG51p1aV9k=
=4FMd
-----END PGP SIGNATURE-----

--HLsZ5Z1opAQvdr2J--