From owner-freebsd-stable@FreeBSD.ORG Thu Mar 31 08:19:23 2005 Return-Path: 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 9FC4E16A4CE for ; Thu, 31 Mar 2005 08:19:23 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE35E43D53 for ; Thu, 31 Mar 2005 08:19:22 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j2V8JLq1059830; Thu, 31 Mar 2005 02:19:22 -0600 (CST) (envelope-from dan) Date: Thu, 31 Mar 2005 02:19:21 -0600 From: Dan Nelson To: Ronald Klop Message-ID: <20050331081921.GF46288@dan.emsphone.com> References: <20050331070409.GD46288@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-stable@freebsd.org Subject: Re: syscons options and memory use X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 08:19:23 -0000 In the last episode (Mar 31), Ronald Klop said: > On Thu, 31 Mar 2005 01:04:10 -0600, Dan Nelson > wrote: > >In the last episode (Mar 31), Ronald Klop said: > >>The syscons manual page says: > >>" The following options will remove some features from the syscons > >> driver and save kernel memory. > >> [...] > >> SC_NO_SYSMOUSE > >> This option removes mouse support in the syscons driver. > >> The mouse daemon moused(8) will fail if this option is > >> defined. This option implies the SC_NO_CUTPASTE option > >> too. > >>" > >> > >>How much memory does this save (or how can I discover that)? Is it worth > >>it on a 96MB PentiumII laptop? > > > >I would guess that the memory savings is probably on the order of > >kilobytes. Useful if you're trying to prevent excessive swapping on an > >8MB system. Not worth disabling on your system. > > How can I see the size of my kernel? > I know vmstat -m and netstat -m, but from that info I don't see if I > reduced the memory footprint after disabling an option or device. For the kernel size itself, just "ls -l /boot/kernel/kernel" :) A more interesting number might be the output of "sysctl hw.usermem", which I believe is the amount of memory available to user processes. -- Dan Nelson dnelson@allantgroup.com