[Yaffs] JFFS2 -vs- YAFFS2 performance (Was: inadvertently marking all blo cks bad?)

Lawson.Reed Reed.Lawson at IGT.com
Mon Jul 11 23:48:53 BST 2005


> > This is so FAST compared to JAFFS2. THANK YOU!!!!!
> 
> Do you have any numbers/examples for how the two compare?
> 
> Wookey

Once I saw how it took 22 minutes for my ColdFire system to boot
a JFFS2 file system, I about freaked. Once I switched to YAFFS2, 
my system boots in about 6 seconds. It is a godsend. It's the only
way to go with these big flash parts.

As far as system read and write times, they were about the same 
because they both used the same underlying MTD ECC code.
Its about 110 KBytes/sec for write and 205 KBytes/sec read.
That's with FTP over Ethernet. The bottle neck seems to be
that software ECC code. Not sure what to do about that.

My system looks like this:
   o Motorola (oh, Freescale, excuse me) MCF5272 66 MHz
   o 2 x Samsung K9W8G08U1M 512K x 8 Bit NAND Flash
   o 32 Meg RAM.
   o 1 Meg boot flash.
   o uClinux 2.4.24
   o MTD from 2.6 tree (back ported)
   o YAFFS2 from 2.6 tree (back ported)

Thanks again!

__________________________________
Reed Lawson
IGT Firmware Engineering
(775) 448-0755



> -----Original Message-----
> From: yaffs-bounces at stoneboat.aleph1.co.uk
> [mailto:yaffs-bounces at stoneboat.aleph1.co.uk]On Behalf Of Wookey
> Sent: Friday, July 08, 2005 6:11 PM
> To: yaffs at stoneboat.aleph1.co.uk
> Subject: [Yaffs] Re: inadvertently marking all blocks bad?
> 
> 
> +++ Lawson.Reed [05-07-08 16:02 -0700]:
> > OK, it's all working now. the problem was that nand_read_ecc()
> > was doing the AUTOPLACE to skip the bad block marker, but the
> > same AUTOPLACE code did not exist in nand_read_oob(). And when 
> > YAFFS2 calls through its yaffs_mtdif.c layer while its looking for
> > the right chunk ID, it ends up calling nand_read_oob()
> > and not nand_read_ecc(). So, I put the same AUTOPLACE code there
> > and wala, All works. It's a pain having to cobble together new
> > and old code so as to live in the past (2.4 kernel I mean).
> > I know its my own darn fault.
> > 
> > This is so FAST compared to JAFFS2. THANK YOU!!!!!
> 
> Do you have any numbers/examples for how the two compare?
> 
> Wookey
> -- 
> Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 
> 1223 811679
> work: http://www.aleph1.co.uk/     play: 
http://www.chaos.org.uk/~wookey/

_______________________________________________
yaffs mailing list
yaffs at stoneboat.aleph1.co.uk
http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs



More information about the yaffs mailing list