FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-02-2009, 07:47 AM
Miles Bader
 
Default linux-image-2.6.28-1-amd64 is _huuuuge_

Previous debian kernel packages were kind of big but the recent
packaging of 2.6.28 is _much_ bigger --

$ apt-cache show linux-image-2.6.28-1-amd64 |grep Installed-Size
Installed-Size: 220644
$ apt-cache show linux-image-2.6.26-1-amd64 |grep Installed-Size
Installed-Size: 80592

I guess the number of drivers is always growing, but is this almost 300%
increase in package size really ok...?

Thanks,

-Miles

--
Opposition, n. In politics the party that prevents the Goverment from running
amok by hamstringing it.


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-02-2009, 08:12 AM
Miles Bader
 
Default linux-image-2.6.28-1-amd64 is _huuuuge_

I previously wrote:
> Previous debian kernel packages were kind of big but the recent
> packaging of 2.6.28 is _much_ bigger --
>
> $ apt-cache show linux-image-2.6.28-1-amd64 |grep Installed-Size
> Installed-Size: 220644
> $ apt-cache show linux-image-2.6.26-1-amd64 |grep Installed-Size
> Installed-Size: 80592

Something very suspicious about those sizes too: the size of the .debs
for those versions is actually more or less the same, seeming to only
reflect the sort of natural growth you'd expect with the version bump:

$ apt-cache show linux-image-2.6.28-1-amd64 |grep ^Size
Size: 24516938
$ apt-cache show linux-image-2.6.26-1-amd64 |grep ^Size
Size: 20898372

[I've also packaged a self-compiled 2.6.28 kernel, using the debian
2.6.26 config as a starting point, and the unpacked size was roughly the
same as the debian packaged 2.6.26 kernel.]

So does this new kernel package contain a few huge files containing
nothing but zeroes or something ...?

Thanks,

-Miles

--
Rational, adj. Devoid of all delusions save those of observation, experience
and reflection.


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-02-2009, 11:40 AM
Miles Bader
 
Default linux-image-2.6.28-1-amd64 is _huuuuge_

Miles Bader <miles@gnu.org> writes:
>> Previous debian kernel packages were kind of big but the recent
>> packaging of 2.6.28 is _much_ bigger --
>
> Something very suspicious about those sizes too: the size of the .debs
> for those versions is actually more or less the same, seeming to only
> reflect the sort of natural growth you'd expect with the version bump:

A bit more poking around, and the problem seems to the that the
"__this_module" symbol in each kernel module has suddenly grown from
about 4KB to about 64KB. Is this a bug...?

$ size /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko
text data bss dec hex filename
17144 5600 0 22744 58d8 /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko
$ size /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko
text data bss dec hex filename
18216 66896 0 85112 14c78 /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko

$ readelf -s /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko|grep _this_module
102: 0000000000000000 4736 OBJECT GLOBAL DEFAULT 23 __this_module
$ readelf -s /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko|grep _this_module
101: 0000000000000000 66048 OBJECT GLOBAL DEFAULT 23 __this_module

Thanks,

-Miles

--
"Nah, there's no bigger atheist than me. Well, I take that back.
I'm a cancer screening away from going agnostic and a biopsy away
from full-fledged Christian." [Adam Carolla]


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-02-2009, 09:06 PM
maximilian attems
 
Default linux-image-2.6.28-1-amd64 is _huuuuge_

On Mon, 02 Mar 2009, Miles Bader wrote:

> Miles Bader <miles@gnu.org> writes:
> >> Previous debian kernel packages were kind of big but the recent
> >> packaging of 2.6.28 is _much_ bigger --
> >
> > Something very suspicious about those sizes too: the size of the .debs
> > for those versions is actually more or less the same, seeming to only
> > reflect the sort of natural growth you'd expect with the version bump:
>
> A bit more poking around, and the problem seems to the that the
> "__this_module" symbol in each kernel module has suddenly grown from
> about 4KB to about 64KB. Is this a bug...?
>
> $ size /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko
> text data bss dec hex filename
> 17144 5600 0 22744 58d8 /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko
> $ size /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko
> text data bss dec hex filename
> 18216 66896 0 85112 14c78 /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko
>
> $ readelf -s /lib/modules/2.6.26-1-amd64/kernel/drivers/net/8139cp.ko|grep _this_module
> 102: 0000000000000000 4736 OBJECT GLOBAL DEFAULT 23 __this_module
> $ readelf -s /lib/modules/2.6.28-1-amd64/kernel/drivers/net/8139cp.ko|grep _this_module
> 101: 0000000000000000 66048 OBJECT GLOBAL DEFAULT 23 __this_module

this is fixed for 2.6.29, as we won't release with 2.6.28 not worth
more speculations.
it poped up due to:
/boot/config-2.6.27-1-amd64:CONFIG_NR_CPUS=32
/boot/config-2.6.28-1-amd64:CONFIG_NR_CPUS=512

--
maks


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org