Re: syscons options and memory use

From: Peter Jeremy (PeterJeremy_at_optushome.com.au)
Date: 03/31/05

  • Next message: Mikhail Godovitcin: "USB JetFlash"
    Date: Thu, 31 Mar 2005 19:17:52 +1000
    To: Ronald Klop <ronald-freebsd8@klop.yi.org>
    
    

    On Thu, 2005-Mar-31 09:53:59 +0200, Ronald Klop 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?

    It basically removes scmouse.c, sysmouse.c and a largish chunk of code in
    scvgarndr.c - my estimate is about 9KB. You can probably do better looking
    elsewhere. For loadable devices, looking at the module size is a good
    guideline.

    >How can I see the size of my kernel?

    server% size /boot/kernel/kernel
       text data bss dec hex filename
    3045945 229911 978784 4254640 40ebb0 /boot/kernel/kernel
    server%

    Remember that this doesn't include dynamic memory allocated by the
    kernel which can be quite significant. Look at the "real memory"
    and "avail memory" lines in your boot dmesg to get a better idea
    of the basic kernel memory requirements.

    -- 
    Peter Jeremy
    _______________________________________________
    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: Mikhail Godovitcin: "USB JetFlash"

    Relevant Pages

    • RE: server problems
      ... This newsgroup only focuses on SBS technical issues. ... >Thread-Topic: server problems ... >> web proxy service or SQL Server will normally use large memory. ...
      (microsoft.public.windows.server.sbs)
    • Re: Allocated Memory alerts
      ... If you do not encounter any real server performance issue, ... the high memory usage is expected. ... The Health monitor is running on the SBS server. ... A memory allocation threshold is configured on the particular monitored ...
      (microsoft.public.windows.server.sbs)
    • Re: FTS Performance in SQL 2005
      ... I don't think you have left enough memory for the OS and MSSearch. ... Looking for a SQL Server replication book? ... Looking for a FAQ on Indexing Services/SQL FTS ...
      (microsoft.public.sqlserver.fulltext)
    • RE: server problems
      ... > web proxy service or SQL Server will normally use large memory. ... > the SBS server and sends the alert when the value reaches the threshold. ...
      (microsoft.public.windows.server.sbs)
    • Re: Alocated Memory Error (SQLSERVR)
      ... but my understanding is that the MSDE instances are designed to ... and you don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory usage. ... Server 2000 SP4, ...
      (microsoft.public.windows.server.sbs)