Jffs2 and big file = very slow jffs2_garbage_collect_pass

David Woodhouse dwmw2 at infradead.org
Thu Jan 17 18:22:21 EST 2008


On Thu, 2008-01-17 at 17:26 +0100, Jörn Engel wrote:
> 
> Impressive!  JFFS2 may be slow, but it shouldn't be _that_ slow.  Not
> sure who cares enough to look at this.  My approach would be to 
> $ echo t > /proc/sysrq_trigger
> several times during those 12 minutes and take a close look at the
> code
> paths showing up.  Most likely it will spend 99% of the time in one
> place.

I was going to suggest booting with 'profile=1' and using readprofile,
which is a slightly more reliable way of getting the same information.

-- 
dwmw2




More information about the linux-mtd mailing list