public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linux-mtd@lists.infradead.org
Cc: Matthieu CASTET <matthieu.castet@parrot.com>
Subject: Re: RO jffs2 implementation for bootloader
Date: Fri, 4 May 2007 13:53:42 +0200	[thread overview]
Message-ID: <200705041353.43372.sr@denx.de> (raw)
In-Reply-To: <463B02F5.6060503@parrot.com>

Hi Matthieu,

On Friday 04 May 2007 11:55, Matthieu CASTET wrote:
> > On Thu, 2007-05-03 at 08:40 +0000, Matthieu CASTET wrote:
> >> I need to mount a jffs2 partition in a bootloader. I tried u-boot that
> >> support jffs2, but it is very slow (2 minutes for mounting a 64MB
> >> partition). Do you know if there are other (fast) implemenation of jffs2
> >> suitable for a bootloader ?
> >
> > Not sure about any existing "fast" implementation, but mounting a JFFS2
> > partition is about scanning whole partition. You may optimize some
> > thing, but you have to scan anyway.
>
> Well u-boot implementation is very slow. For 64MB partition : 2 minutes
> for u-boot

This really is slow. 64MB isn't that big and shouldn't take that long to 
mount.

> and 11 s for linux (3s with summary). 

So it can be done better.

Did you think about improving the performance in U-Boot? If so, please let's 
move this discussion to the u-boot-users mailing list.

Thanks.

BTW: What cpu at what speed are you using?

Best regards,
Stefan

  parent reply	other threads:[~2007-05-04 11:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03  8:40 RO jffs2 implementation for bootloader Matthieu CASTET
2007-05-03  9:56 ` Artem Bityutskiy
2007-05-04  9:55   ` Matthieu CASTET
2007-05-04 10:26     ` Artem Bityutskiy
2007-05-04 11:53     ` Stefan Roese [this message]
2007-05-04 12:06       ` Matthieu CASTET
2007-05-04 12:07       ` Matthieu CASTET
2007-05-04 12:10       ` Matthieu CASTET
2007-05-04 12:23         ` [U-Boot-Users] " Stefan Roese
2007-05-04 14:03       ` Joakim Tjernlund
2007-05-03 16:07 ` 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=200705041353.43372.sr@denx.de \
    --to=sr@denx.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=matthieu.castet@parrot.com \
    /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