public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Russ Dill <Russ.Dill@asu.edu>
To: "Brian T." <btuch@usa.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: jffs2 compression question
Date: 17 Apr 2003 12:23:16 -0700	[thread overview]
Message-ID: <1050607396.30761.26.camel@russ.local> (raw)
In-Reply-To: <002001c30514$f78e78a0$150a0ac0@jbmsoft.com>


> I have jffs2 running on a 2.4.20 kernel custom Embedded box with 16MB ROM
> (Intel flash) and 32MB RAM.  The file system is about 52% full, and has
> about 22MB of free RAM.  When I copy 4 ~1.6MB programs over to the ROMFS I
> loose about 3MB of space with compression.  The system however also uses
> another ~3MB RAM once the files are done being copied.  My question is, when
> does (if ever) that 3MB RAM get freed up?  If I delete the files I just
> copied, the RAM appears to be freed up.   If I reboot the unit, the RAM gets
> reset back to the original 22MB RAM free.

linux tries not to let any RAM go to waste, so if there is free ram, it
uses it for caches and buffers. If you were to read these files again,
it would happen quickly because they are in RAM. If more RAM is needed
for other things, then less caches and buffers are used (see
/proc/meminfo for more info)

> Thanks for any insite.

don't worry, everything is working rite.

  reply	other threads:[~2003-04-17 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 19:10 jffs2 compression question Brian T.
2003-04-17 19:23 ` Russ Dill [this message]
2003-04-17 20:16 ` Thomas Gleixner

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=1050607396.30761.26.camel@russ.local \
    --to=russ.dill@asu.edu \
    --cc=btuch@usa.net \
    --cc=linux-mtd@lists.infradead.org \
    /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