Tested on amd64 laptop in a chroot. Without noble-proposed: ``` $ schroot-wrapper -c noble -u root -p initramfs-tools,cloud-initramfs-copymods,cloud-initramfs-rescuevol,cloud-initramfs-dyn-netconf,cloud-initramfs-growroot,cloud-initramfs-rooturl,cloud-initramfs-updateroot,overlayroot,hyperfine,linux-image-generic # hyperfine "update-initramfs -u" Benchmark 1: update-initramfs -u Time (mean ± σ): 7.952 s ± 0.232 s [User: 2.699 s, System: 5.750 s] Range (min … max): 7.539 s … 8.394 s 10 runs # lsinitramfs /boot/initrd.img > /files # dpkg -l | grep -E '(cryptsetup|initramfs|dracut|open-iscsi|lvm2|thin-provisioning-tools|overlayroot)' ii busybox-initramfs 1:1.36.1-6ubuntu3.1 amd64 Standalone shell setup for initramfs ii cloud-initramfs-copymods 0.48 all copy initramfs modules into root filesystem for later use ii cloud-initramfs-dyn-netconf 0.48 all write a network interface file in /run for BOOTIF ii cloud-initramfs-growroot 0.48 all automatically resize the root partition on first boot ii cloud-initramfs-rescuevol 0.48 all boot off a rescue volume rather than root filesystem ii cloud-initramfs-rooturl 0.48 all use a tarball or squashfs image in a url as the root filesystem ii cloud-initramfs-updateroot 0.48 all extract a tarball over root filesystem before pivot ii cryptsetup 2:2.7.0-1ubuntu4 amd64 disk encryption support - startup scripts ii cryptsetup-bin 2:2.7.0-1ubuntu4 amd64 disk encryption support - command line tools ii dracut-install 060+5-1ubuntu3.2 amd64 dracut is an event driven initramfs infrastructure (dracut-install) ii initramfs-tools 0.142ubuntu25.1 all generic modular initramfs generator (automation) ii initramfs-tools-bin 0.142ubuntu25.1 amd64 binaries used by initramfs-tools ii initramfs-tools-core 0.142ubuntu25.1 all generic modular initramfs generator (core tools) ii libcryptsetup12:amd64 2:2.7.0-1ubuntu4 amd64 disk encryption support - shared library ii libklibc:amd64 2.0.13-4ubuntu0.1 amd64 minimal libc subset for use with initramfs ii overlayroot 0.48 all use an overlayfs on top of a read-only root filesystem ```
With noble-proposed: ``` $ schroot-wrapper -c noble -u root -p initramfs-tools,cloud-initramfs-copymods,cloud-initramfs-rescuevol,cloud-initramfs-dyn-netconf,cloud-initramfs-growroot,cloud-initramfs-rooturl,cloud-initramfs-updateroot,overlayroot,hyperfine,linux-image-6.8.0-41-generic -e # hyperfine "update-initramfs -u" Benchmark 1: update-initramfs -u Time (mean ± σ): 7.647 s ± 0.277 s [User: 2.631 s, System: 5.502 s] Range (min … max): 7.139 s … 7.973 s 10 runs # dpkg -l | grep -E '(cryptsetup|initramfs|dracut|open-iscsi|lvm2|thin-provisioning-tools|overlayroot)' ii busybox-initramfs 1:1.36.1-6ubuntu3.1 amd64 Standalone shell setup for initramfs ii cloud-initramfs-copymods 0.49~24.04.1 all copy initramfs modules into root filesystem for later use ii cloud-initramfs-dyn-netconf 0.49~24.04.1 all write a network interface file in /run for BOOTIF ii cloud-initramfs-growroot 0.49~24.04.1 all automatically resize the root partition on first boot ii cloud-initramfs-rescuevol 0.49~24.04.1 all boot off a rescue volume rather than root filesystem ii cloud-initramfs-rooturl 0.49~24.04.1 all use a tarball or squashfs image in a url as the root filesystem ii cloud-initramfs-updateroot 0.49~24.04.1 all extract a tarball over root filesystem before pivot ii cryptsetup 2:2.7.0-1ubuntu4.1 amd64 disk encryption support - startup scripts ii cryptsetup-bin 2:2.7.0-1ubuntu4.1 amd64 disk encryption support - command line tools ii dracut-install 060+5-1ubuntu3.2 amd64 dracut is an event driven initramfs infrastructure (dracut-install) ii initramfs-tools 0.142ubuntu25.2 all generic modular initramfs generator (automation) ii initramfs-tools-bin 0.142ubuntu25.2 amd64 binaries used by initramfs-tools ii initramfs-tools-core 0.142ubuntu25.2 all generic modular initramfs generator (core tools) ii libcryptsetup12:amd64 2:2.7.0-1ubuntu4.1 amd64 disk encryption support - shared library ii libklibc:amd64 2.0.13-4ubuntu0.1 amd64 minimal libc subset for use with initramfs ii overlayroot 0.49~24.04.1 all use an overlayfs on top of a read-only root filesystem # lsinitramfs /boot/initrd.img > /files ``` The creation time is slightly faster and diffing the content of the initrds show no difference: ``` diff -u /run/schroot/mount/noble-*/files ``` So verified the SRU successfully. ** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-done verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065180 Title: performance regression in dracut-install 060 To manage notifications about this bug go to: https://bugs.launchpad.net/dracut/+bug/2065180/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs