Database on JFFS2?

Jörn Engel joern at wohnheim.fh-wedel.de
Tue Apr 15 12:14:42 EDT 2003


On Tue, 15 April 2003 17:11:44 +0100, Jasmine Strong wrote:
> On Tuesday, Apr 15, 2003, at 16:39 Europe/London, Jörn Engel wrote:
> >
> >On NOR, there is absolutely no point in avoiding many writes.
> 
> Unless it would cause many erases, which would slow things down a lot...
> If data integrity is the crucial issue (which it usually is) there's no 
> way to avoid
> this, though.

Erases get triggered by garbage collection, which depends on the
amount of data written, not the chunk size.

> The only other issue I can foresee is the overhead of the jffs 
> structures at the
> start of each write;  if there are only a few bytes being written each 
> time, it
> quickly becomes very significant.

Correct. iirc, node header was 70 Bytes, so writes below 700 Bytes
will have significant overhead (10% in my book). Point taken.

Jörn

-- 
Fantasy is more important than knowlegde. Knowlegde is limited,
while fantasy embraces the whole world.
-- Albert Einstein



More information about the linux-mtd mailing list