This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: FW: Mount JFFS2 root file system issue
- From: "Chris Zimman" <czimman at bloomberg dot com>
- To: Jürgen Lambrecht <J dot Lambrecht at televic dot com>
- Cc: <ecos-discuss at sourceware dot org>
- Date: Wed, 26 Mar 2008 12:05:36 -0400
- Subject: RE: [ECOS] FW: Mount JFFS2 root file system issue
- References: <BBF94D674CC54C48B62BD0667061E8490199F71F@PAUMAILU02.ags.agere.com> <478763A3.6030302@mlbassoc.com> <BBF94D674CC54C48B62BD0667061E8490199F797@PAUMAILU02.ags.agere.com> <47878DAD.1020400@mlbassoc.com> <47EA70CE.5050109@televic.com>
> I am also struggling with JFFS2, and I did already a lot of tests.
> There more files you have in jffs2, the longer it takes to mount:
> - per inode, 16 B (static) or 24 B (dynamic) are written in RAM
> - per file, more or less 72 B (found by testing, I should check the
> jffs2 sources..) are written in RAM
> Also, during mounting, a garbage collect is done. As explained below,
> the file system (the journal) is then checked. And the bigger the
> flash,
> the more time it can take.
>
> Indeed, once the boot time is long, you can only solve it by formatting
> jffs2.
>
> I can reproduce this this way: I put 1000 files in 1 directory, then I
> delete 997 of them, and still mounting and also opening of 1 file takes
> very long. To go more in detail: mounting goes from 11s to 10s, but
> opening 1 file goes from 570ms to 820ms.
Just so you're aware, eCosCentric does provide a supported and working
version of JFFS2 with eCosPro.
--Chris
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss