syscons options and memory use

Ronald Klop ronald-freebsd8 at klop.yi.org
Wed Mar 30 23:54:08 PST 2005


On Thu, 31 Mar 2005 01:04:10 -0600, Dan Nelson <dnelson at allantgroup.com>  
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.

-- 
  Ronald Klop, Amsterdam, The Netherlands


More information about the freebsd-stable mailing list