Re: Where's the bzip2 compressed linux-kernel patch?

From: Daniel Egger
Date: Sat Oct 18 2003 - 09:26:57 EST


Am Sam, den 18.10.2003 schrieb Nick Piggin um 07:30:

> This came up on the list a while back. IIRC the conclusion was that
> runtime memory usage and speed, and not so significant compression
> improvement over gzip.

I quick test with a PowerPC kernel and the normal vmlinux image reveals
that this is nonsense.

-rwxr-xr-x 1 root root 2766490 2003-09-27 22:29 vmlinux
-rwxr-xr-x 1 root root 1149410 2003-09-27 22:29 vmlinux.gz
-rwxr-xr-x 1 root root 1062999 2003-09-27 22:29 vmlinux.bz2

This is a 86411 bytes or 8.1% reduction, seems significant to me...

Granted, it takes 9 times as long to decompress the kernel and ca. 900kb
more memory but considering an embedded DSL router I'm working with
which has 16MB RAM but only 4MB Flash this is certainly worth it. At
least when the target is an embedded device.

--
Servus,
Daniel

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil