public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Carlos Manuel Duclos Vergara <carlos@embedded.cl>
To: Lokesh Kumar <kumar.lokesh@wrx-us.com>
Cc: "'linux-mtd@lists.infradead.org'" <linux-mtd@lists.infradead.org>
Subject: Re: how to behave on jffs2
Date: Wed, 12 Jan 2005 12:56:03 -0300	[thread overview]
Message-ID: <200501121256.03461.carlos@embedded.cl> (raw)
In-Reply-To: <294FD9D3403A0340BDAC38E48DCEFFDC935788@RES-EXCH>

> Hi All,
>

Hi,

> 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".
>

Why not to create a ramdisk and mount it on the fly?
Only when you modify the ramdisk you save it to the flash, instead of been 
working directly with flash memory. You can save a lot of time by doing this.

Cheers!

-- 
Carlos Manuel Duclos Vergara
carlos@embedded.cl
http://www.embedded.cl

  reply	other threads:[~2005-01-12 15:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12 15:50 how to behave on jffs2 Lokesh Kumar
2005-01-12 15:56 ` Carlos Manuel Duclos Vergara [this message]
2005-01-12 16:22 ` Artem B. Bityuckiy
2005-01-12 16:48 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501121256.03461.carlos@embedded.cl \
    --to=carlos@embedded.cl \
    --cc=kumar.lokesh@wrx-us.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox