Some code for Swap Compression

From: rmoser (mlmoser@comcast.net)
Date: Sat Apr 26 2003 - 18:41:03 EST


Alright, I'm done with everything except fdecomp_push() and
fcomp_push(). For the decompression function fdecomp_push(),
it fully supports the fcomp-standard streams (the ones I outlined
originally), so the fcomp-extended stuff has to be supported
(simple enough modification. I'm lazy). A very large portion (most
of it) of fcomp_push() needs to be coded; the entire compression
phase is uncoded. The logic is in that function, in comments.
Someone has to read it, look at the format, and write it. After
those two things, this can finally be shoved into a userspace
program and rewritten for the kernel, and also can be preoptimized
(i.e. don't resize the stream so many times in decompression when
it's just copying data).

tar.bz2 attatched. Please please PLEASE make a userspace
program for this as well so that we can get a general idea about
compression ratio. No better way than using it on files.

--Bluefox Icy



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:25 EST