Re: bzip2 compression of kernel or initial ramdisk?

Peter Moulder (reiter@netspace.net.au)
07 Jun 1998 13:33:53 +1000


Harald Koenig <koenig@tat.physik.uni-tuebingen.de> writes:

> and bzip2 needs even more memory to uncompress! from `man bzip2'
>
> Decompression: 100k + ( 5 x block size ), or
> 100k + ( 2.5 x block size )
>
> so you'd need at least 350k (with 2.5 x block size because of option --small)
> for `-1' compression and 2350k for a '-9' kernel image!

Julian Seward, the author of bzip/bzip2, has kindly written a
bzip2-derived compression method for use in the ext2 compression
patch. In this method, the heap size is only ~150KB (for either
compression or decompression).

I'll send a copy to anyone interested. (Alternatively, you could grab
the whole ext2 compression patch from <http://debs.fuller.edu/e2compr>.)

pjm.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu