Date: Wed, 24 May 2006 10:17:58 -0400 From: Vivek Khera <vivek@khera.org> To: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: semi-custom kernel (was Re: PostgreSQL uses more memory on 6.1?) Message-ID: <F41BB0BD-119C-4806-B170-89E8EAEA2FC3@khera.org> In-Reply-To: <b41c75520605232334ifb3cd59lcd6e562a7cdde323@mail.gmail.com> References: <200605231531.18092.kirk@strauser.com> <200605231713.22363.jkim@FreeBSD.org> <200605231719.56164.jkim@FreeBSD.org> <200605231636.27463.kirk@strauser.com> <4473ADF7.4080101@paradise.net.nz> <b41c75520605232334ifb3cd59lcd6e562a7cdde323@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-4-521870498 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 24, 2006, at 2:34 AM, Claus Guttesen wrote: > Thank you. I wasn't aware that one could alter sysctl's. I might dive > into that, makes kernel-maintenance a tiny bit easier. Boy does it. I've recently combined all my custom kernels into a single semi-custom configuration (actually two, one for SMP and one for UP) and adjust the sysctls either at sysctl.conf or at loader.conf depending on which needs to be where to adjust resources needed by certain servers. For example, the DB servers I set the SHM and SEM settings, on the internal not-connected-to-internet boxes, I disable the firewall via sysctl, etc. I also push into kld's the rarely used devices such as CD-ROM, floppy drive, USB keyboard, gmirror, which are used on only a handful of machines. Then I load the ones I need via loader.conf so they are probed at boot. The CDROM and floppy modules are loaded on demand (ie, basically never on a server) --Apple-Mail-4-521870498--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F41BB0BD-119C-4806-B170-89E8EAEA2FC3>