JFFS2: mount time, SUMMARY and gc.c ?

Artem B. Bityuckiy dedekind at infradead.org
Sat Jan 8 07:43:57 EST 2005


On Fri, 7 Jan 2005, Todd Poynor wrote:

> Steven Scholz wrote:
> 
> >>And this slows down the start up of important user applications.
> >>
> >>Would it help to enable CONFIG_PREEMPT?
> 
> It sounds like your apps need to write to an fs on flash and are blocked 
> on completion of the initial jffs2 gc pass, not that the cpu hogging is 
> blocking your apps.  If so, would suggest a separate partition with a 
> read-only fs (CramFS, etc.) for read-only data/executables (if not 
> already), maybe put /tmp and /var/tmp (or whatever dirs the apps are 
> writing to) in a ram fs such as tmpfs, and later copy 
> important/persistent data to jffs2 after everything's started up...
> 
If he have written something to fs and because of this have been blocked, 
CPU would have been consumed by the task which tried to write, not by the 
background task.But in his case the GC thread consumes CPU. So I don't 
think the problem is the early writing.

> -- 
> Todd
> 
> ______________________________________________________
> 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