public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Lynch <rmlynch@best.com>
To: linux-kernel@vger.kernel.org
Cc: Peter Samuelson <peter@cadcamlab.org>, Andi Kleen <ak@suse.de>
Subject: Re: bzImage ~ 900K with i386 test11-pre2
Date: Sat, 11 Nov 2000 10:03:35 -0800	[thread overview]
Message-ID: <3A0D89F7.1CDC3B68@best.com> (raw)
In-Reply-To: <3A0C86B3.62DA04A2@best.com> <20001110234750.B28057@wire.cadcamlab.org> <20001111153036.A28928@gruyere.muc.suse.de>

Peter Samuelson wrote:
> [Robert Lynch] wrote:
> > I've been regularly building kernels in the testXX series, and
> > they have been coming out ~ 600K; test10-final and test11-pre1:
> > 
> > -rw-r--r--    1 root     root       610503 Oct 31 18:39 vmlinuz-t10
> > -rw-r--r--    1 root     root       610568 Nov  7 20:26 vmlinuz-t11p01
> > 
> > test11-pre2 comes out ~ 900K:
> > 
> > -rw-r--r--    1 root     root       926345 Nov 10 10:16 vmlinuz-t11p02
> 
> Track it down yourself:
> 
> 1) The sizes of your two 'vmlinux' files: do they differ wildly as well?

Wildly; compare test11-pre1 and testll-pre2 sizes:

-rwxr-xr-x    1 root     root      1789457 Nov  7 20:26
vmlinux-t11p01 
-rwxr-xr-x    1 root     root      2625016 Nov 10 10:15
vmlinux-t11p02    

> 2a) If no, check the make logs between the vmlinux link line and bzImage
>     creation.  Compare the two and note any significant differences.
> 
> 2b) If yes, write a perl script to compute symbol sizes from each
>     System.map file.  (Symbol size == address of next symbol minus
>     address of this symbol.)  Sort numerically, then compare old vs new
>     for symbols that have grown a lot, or large new symbols.
> 
> Peter

Whence Andi Kleen chipped in:

> No need to write one: ftp.firstfloor.org:/pub/ak/perl/bloat-o-meter 
> 
> -Andi

Running:

perl bloat-o-meter /boot/vmlinux-t11p01 /boot/vmlinux-t11p02 >
/tmp/bloat.out

looking at the output, the large positive changes seem to be
(doing it by eye, might have skipped and/or missed something):

Symbol	Old	size	New	size	Delta	Change	(%)

slabinfo_write_proc                  8      340     332  +4150.0
show_buffers                        24      368     344  +1433.3
sys_nfsservctl                      80     1060     980  +1225.0
dump_extended_fpu                    8       84      76  +950.00
get_fpregs                          36      372     336  +933.33
schedule_tail                       16      144     128  +800.00 
set_fpregs                          36      272     236  +655.56
tty_release                         16      108      92  +575.00
ext2_write_inode                    20      108      88  +440.00
...

I have surpressed my momentary urge to post the whole thing, so
as not to arouse the legendary ire of this list. :)

Bob L.

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

  parent reply	other threads:[~2000-11-11 18:06 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-10 23:37 bzImage ~ 900K with i386 test11-pre2 Robert Lynch
2000-11-10 23:47 ` H. Peter Anvin
2000-11-11  2:25   ` Max Inux
2000-11-11  3:03     ` H. Peter Anvin
2000-11-11  5:28       ` Chmouel Boudjnah
2000-11-11 11:27       ` Max Inux
2000-11-11 11:28         ` Jan Niehusmann
2000-11-11 11:38         ` bzImage ~ 900K with i386 test11-pre2, I stand corrected Max Inux
2000-11-11 13:49         ` bzImage ~ 900K with i386 test11-pre2 James A. Sutherland
2000-11-11 20:08         ` H. Peter Anvin
2000-11-11 11:36       ` Tigran Aivazian
2000-11-11 11:38         ` Tigran Aivazian
2000-11-11 11:52         ` Max Inux
2000-11-11 14:42         ` Andrea Arcangeli
2000-11-11 14:51           ` Tigran Aivazian
2000-11-11 16:26             ` Andrea Arcangeli
2000-11-11 16:46               ` Tigran Aivazian
2000-11-11 18:47                 ` Andrea Arcangeli
2000-11-11 19:35                 ` Eric W. Biederman
2000-11-12 11:29                   ` Andrea Arcangeli
2000-11-12 13:14                     ` Eric W. Biederman
2000-11-12 15:37                       ` Andrea Arcangeli
2000-11-12 15:44                         ` Andi Kleen
2000-11-12 16:33                           ` Andrea Arcangeli
2000-11-12 18:57                         ` Eric W. Biederman
2000-11-12 19:33                           ` Andi Kleen
2000-11-16 17:43                             ` Eric W. Biederman
2000-11-12 22:30                           ` Andrea Arcangeli
2000-11-12 19:20                         ` Eric W. Biederman
2000-11-12 23:03                           ` Andrea Arcangeli
2000-11-11 20:09         ` H. Peter Anvin
2000-11-12 16:22           ` Andrea Arcangeli
2000-11-11 16:05       ` Andrzej Krzysztofowicz
2000-11-11 17:27         ` Jeff Garzik
2000-11-14 14:02         ` Werner Almesberger
2000-11-11  5:47 ` Peter Samuelson
2000-11-11 14:30   ` Andi Kleen
2000-11-11 15:43     ` Thomas Köhler
2000-11-11 18:03     ` Robert Lynch [this message]
2000-11-11 18:30       ` Andi Kleen
2000-11-11 18:57         ` Robert Lynch
2000-11-11 20:35           ` Andi Kleen

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=3A0D89F7.1CDC3B68@best.com \
    --to=rmlynch@best.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@cadcamlab.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