public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <matthieu.castet@parrot.fr>
To: linux-mtd@lists.infradead.org
Subject: jffs2 Erase Block Summary overhead
Date: Thu, 15 Feb 2007 16:30:26 +0100	[thread overview]
Message-ID: <45D47C92.8080908@parrot.fr> (raw)

Hi,

after doing some test on a 64MB nand flash, we see that only 50 MB can 
be stored on the filesystem [1]. The extra 10 MB are taken by jffs2 summary.
If we disable jffs2 sumary in the kernel, the 10MB become available.

Is there a way to reduce this overhead ?
20 % seems really big.

May be Centralized Summary [3] give better result ?
What is its status ?

Matthieu

[1]
# time mount /dev/mtdblock3 -t jffs2 /tmp/mnt/ ; time cat 
/tmp/mnt/root/file.1 > /dev/null ; du -sh /tmp/mnt; df
real    0m 3.05s
user    0m 0.00s
sys     0m 3.05s
real    0m 0.34s
user    0m 0.01s
sys     0m 0.33s
50.6M   /tmp/mnt
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock3           61.5M     60.7M    832.0k  99% /tmp/mnt

[2]
# time mount /dev/mtdblock3 -t jffs2 /tmp/mnt/ ; time cat 
/tmp/mnt/root/file.1 > /dev/null ; du -sh /tmp/mnt; df
real    0m 11.30s
user    0m 0.01s
sys     0m 11.28s
real    0m 0.35s
user    0m 0.00s
sys     0m 0.33s
50.6M   /tmp/mnt
/dev/mtdblock3           61.5M     51.2M     10.3M  83% /tmp/mnt

[3]
http://www.inf.u-szeged.hu/jffs2/mount.php

             reply	other threads:[~2007-02-15 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15 15:30 Matthieu CASTET [this message]
2007-02-19 10:05 ` jffs2 Erase Block Summary overhead David Woodhouse
2007-02-19 10:58   ` Matthieu CASTET
2007-02-19 11:15     ` Matthieu CASTET
2007-02-19 11:10 ` Indrek Kruusa
2007-02-20  8:45   ` Matthieu CASTET

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=45D47C92.8080908@parrot.fr \
    --to=matthieu.castet@parrot.fr \
    --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