Jffs2 and big file = very slow jffs2_garbage_collect_pass
Matthieu CASTET
matthieu.castet at parrot.com
Fri Jan 18 04:39:29 EST 2008
Josh Boyer wrote:
> On Thu, 17 Jan 2008 17:26:01 +0100
> Jörn Engel <joern at logfs.org> wrote:
>
>>> If we do a ls without waiting that jffs2_garbage_collect_pass finish, ls
>>> takes 12 minutes to complete.
>> Impressive! JFFS2 may be slow, but it shouldn't be _that_ slow. Not
>
> How do you know? A 200MiB file will likely have around 50,000 nodes.
Yes the file got 41324 nodes.
> If the summary stuff is incorrect, and since we have no idea what kind
> of platform is being used here, it may well be within reason.
>
The summary stuff is correct (I check it with a parser on a dump of the
image). Also if the summary wasn't correct, only the mount time will grow ?
In my case the mount is ok : less than 5-10s.
The platform used is an arm926 @247 Mhz
Matthieu
More information about the linux-mtd
mailing list