JFFS2 performance problem with large number of files in one directory

Marcin Adamski mass85 at tlen.pl
Fri Apr 5 13:13:06 EDT 2013


Hi

I use JFFS2 on top of NAND flash in my Linux working on ARM processor. I noticed that issuing "rm *" in directory containing a lot (i.e. 150000) of small files (about 20kB), causes JFFS2 process consume almost 100% of CPU. This state lasts about 1,5day.

Is this a known issue? Can I do anything about it?

Regards
Marcin Adamski



More information about the linux-mtd mailing list