how to behave on jffs2

Wolfgang Denk wd at denx.de
Wed Jan 12 11:48:40 EST 2005


In message <294FD9D3403A0340BDAC38E48DCEFFDC935788 at RES-EXCH> you wrote:
> 
> I have an embedded Linux (kernel 2.4.18) board at 50MHz, with jffs2 16MB
> flash. My system creates small files of 700 bytes each and is required to
> create ~3000 of such files. I see that when there are 1000 files, the system
> takes 3 minutes or so to mount this partition and then another 3 to do "ls
> -l". When there are 3000 files, the system takes 10 minutes each for mount
> and "ls -l". 
> 
> Is that expected behaviour?

Yes - given the age of MTD code you probably have in this old kernel.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Substitute "damn" every time you're inclined to write "very"; your
editor will delete it and the writing will be just as it should be.
                - Mark Twain




More information about the linux-mtd mailing list