Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 1995 11:31:39 -0700 (PDT)
From:      Archie Cobbs <archie@tribe.com>
To:        questions@freebsd.org
Subject:   Re: 2.0.5 Eager to go into swap
Message-ID:  <199508051831.LAA02979@bubba.tribe.com>

next in thread | raw e-mail | index | archive | help

In all the confusion, I missed the answers to a couple of questions
I had regarding the memory situation... I also have a new one... :-)

1. I wrote:
   > How hard would it be to replace the existing malloc() with GNU malloc()?

   I assume this would entail rebuilding libc... perhaps we can "reorder" it
   in the process (based on ... ?).

   This is not theoretical, I'd really like to do this.

2. I wrote:
   > On a related note, does the kernel ever promise more memory than it
   > can actually deliver? Or do all calls to malloc() reserve swap (at least)?
   > In either case, is this behavior configurable?

   It didn't sound like this was configurable, but I just want to
   check and make sure.

3. Finally, it would be nice to see a "free" command like Linux has.
   For example:

     $ free
                  total       used       free     shared    buffers
     Mem:         11324      11148        176       3084       6024
     Swap:        52412          0      52412

   [ This isn't the best example because no swap is currently being used,
   but you get the idea ]  Can we add this? I'll write the program if
   someone shows me where to get this information (from pstat?).

Thanks,
-Archie





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508051831.LAA02979>