Re: Evolution of Linux kernel sizes

2013-11-27 Thread Wolfgang Denk
Dear Geert,

In message  
you wrote:
>
> Below are the static kernel sizes (as reported by "size") for m68k
> multi-platform kernels (m68k/multi_defconfig), for kernel versions
> 2.6.28 to 3.12:
> 
>textdata bss dec hex filename
...
> 4010686  220476  190220 4421382  437706 vmlinux-v3.12

It's even more dramatic if you look further back.  The U-Boot README
still has examples of 2.4.4 kernels for PowerPC _including_ network
support:

-> tools/mkimage -l examples/uImage.TQM850L
Image Name:   2.4.4 kernel for TQM850L
Created:  Wed Jul 19 02:34:59 2000
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:335725 Bytes = 327.86 kB = 0.32 MB
Load Address: 0x
Entry Point:  0x

resp. the same kernel using an uncompressed image:

Image Type:   PowerPC Linux Kernel Image (uncompressed)
Data Size:792160 Bytes = 773.59 kB = 0.76 MB

Those were the days then, 13 years ago...

Today:

Image Name:   Linux-3.12.0-11101-gfe9baba
Created:  Wed Nov 27 15:05:33 2013
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:1509145 Bytes = 1473.77 kB = 1.44 MB
Load Address: 
Entry Point:  

Image Type:   PowerPC Linux Kernel Image (uncompressed)
Data Size:3172240 Bytes = 3097.89 kB = 3.03 MB

Compressed:   1509145 / 335725 = 4.50
Uncompressed: 3172240 / 792160 = 4.00



[1] http://git.denx.de/?p=u-boot.git;a=blob;f=README#l5142

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
I think it's a new feature. Don't tell anyone it was an accident. :-)
  -- Larry Wall on s/foo/bar/eieio in <10...@jpl-devvax.jpl.nasa.gov>
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Evolution of Linux kernel sizes

2013-11-27 Thread Richard Cochran
On Wed, Nov 27, 2013 at 10:35:25AM +0100, Geert Uytterhoeven wrote:
> For v3.13-rc1, the top 10 is:
> 
> Disabling CONFIG_NET saves 1038404 bytes
> Disabling CONFIG_INET saves 572034 bytes

...

> I hope you find this useful!

As another poor soul stuck with tiny resources, thank you for this
work! Now, if I could only leave networking out...

Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html