JFFS3 & performance

Joakim Tjernlund joakim.tjernlund at lumentis.se
Wed Dec 22 11:43:31 EST 2004


> On Wed, 22 Dec 2004, [iso-8859-1] Jörn Engel wrote:
>
> > On Wed, 22 December 2004 15:56:23 +0000, Artem B. Bityuckiy wrote:
> > >
> > > Preliminarily I'm planning:
> > > 1. Use adler32 on headers
> > > 2. Leave crc32 on data
> >
> > Why keep crc32?
> This is just my IMHO: headers are small and the probability that serious
> error appear there is lower that the probability of error on data. So it
> seems we may reduce crc strength for them.

Maybe, but it is the data CRC that costs. I don't think you will notice
the difference if you just change the header CRC to Adler32.

>
> In case of data - I just not sure if it is correct to use weaker
> algorithm...
> If somebody compitent may soundly explain why we may reduce CRC strength
> there...
>
> Anyway, saing zlib not to add adler32 CRC is good idea and I think should
> be done.

Yes, that one is independant of what CRC algorithm we choose.

 Jocke





More information about the linux-mtd mailing list