[Kernel-packages] [Bug 2028568] Re: Ship kernel modules compressed

2023-07-26 Thread Dimitri John Ledkov
hi, i like portions of the patch, but not quite where in the machinery
it is implemented.

As we have many more packages that ship .ko modules, and those debs
should not be compressed.

And also i'd want to enable in-kernel decompressor too.

-- 
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/2028568

Title:
  Ship kernel modules compressed

Status in linux package in Ubuntu:
  New

Bug description:
  To reduce the size of the initramfs and also to speed up the boot (by
  only decompressing the modules that are needed), please compress the
  kernel modules. From size and speed perspective, either use zstd or
  xz. I suggest to go with zstd -19.

  This change is independent of the initramfs-tools version. Old
  initramfs-tools versions will decompress the kernel modules before
  putting them in the initramfs. New initramfs-tools versions will put
  the compressed kernel modules into an uncompressed cpio archive (see
  bug #2028567).

  See also https://lists.ubuntu.com/archives/ubuntu-
  devel/2023-July/042652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2028568/+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


[Kernel-packages] [Bug 2028568] Re: Ship kernel modules compressed

2023-07-24 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
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/2028568

Title:
  Ship kernel modules compressed

Status in linux package in Ubuntu:
  New

Bug description:
  To reduce the size of the initramfs and also to speed up the boot (by
  only decompressing the modules that are needed), please compress the
  kernel modules. From size and speed perspective, either use zstd or
  xz. I suggest to go with zstd -19.

  This change is independent of the initramfs-tools version. Old
  initramfs-tools versions will decompress the kernel modules before
  putting them in the initramfs. New initramfs-tools versions will put
  the compressed kernel modules into an uncompressed cpio archive (see
  bug #2028567).

  See also https://lists.ubuntu.com/archives/ubuntu-
  devel/2023-July/042652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2028568/+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


[Kernel-packages] [Bug 2028568] Re: Ship kernel modules compressed

2023-07-24 Thread Benjamin Drung
Attached a tested patch for zstd -19 compression.

** Patch added: "0001-UBUNTU-Compress-kernel-modules-with-zst-19.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2028568/+attachment/5688115/+files/0001-UBUNTU-Compress-kernel-modules-with-zst-19.patch

-- 
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/2028568

Title:
  Ship kernel modules compressed

Status in linux package in Ubuntu:
  New

Bug description:
  To reduce the size of the initramfs and also to speed up the boot (by
  only decompressing the modules that are needed), please compress the
  kernel modules. From size and speed perspective, either use zstd or
  xz. I suggest to go with zstd -19.

  This change is independent of the initramfs-tools version. Old
  initramfs-tools versions will decompress the kernel modules before
  putting them in the initramfs. New initramfs-tools versions will put
  the compressed kernel modules into an uncompressed cpio archive (see
  bug #2028567).

  See also https://lists.ubuntu.com/archives/ubuntu-
  devel/2023-July/042652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2028568/+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