On Tue, Sep 09, 2025 at 06:55:09PM +0100, Daniel P. Berrangé wrote:
> On Tue, Sep 09, 2025 at 10:19:20AM -0700, Adam Williamson wrote:
> > On Tue, 2025-09-09 at 13:07 -0400, Chris Murphy wrote:
> > > I just noticed this ~168% size increase in initramfs files on Fedora 42 
> > > (they are Fedora 43 kernels, shouldn't matter). 
> > > 
> > >  35M -rw-------. 1 root root  35M Jul  8 19:33 
> > > initramfs-6.16.0-0.rc5.65.fc43.x86_64.img
> > >  59M -rw-------. 1 root root  59M Jul 20 12:45 
> > > initramfs-6.16.0-0.rc6.52.fc43.x86_64.img
> > > 
> > > All subsequent initramfs are of the larger size including fc42 kernels.
> > > 
> > > $ sudo lsinitrd initramfs-6.16.0-0.rc5.65.fc43.x86_64.img | grep dracut
> > > Version: dracut-105-3.fc42
> > > 
> > > $ sudo lsinitrd initramfs-6.16.0-0.rc6.52.fc43.x86_64.img | grep dracut
> > > Version: dracut-107-1.fc42
> > > 
> > > 
> > > Is anyone else seeing a big jump in initramfs files? Is it expected?
> > 
> > Run lsinitrd on them and diff the output?
> 
> Comparing an old and new initramfs I see a tonne more files across a
> great many dirs:
> 
>  * usr/lib/firmware
>  * usr/lib/modules/$VER/kernel/arch/x86/crypto
>  * usr/lib/modules/$VER/kernel/drivers/char/tpm
>  * usr/lib/modules/$VER/kernel/drivers/crypto
>  * usr/lib/modules/$VER/kernel/drivers/net
>  * usr/lib/modules/$VER/kernel/fs
>  * usr/lib/modules/$VER/kernel/net

...but in terms of individual file size, the really big additions
are NetworkManager & lvm, and the various deps they have. The 30
biggest extra files in my initramfs from dracut 107, vs previous
105 are:

# tail -30 extra.txt  
837072 usr/lib64/libkrb5.so.3.3
861664 usr/bin/xfs_db
874752 usr/bin/xfs_repair
886480 usr/bin/gawk
898440 usr/lib64/libtss2-fapi.so.1.0.0
898440 usr/lib64/libtss2-fapi.so.1.0.0
940496 usr/lib64/libcurl.so.4.8.0
940496 usr/lib64/libcurl.so.4.8.0
940496 usr/lib64/libcurl.so.4.8.0
949520 usr/bin/nmcli
980216 usr/lib64/libnftables.so.1.1.0
980216 usr/lib64/libnftables.so.1.1.0
1485320 usr/lib64/libp11-kit.so.0.4.1
1485320 usr/lib64/libp11-kit.so.0.4.1
1485320 usr/lib64/libp11-kit.so.0.4.1
1524136 usr/lib64/libnm.so.0.1.0
1524136 usr/lib64/libnm.so.0.1.0
1756032 usr/lib64/libunistring.so.5.0.0
1756032 usr/lib64/libunistring.so.5.0.0
1756032 usr/lib64/libunistring.so.5.0.0
1934632 usr/lib64/libgio-2.0.so.0.8504.0
1934632 usr/lib64/libgio-2.0.so.0.8504.0
1934632 usr/lib64/libgio-2.0.so.0.8504.0
2081688 usr/bin/dhclient
2783400 usr/bin/lvm
2889016 usr/lib64/libgnutls.so.30.40.4
2889016 usr/lib64/libgnutls.so.30.40.4
2889016 usr/lib64/libgnutls.so.30.40.4
3700224 usr/bin/NetworkManager
13763628 etc/udev/hwdb.bin


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to