JFFS2: mount time, SUMMARY and gc.c ?
Steven Scholz
steven.scholz at imc-berlin.de
Fri Jan 7 13:36:53 EST 2005
Hi there,
I am using linux-2.6.10 with recent MTD CVS and the SUMMARY patch on an embedded
ARM9 system (150MHz core, 48MHz SDRAM) with 8MB NOR flash as root fs.
The SUMMARY patch actually reduced the mount time - the time between
NET: Registered protocol family 1
NET: Registered protocol family 17
and
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 72K
- from 6 to less then 1 second (710ms)! :-)
But then before
init started: BusyBox v1.00 (2005.01.04-08:42+0000) multi-call binary
appears still "nothing" happens for around 8 seconds.
I noticed that "jffs2_gcd_mtd0" is heavily running after boot consuming much time.
gc.c:jffs2_garbage_collect_pass() gets called very often - 596 times!
Why is that garbage collection running everytime I boot my target!?!?
Is there anything I can do about it?
Thanks a million!
--
Steven Scholz
More information about the linux-mtd
mailing list