From owner-freebsd-stable@FreeBSD.ORG Wed May 24 14:18:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBC8A16A566 for ; Wed, 24 May 2006 14:18:39 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2AD943D70 for ; Wed, 24 May 2006 14:18:12 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 5770BB826 for ; Wed, 24 May 2006 10:18:01 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: 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> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-4-521870498; protocol="application/pkcs7-signature" Message-Id: From: Vivek Khera Date: Wed, 24 May 2006 10:17:58 -0400 To: FreeBSD Stable X-Mailer: Apple Mail (2.750) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: semi-custom kernel (was Re: PostgreSQL uses more memory on 6.1?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 14:18:42 -0000 --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--