Re: Kernel bloat 2.4 vs. 2.5

Steven Cole (elenstev@mesatop.com)
04 Mar 2003 20:13:46 -0700


On Tue, 2003-03-04 at 19:37, Robert Love wrote:
> On Tue, 2003-03-04 at 21:32, Andrew Morton wrote:
>
> > well kallsyms is worth 150k.
> >
> > Do `strings vmlinux' and take a look at it all.
>
> Oh, yah. If he has kallsyms enabled that explains most of it.
>
> Robert Love

This shows what taking out kallsyms can do:

text data bss dec hex filename
1860575 293780 337404 2491759 26056f kernels/linux-2.4.18/vmlinux
1936720 311656 157792 2406168 24b718 BK/testing-2.5/vmlinux
1936592 437556 158720 2532868 26a604 BK/testing-2.5/vmlinux-with-kallsyms

The 2.5 tree was current yesterday.
The .config files were as "functionally equivalent" as I could make them,
and except for CONFIG_KALLSYMS, were identical for the two 2.5 images.
gcc is 2.96.

Steven

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