Re: JFFS3 & performance

Jared Hulbert
2005-01-21T22:46:38Z

New idea.

Why should we waste time compressing the uncompressable? JFFS2
actually spent alot of time compressing.

I can think of a few possible mechanisms:
a) extension based
-Don't compress files with .mpg, .jpg, .avi, .gz, etc. User
defined list?
b) test first data
Compress the first X sized chunk of data to determine if the
file is compressable. Make determination and write data.
c) test node by node
If the last node didn't compress, stop compressing file.