public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Grant Coady <gcoady.lk@gmail.com>
Cc: Andreas Steinmetz <ast@domdv.de>,
	Arjan van de Ven <arjan@infradead.org>, Willy Tarreau <w@1wt.eu>,
	Willy Tarreau <wtarreau@hera.kernel.org>,
	linux-kernel@vger.kernel.org, mtosatti@redhat.com,
	Mikael Pettersson <mikpe@it.uu.se>
Subject: Re: Linux 2.4.34-pre1
Date: Sun, 20 Aug 2006 19:27:02 +0200	[thread overview]
Message-ID: <20060820172702.GO7813@stusta.de> (raw)
In-Reply-To: <kioce290d37424jk4pedjmiibtc9u2p12n@4ax.com>

[-- Attachment #1: Type: text/plain, Size: 2579 bytes --]

On Sat, Aug 19, 2006 at 11:20:22AM +1000, Grant Coady wrote:
> On Sat, 19 Aug 2006 01:25:01 +0200, Adrian Bunk <bunk@stusta.de> wrote:
> 
> >Does anyone have an example with working kernels for both 2.4 and 2.6
> >and a significantely bigger functionally equivalent 2.6 kernel?
> 
> grant@peetoo:~$ ls -l /boot/bzImage-2.*
> -rw-r--r--  1 root root 1138921 2006-07-30 07:18 /boot/bzImage-2.4.30-hf32.7
> -rw-r--r--  1 root root 1139045 2006-07-30 06:35 /boot/bzImage-2.4.31-hf32.7
> -rw-r--r--  1 root root 1139058 2006-07-30 06:00 /boot/bzImage-2.4.32-hf32.7
> -rw-r--r--  1 root root 1138830 2006-08-12 15:55 /boot/bzImage-2.4.33-final
> -rw-r--r--  1 root root 1632535 2006-07-29 16:34 /boot/bzImage-2.6.16.27a
> -rw-r--r--  1 root root 1644014 2006-08-09 14:48 /boot/bzImage-2.6.17.8a
> -rw-r--r--  1 root root 1643932 2006-08-14 05:25 /boot/bzImage-2.6.17.8b
> -rw-r--r--  1 root root 1668673 2006-08-09 16:25 /boot/bzImage-2.6.18-rc4a
>...
> Looks like a consistent ~40% bloat to me ;)  
>...

Don't trust any statistics you did not fake yourself...

Your numbers show a 46.5% size increase from kernel to 2.4.33 to 
2.6.18-rc4.

But it's an extremely unfair comparison when I asked for "functionally 
equivalent" kernels, and you do e.g. compile your 2.4 kernel with APM 
support and your 2.6 kernel with ACPI support.

Numbers with a more fair comparison for this machine
(.config's attached) are:

-rw-rw-r-- 1 bunk bunk 1076676 2006-08-19 14:59 bzImage-2.4-gcc3.3
-rw-rw-r-- 1 bunk bunk 1431789 2006-08-19 14:59 bzImage-2.6-gcc3.3

That's only a 33% size increase.

Not that a 33% size increase was a good thing... Changes to the 
.config's can make the difference a bit smaller or bigger, but unless 
I'm cheating with CONFIG_CC_OPTIMIZE_FOR_SIZE=y, I'm not coming even 
remotely near to a similar size.

Unfortunately, there is not one thing that is causing the size increase. 
If only stuff like ACPI that shouldn't matter in size limited 
environments would become bigger it wasn't a big issue.

But looking at the objects, it seems that except for some subsystems 
without real development that stay at the same size (e.g. IDE, OSS, ext2), 
nearly everything grows by between 10% and 100%...  :-(

> Grant.

cu
Adrian

-- 

    Gentoo kernels are 42 times more popular than SUSE kernels among
    KLive users  (a service by SUSE contractor Andrea Arcangeli that
    gathers data about kernels from many users worldwide).

       There are three kinds of lies: Lies, Damn Lies, and Statistics.
                                                    Benjamin Disraeli


[-- Attachment #2: config-2.4.bz2 --]
[-- Type: application/octet-stream, Size: 5665 bytes --]

[-- Attachment #3: config-2.6.bz2 --]
[-- Type: application/octet-stream, Size: 7214 bytes --]

  reply	other threads:[~2006-08-20 17:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 22:36 Linux 2.4.34-pre1 Willy Tarreau
2006-08-16 23:54 ` Adrian Bunk
2006-08-17  5:16   ` Willy Tarreau
2006-08-17  6:48     ` Arjan van de Ven
2006-08-17  8:35       ` Andreas Steinmetz
2006-08-17  8:50         ` Mikael Pettersson
2006-08-17 12:48           ` Adrian Bunk
2006-08-17 20:43             ` Willy Tarreau
2006-08-17 23:41               ` Gerd v. Egidy
2006-08-18  4:40                 ` Willy Tarreau
2006-08-21  0:56               ` Adrian Bunk
2006-08-17  9:06         ` Adrian Bunk
2006-08-17  9:16           ` Andreas Steinmetz
2006-08-18 23:25             ` Adrian Bunk
2006-08-19  1:20               ` Grant Coady
2006-08-20 17:27                 ` Adrian Bunk [this message]
2006-08-19  4:45               ` Willy Tarreau
2006-08-21  0:35                 ` Adrian Bunk
2006-08-21  0:41                   ` Willy Tarreau
2006-08-21  1:07                     ` Adrian Bunk
2006-08-17  8:37       ` Willy Tarreau
2006-08-17  9:12 ` Thomas Voegtle
2006-08-18 22:48 ` Solar Designer
2006-08-18 23:11   ` Adrian Bunk
2006-08-18 23:27     ` Solar Designer
  -- strict thread matches above, loose matches on Subject: below --
2006-08-17  7:57 Chris Rankin
2006-08-17  9:16 ` Thomas Backlund
2006-08-18  4:47   ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060820172702.GO7813@stusta.de \
    --to=bunk@stusta.de \
    --cc=arjan@infradead.org \
    --cc=ast@domdv.de \
    --cc=gcoady.lk@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    --cc=mtosatti@redhat.com \
    --cc=w@1wt.eu \
    --cc=wtarreau@hera.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox