linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Petr Dusil <pdusil@razdva.cz>
Cc: linux-mm@kvack.org
Subject: Re: Reduce Linux memory requirements for an Embedded PC
Date: Sat, 24 Mar 2001 15:23:35 +0000	[thread overview]
Message-ID: <20010324152335.B11686@redhat.com> (raw)
In-Reply-To: <3ABC7008.B9EB4047@razdva.cz>; from pdusil@razdva.cz on Sat, Mar 24, 2001 at 10:59:36AM +0100

Hi,

On Sat, Mar 24, 2001 at 10:59:36AM +0100, Petr Dusil wrote:
> 
> memory as soon as possible, but again without starting any daemon only
> with bash running I got 7MB. I am asking you, is there any option to
> tell Linux kernel "save the memory" or what are the general
> recommendations to minimize amount of memory the kernel consumes?

First of all, bash and glibc are both fairly large chunks of code.
There are much smaller shells available, and there is at least one
miniature libc intended for embedded use.

Secondly, how are you booting the fs?  ramdisks (including initrd) are
fairly wasteful of memory if used as a root filesystem; ramfs for
writable data and cramfs for a static boot fs are much better choices.

Cheers, 
 Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

      parent reply	other threads:[~2001-03-24 15:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-24  9:59 Petr Dusil
2001-03-24 12:39 ` Andi Kleen
2001-03-24 16:21   ` Rik van Riel
2001-03-24 16:56     ` Ingo Oeser
2001-03-24 17:31       ` Rik van Riel
2001-03-24 19:06     ` Andrew Morton
2001-03-24 15:23 ` Stephen C. Tweedie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010324152335.B11686@redhat.com \
    --to=sct@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=pdusil@razdva.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox