public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 performance
@ 2004-07-27 20:48 Alexander Neundorf
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Neundorf @ 2004-07-27 20:48 UTC (permalink / raw)
  To: linux-mtd

Hi everybody,

on my job we're building an embedded device using the ecos operating system 
which comes with optional jffs2 support.
We need to be *very* fast on startup. I read different things about jffs2 
regarding performance.
We are using a Intel XScale processor 200 Mhz, with a 16 MB flash, from which 
8 MB will be used for jffs2 (or whatever we decide to use).
The file system will contains about 10 to 20 files. One very small file (4..20 
bytes) which is written very often, some intermediate files which are written 
only very seldom, and a big file consisting of approx. 1000 entries each 500 
to 2000 bytes large, the single entries written often. We could also use 1000 
small files each containing just one entry, but I guess this would be slower.

So what performance can I expect, especially how long will mounting approx. 
take (approx. 0.1 s or 1 s or 10 s) ?

I guess writing one (1000 byte) entry to an open file should be quite fast,  
<<0.1 s.

Can you give me some pointers ?

Thanks
Alex

P.S. I'm not subscribed, so please put me in the CC
-- 
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org                - http://www.kde.org
      alex@neundorf.net               - http://www.neundorf.net

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: A couple of questions
@ 2001-10-10 12:11 David Woodhouse
  2001-10-10 13:17 ` JFFS2 performance Joakim Tjernlund
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2001-10-10 12:11 UTC (permalink / raw)
  To: Adil EL YOUSSEFI; +Cc: linux-mtd

adilos2@yahoo.com said:
>  -> Under what license it is released. My boss wants to
>  know if he would have to pay in order to put JFFS2 in our product.

Under what licence is your product? JFFS2 is under a dual licence - both 
GPL for compatibility with the Linux kernel, and RHEPL for use in eCos. 

>  -> We are using a flash device with different sector sizes ( 1*32k,
> 2*16k,1*64k and the others are 128k ), What size should the JFFS2
> reserved sectors have then ? 

128KiB - the 'major' erase size.

>  -> If JFFS2 is used without enabling compression, will there still be
> corner cases in GC requiring 5 reserved sectors and not 2. 

Probably not. To be honest, it probably wouldn't happen even _with_ 
compression - I just don't like releasing software that'll 'probably' work 
:)

>  -> Why can't JFFS2 be used on Compact flashes ? 

Technically, it can - we now have a 'blkmtd' driver which uses any block 
device as backing store for an MTD device - so it can use any hard drive. 
At the moment, it's painfully slow. Checkpointing ought to fix that, but 
nobody's currently working on implementing that.

--
dwmw2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-27 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 20:48 jffs2 performance Alexander Neundorf
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10 12:11 A couple of questions David Woodhouse
2001-10-10 13:17 ` JFFS2 performance Joakim Tjernlund
2001-10-10 23:01   ` dennis noermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox