compare JFFS2 vs YAFFS

Stephan Linke Stephan.Linke at epygi.de
Thu Apr 24 05:30:05 EDT 2003


Hi Charles,

Indeed I meant the over head that comes from reserved areas for garbage collection etc.
You say: "Since even the smallest NAND device holds many hundred blocks this is generally not an issue."
But if you are going to create a verry small NAND partition of a few hundred kilobyte this may be become an issue.

Thanks for the info,

Stephan

> -----Original Message-----
> From: Charles Manning [mailto:manningc2 at actrix.gen.nz]
> Sent: Mittwoch, 23. April 2003 22:28
> To: Stephan Linke
> Subject: Re: compare JFFS2 vs YAFFS
> 
> 
> 
> >
> > How about the "out-take" that JAFFS2 requires for garbage collection? I
> > guess it is X times mtd->erasesize (X=2..5)? What's the "out-take" of
> > YAFFS?
> > I think this is the most importnat factor if you are going to use YAFFS or
> > JFFS2 on a small NAND partition.
> 
> 
> Can you explain what you mean by out-take a bit better? Do you mean 
> "overhead"?
> 
> If so, there are two types of overhead:
> 
> * NAND space. This is run-time configurable. YAFFS normally uses a reserve 
> space of 5 blocks (ie. 5x16kB), but should work fine with 2 blocks. 5 blocks 
> just gives extra comfort for blocks going bad at the same time as garbage 
> collection. Since even the smallest NAND device holds many hundred blocks 
> this is generally not an issue.
> 
> * Time: YAFFS does not stop for a long time while it does garbage collection. 
> The worst case is just the time to erase and rewrite a block (ie approx 
> 7milliseconds).
> 
> Another area where YAFFS is good is boot time. Systems with 512Mbytes of NAND 
> usually boot within 1 minute. There are plans to reduce this to a few seconds.
> 
> 
> -- Charles
> 
> 
> 
> 



More information about the linux-mtd mailing list