From: Mark Craske Date: Thu, 29 May 2008 11:39:16 +0100 Subject: [U-Boot-Users] Very slow JFFS2 scan time and directory listing In-Reply-To: References: Message-ID: <1212057556.20175.10.camel@libdev4.mvista.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In Message-ID: > you wrote: > It's taking an extremely long time to do a directory listing using the > 'ls' command with JFFS2. > Its taking nearly a minute to scan the file system and then about 1 > second to print each line. > > What is could be the cause of this, and is there any way to speed this > up currently? I too am suffering from this very slow JFFS2 problem. It is especially bad for NAND flash. I modified the fs/jffs2/Makefile to use fs/jffs2/jffs2_nand_1pass.c instead of jffs2_1pass.c, but that would not build. I eventually fixed that by quite large changes, but it still ran very slowly despite reading larger chunks of NAND. Has anyone out there fixed this problem? Regards, Mark