Centralized summary as a way to speed up "ls" time

Artem Bityutskiy dedekind at infradead.org
Tue Apr 10 13:24:28 EDT 2007


On Tue, 2007-04-10 at 20:53 +0400, akorolev wrote:
> Hello Ferenc,
> 
> While using JFFS2 on NAND devices with large size and many files I faced 
> the problem of very slow "ls" performance.
> On folder which contains ~40 files and ~80MB ls could take ~25sec!

One way could be to introduce an aggregated dentry node which would
store several, say 32 direntries together, instead of having
per-direntry node.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list