Just picking on linux-headers for now it is more or less what I
expected.

It went 26 -> 107 mb and I see new directories for rust of:
81M     
linux-headers-6.2.0-1003-kvm_6.2.0-1003.3_amd64.deb.extract/usr/src/linux-headers-6.2.0-1003-kvm/rust
228K    
linux-headers-6.2.0-1003-kvm_6.2.0-1003.3_amd64.deb.extract/usr/src/linux-headers-6.2.0-1003-kvm/include/generated

I know linux-headers are meant to be the full source, but this increases the 
size of a default installed (and therefore also often downloaded) package by x4.
You see that even the compressed size increased, actually even more than 
extracted.

I'm not sure we can, but could we think about separating that and not 
installing by default.
I'm afraid that might break things but it juts feels rather "expensive" in 
terms of disk space, image size, regular download ...

OTOH, looking at it maybe we can do something...
I know rust is using static linking and  it looks like here also a lot 
pre-generated content.

/tmp/kernel-sizes/6.2/linux-
headers-6.2.0-1003-kvm_6.2.0-1003.3_amd64.deb.extract/usr/src/linux-
headers-6.2.0-1003-kvm/rust:

$ ll -S | head
total 81876
-rw-r--r-- 1 paelzer paelzer 54727271 Apr  6 09:50 libcore.rmeta
-rw-r--r-- 1 paelzer paelzer 18678432 Apr  6 09:50 libmacros.so
-rw-r--r-- 1 paelzer paelzer  5380859 Apr  6 09:50 libbindings.rmeta
-rw-r--r-- 1 paelzer paelzer  2835696 Apr  6 09:50 core.o
-rw-r--r-- 1 paelzer paelzer   904778 Apr  6 09:50 liballoc.rmeta
-rw-r--r-- 1 paelzer paelzer   589288 Apr  6 09:50 bindings.o
-rw-r--r-- 1 paelzer paelzer   186221 Apr  6 09:50 libkernel.rmeta
-rw-r--r-- 1 paelzer paelzer   106528 Apr  6 09:50 kernel.o
-rw-r--r-- 1 paelzer paelzer    99356 Apr  6 09:50 .bindings.o.cmd

Since these are meant to be sources, could we provide them in a way to
be regeneratable but not of the binary size and format in linux-headers?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2015867

Title:
  Kernel 6.1 bumped the disk consumption on default images by 15%

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,
  in the regular monitoring of metrics there was a bump in disk size last week.
  The default image once installed consumes now 994 (formerly 859) megabytes.

  Looking at the consumers there was much noise, but the biggest change
  was

  linux-headers-5.19.0-1008-kvm 25197 -> linux-headers-6.2.0-1002-kvm 108072 
  linux-modules-5.19.0-1008-kvm 76090 -> linux-modules-6.2.0-1002-kvm 97221

  I haven't looked deeper yet. Is that an accident and will be fixed
  soon, is that a change we can do nothing about, anything in between?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2015867/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to