JFFS2: mount time, SUMMARY and gc.c ?

Artem B. Bityuckiy dedekind at infradead.org
Fri Jan 7 14:40:16 EST 2005


On Fri, 7 Jan 2005, Steven Scholz wrote:

> Artem B. Bityuckiy wrote:
> 
> >>But still why is it done everytime I boot my target?
> > 
> > This is how JFFS2 implemented. It skips nodes CRC checking during mount 
> > and does this lated in background. Actually, you can't write anything to 
> > your flash untill the GC thread (jffs2_gcd_mtd0) have not completed 
> > checking. But you may read from JFFS2 during that checking process.
> 
> Well but "in background" means 99.9% of cpu time!
And  the job the thread performs seems to be CPU-boud (it checks CRCs). 
Thus, isn't it normal to eat a lot of CPU cycles? 

> And this slows down the start up of important user applications.
> 
> Would it help to enable CONFIG_PREEMPT?
> 
> --
> Steven
> 
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list