Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 1998 10:36:08 +0200 (CEST)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Dusk Auriel Sykotik <syko@sykotik.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: FreeBSD in less than 4MB RAM 
Message-ID:  <Pine.NEB.3.95.980707102220.20507E-100000@korin.warman.org.pl>
In-Reply-To: <199807070816.BAA01682@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Jul 1998, Amancio Hasty wrote:

> Now, where is all the memory being allocated:
> 
> 1. kernel
  1.1 init
  1.2 fork()
> 2. small process 1
  2.1 fork()
> 3. small process 2
> 4. xxxx any other daemons that  you have running
  4.x fork()

...and you start seeing "small_process (pid xxx): killed" and "out of swap
space"...

But that was also my question - to have a way to check what portion of
memory is allocated to which structure... I'm afraid there is no generic
answer to this. 

Also, "kernel" above doesn't equal `size kernel` - there are disk buffers,
mbufs, stacks, and whatnot which are allocated on start; so its much
bigger.

> Also have you trimmed down the kernel?

If you mean "stripping" - yes.

What I forgot to add (sorry...) is that I'm primarily interested in
situations where there is no swap. This usually means there is no disk
and there is a MFS taking its sweet portion of RAM...

Andrzej Bialecki

--------------------+---------------------------------------------------------
abial@nask.pl       | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") }
Research & Academic | "Be open-minded, but don't let your brains to fall out."
Network in Poland   | All of the above (and more) is just my personal opinion.
--------------------+---------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.980707102220.20507E-100000>