[OLPC-devel] just verified: 2306 + olpc + linux kernel works.

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu May 25 20:37:32 EDT 2006


Marcelo Tosatti wrote:
> On Fri, May 26, 2006 at 01:03:57AM +0100, David Woodhouse wrote:
>> On Thu, 2006-05-25 at 21:02 -0300, Marcelo Tosatti wrote:
>>> Last time I tried lzma on vmlinux the advantage was _very_ significant
>>> (> 20% increase in compression ratio over gzip). 
>> What if you 'split -b 4096 vmlinux' and then compress each of the
>> resulting files?
> 
> vmlinux (single piece)
> 
> uncompressed		gzip 			lzma
> 1192316 		527722 (44%)		425172 (35%)
> 
> Now splitting with -b 4096 really kills lzma gains:
> 
> [root at dmt lzma]# du -csh .

Unfair. du is all about on-disk size, not file size.
# for a in vmlinux*gz; do stat -c%s $a; done|xargs echo|sed "s/ /+/g" >gzsum; bc gzsum
That will yield more realistic results.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/



More information about the Devel mailing list