sizeof - kernel modules

poma pomidorabelisima at gmail.com
Tue Jun 16 03:25:42 UTC 2015


On 15.06.2015 19:59, poma wrote:
> On 15.06.2015 19:52, poma wrote:
>> On 15.06.2015 19:45, drago01 wrote:
>>> On Mon, Jun 15, 2015 at 7:38 PM, poma <pomidorabelisima at gmail.com> wrote:
>>>>
>>>> # du -hs /lib/modules/4.0.5-300.fc22.i686/ | awk '{print $1}'
>>>> 42M
>>>>
>>>> kernel-modules-4.0.5-300.fc22.i686.rpm  ...  17M
>>>>
>>>> http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/22/i386/k/
>>>> ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~
>>>>
>>>> # du -hs /lib/modules/4.1.0-0.rc7.git0.1.fc23.x86_64/ | awk '{print $1}'
>>>> 53M
>>>>
>>>> kernel-modules-4.1.0-0.rc7.git0.1.fc23.x86_64.rpm  ...  18M
>>>>
>>>> https://kojipkgs.fedoraproject.org/packages/kernel/4.1.0/0.rc7.git0.1.fc23/x86_64/
>>>> ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~ ~~ ~ ~~ ~~~
>>>>
>>>> # du -hs /lib/modules/4.1.0-0.rc7.git1.1.fc23.x86_64/ | awk '{print $1}'
>>>> 439M
>>>>
>>>> kernel-modules-4.1.0-0.rc7.git1.1.fc23.x86_64.rpm  ...  218M
>>>>
>>>> http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/Packages/k/
>>>> ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~ ~~ ~ ~~ ~~~ ~~~~
>>>>
>>>> # du -hs /lib/modules/4.1.0-0.rc8.git0.1.fc23.x86_64/ | awk '{print $1}'
>>>> 438M
>>>>
>>>> kernel-modules-4.1.0-0.rc8.git0.1.fc23.x86_64.rpm  ...  218M
>>>>
>>>> https://kojipkgs.fedoraproject.org/work/tasks/9420/10059420/
>>>> ~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~
>>>>
>>>>
>>>> 218 ÷ 18 = 12.111111111
>>>> 439 ÷ 53 = 8.283018868
>>>>
>>>>> = 4.1.0-0.rc7.git1.1 cca. 10 x sizeof
>>>
>>> Those are debug builds.
>>>
>>
>> ...
>> kernel-debug-modules-4.0.5-300.fc22.i686.rpm  ..............   17M
>> kernel-debug-modules-4.1.0-0.rc6.git2.1.fc23.x86_64.rpm  ...   18M
>> kernel-debug-modules-4.1.0-0.rc7.git0.1.fc23.x86_64.rpm  ...   18M
>> kernel-debug-modules-4.1.0-0.rc7.git1.1.fc23.x86_64.rpm  ...  225M
>> kernel-debug-modules-4.1.0-0.rc8.git0.1.fc23.x86_64.rpm  ...  224M
>>
>>
> 
> 
> $ ll -h *.iso
> -rw-r--r--. 1 qemu qemu 419M Jun 12 14:53 Rawhide-Live-Base-041.iso
> -rw-r--r--. 1 qemu qemu 1.1G Jun 15 18:00 Rawhide-Live-Base-043.iso
> 
> $ grep kernel Rawhide-Live-Base-041.iso.log.txt
>   Installing: kernel-core                  ##################### [447/529] 
>   Installing: kernel-modules               ##################### [448/529] 
>   Installing: kernel-modules-extra         ##################### [503/529] 
>   Installing: kernel                       ##################### [504/529] 
> kernel-modules-4.1.0-0.rc7.git0.1.fc23.x86_64
> kernel-4.1.0-0.rc7.git0.1.fc23.x86_64
> kernel-core-4.1.0-0.rc7.git0.1.fc23.x86_64
> kernel-modules-extra-4.1.0-0.rc7.git0.1.fc23.x86_64
> 
> 
> $ grep kernel Rawhide-Live-Base-043.iso.log.txt 
>   Installing: kernel-core                  ##################### [445/526] 
>   Installing: kernel-modules               ##################### [446/526] 
>   Installing: kernel-modules-extra         ##################### [500/526] 
>   Installing: kernel                       ##################### [501/526] 
> kernel-modules-extra-4.1.0-0.rc8.git0.1.fc23.x86_64
> kernel-core-4.1.0-0.rc8.git0.1.fc23.x86_64
> kernel-4.1.0-0.rc8.git0.1.fc23.x86_64
> kernel-modules-4.1.0-0.rc8.git0.1.fc23.x86_64
> 
> 419M <-> 1.1G  sizeof ISO
> -_-
> 

Rawhide builds it i waho problemos

$ du -h * | sort -n
1.2M	perf-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
2.3M	kernel-modules-extra-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
9.6M	kernel-devel-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
18M	kernel-modules-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
20M	kernel-core-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
68K	kernel-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
72K	kernel-tools-libs-devel-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
84K	kernel-tools-libs-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
164K	kernel-tools-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
436K	python-perf-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm
1008K	kernel-headers-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm


$ du -hs /lib/modules/4.1.0-0.rc8.git0.500.fc23.x86_64/ | awk '{print $1}'
53M

$ rpm -qf /bin/eu-strip 
elfutils-0.162-1.fc23.x86_64

$ rpm -qf /usr/bin/strip
binutils-2.25-10.fc23.x86_64

$ du -h *.iso
392M	Rawhide-Live-Base.iso




More information about the test mailing list