From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Linux mtd <linux-mtd@lists.infradead.org>
Subject: Re: jffs2 memory usage and OOM killer
Date: Wed, 30 May 2007 12:01:46 +0200 [thread overview]
Message-ID: <465D4B8A.3050701@parrot.com> (raw)
In-Reply-To: <465A89D6.2050708@parrot.com>
Matthieu CASTET a écrit :
> Hi,
>
> On a system with 16 MB of ram (6700KB free at the time of mounting), I
> have a 50 MB jffs2 partition with a big file on it (30 MB). This file
> was uploaded with xmodem, and a dump of the partition show that the
> inode node are very small (128 o).
>
>
> After the file was uploaded on the jffs2 partition and a reboot :
>
> if I do a rw mount, the partition is mounted, but jffs2 memory usage
> increase until it eats all the memory and the system die (see jffs2_oom1
> attachement).
>
> if I do a ro mount, the partition is mounted (use 2MB of RAM), but if I
> list directory, jffs2 start to eat all memory until OOM killer is called
> (see jffs2_oom attachement).
>
>
> I know that jffs2 eats some memory, but I am impressed that it can eat
> so much memory.
>
Using git jffs2, allow to mount the fs without OOM. Now jfss2 eats 3MB.
Matthieu
next prev parent reply other threads:[~2007-05-30 10:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 7:50 jffs2 memory usage and OOM killer Matthieu CASTET
2007-05-30 10:01 ` Matthieu CASTET [this message]
2007-05-31 12:05 ` David Woodhouse
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=465D4B8A.3050701@parrot.com \
--to=matthieu.castet@parrot.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.