JFFS2 access delay

"David Müller (ELSOFT AG)" d.mueller at elsoft.ch
Wed May 25 04:01:53 EDT 2005


Hello

Artem B. Bityuckiy wrote:
>> During this delay, "jffs2_gcd_mtd1" is consuming a large amount of
>> CPU time but the rest of the system seems to be well.

"ls" delay time goes up to over 6 minutes for a tar file containing 1000
files.

> This is normal JFFS2 behaviour (unfortunately). Just after mount
> JFFS2 starts checking process which consumes resources.

This is a little bit of a problem if your system's root file system is
on this partition, blocking the whole boot process :-(

What puzzles me is the fact that the tar file building process
triggers this "weak" point in JFFS2. Tar simply concatenates its input
files together and writes them to the output file (at least this is my
idea of how tar works). So on the file system level, i don't see much
of a difference between a functionality used by "tar" or by "cp". What
is so special about tar?

> What is the size of your flash?

The JFFS2 partition has 126MiB, the whole NAND flash has a size of 128MiB.


Dave




More information about the linux-mtd mailing list