Re: syscons options and memory use

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 03/31/05

  • Next message: Peter Wemm: "Re: Problems with AMD64 and 8 GB RAM?"
    Date: Thu, 31 Mar 2005 02:19:21 -0600
    To: Ronald Klop <ronald-freebsd8@klop.yi.org>
    
    

    In the last episode (Mar 31), Ronald Klop said:
    > On Thu, 31 Mar 2005 01:04:10 -0600, Dan Nelson <dnelson@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.

    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
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Peter Wemm: "Re: Problems with AMD64 and 8 GB RAM?"

    Relevant Pages

    • Re: syscons options and memory use
      ... In the last episode, Ronald Klop said: ... > " The following options will remove some features from the syscons ... > How much memory does this save? ... Not worth disabling on your system. ...
      (freebsd-stable)
    • Re: syscons options and memory use
      ... >> driver and save kernel memory. ... >> How much memory does this save? ... Not worth disabling on your system. ...
      (freebsd-stable)
    • Re: [C++] Array of variables that have size of one bit
      ... other techniques apply that can give great memory savings. ... This can actually take months to complite, because calculation ... want to look into compressing the bitmap. ...
      (alt.comp.lang.learn.c-cpp)
    • Re: limitations of forking on windows
      ... You might be thinking of MSDOS lower memory and upper memory, ... use MSDOS 640 kilobyte basic memory. ... kilobytes for classic MSDOS. ... All of this dates back to DOS 3.x and DOS 6.x versions, ...
      (comp.lang.perl.misc)
    • Re: FOAK File Associations
      ... When I started in this business, memory came in kilobytes ... > and disk drives came in megabytes. ...
      (uk.rec.motorcycles)