$ sudo hyperfine -r 5 "update-initramfs -u"
Benchmark 1: update-initramfs -u
Time (mean ± σ): 98.473 s ± 2.263 s [User: 26.061 s, System: 73.138 s]
Range (min … max): 95.923 s … 101.560 s 5 runs
So that's a pretty substantial improvement. Still not *quite* at the mantic level, but it's in the same ball-park now, and that's not including the changes to lvm2 or cryptsetup.
Results on a Pi 4B booting from SD card. Stock noble:
$ sudo hyperfine -r 5 "update-initramfs -u"
Benchmark 1: update-initramfs -u
Time (mean ± σ): 189.984 s ± 1.618 s [User: 75.720 s, System: 115.323 s]
Range (min … max): 187.319 s … 191.142 s 5 runs
Then running the branch from https:/ /code.launchpad .net/~bdrung/ ubuntu/ +source/ initramfs- tools/+ git/initramfs- tools/+ ref/ubuntu/ devel :
$ sudo hyperfine -r 5 "update-initramfs -u"
Benchmark 1: update-initramfs -u
Time (mean ± σ): 98.473 s ± 2.263 s [User: 26.061 s, System: 73.138 s]
Range (min … max): 95.923 s … 101.560 s 5 runs
So that's a pretty substantial improvement. Still not *quite* at the mantic level, but it's in the same ball-park now, and that's not including the changes to lvm2 or cryptsetup.