JFFS2 behaviour when large number of files are created.

Jan Vestby vestby at alfanett.no
Tue Oct 19 14:16:02 EDT 2004


On Monday 18 October 2004 18:28, David Ho wrote:
> Hi all,
>
> I have a snapshot of the CVS MTD/JFFS2 code from Sept 22 patched into a
> 2.4.24 kernel.  In the process of running a varied set of applications on
> the system, a program was creating a large number of small files each less
> than 1KB.  The Linux card is powered up for a short period of time to dump
> data to persistent storage, then it is powered down for until the next data
> dump.  As the sytem is run, the mount is becoming slower to a point that
> the watchdog is reset the card.
>
> It appears that JFFS2 is bad for certain usage patterns.  Creating large
> number of files is one.  What other usage patterns should I avoid?
>
I have seen startup time is quite nonlinear with respect to the number of 
files per directory. You could try to restrict the size of directories.

regards
jan vestby 




More information about the linux-mtd mailing list