A JFFS2 extension - compression performance improvement
Dear All,
With some of my colleagues at the University of Szeged (Hungary) we have been working on improving the compression performance of JFFS2 - keeping on mind the compatibility and the flexibility.
The result of our work (BBC - Block Based Compression Framework) is an extension to JFFS2. At
http://www.inf.u-szeged.hu/jffs2/
you can read more information about it, download and use it under the terms of the GNU General Public License.
Enjoy! :)
Best regards,
Ferenc Havasi
http://www.inf.u-szeged.hu/~havasi/
Quoted 5 lines · Ferenc Havasi
Dear All,
With some of my colleagues at the University of Szeged (Hungary) we have been working on improving the compression performance of JFFS2 - keeping on mind the compatibility and the flexibility.
This looks very interesting, thanks.
Out of interest, what would be the disadvantages if I were to throw out the existing compression and merge BBS in its place?
It looks like the format you use for zlib is precisely compatible; we'd also need an implementation of rtime.
For the benefit of those who want to keep code size down, we might want to make the model-based compressors a configuration option.
I'm quite dubious about adding to /proc too -- perhaps this could be made optional too?
I object very strongly to the use of jffs2_bbc_model_set_act_sb(); how about I just change the interface to jffs2_{de,}compress() to take extra c and f arguments instead?
Am I right in thinking that you just let JFFS2 store JFFS2_COMPR_ZLIB in the 'compr' field of each page compressed with BBC? I think we need to give you official compression numbers to use.
For the model-based compressors, we may need to allocate more than one number -- you'll need as many numbers as you may have active model files in a single fs (which shouldn't be more than two or three, I'd assume?)
I'm a little unhappy with looking up model files by filename. I'd be slightly happier if they were identified by inode number instead, and hidden from the user so they can't be removed or modified. If we can only ever add model files in mkfs.jffs2, perhaps we can just use special inode numbers for them?
Signature · 1 line
dwmw2
Quoted 6 lines
Dear All,
With some of my colleagues at the University of Szeged (Hungary) we have been working on improving the compression performance of JFFS2 - keeping on mind the compatibility and the flexibility.
Quoted 7 lines
The result of our work (BBC - Block Based Compression Framework) is an extension to JFFS2. At
http://www.inf.u-szeged.hu/jffs2/
you can read more information about it, download and use it under the terms of the GNU General Public License.
Hi
I looked at the performance data in the above link and I wounder what version of zlib was used in the performance tests?
I ask because I noticed that the newest zlib version(1.2.1) is supposed to be much quicker than previous versions.
Jocke