Hi Luca,

On Mon, Jul 15, 2024 at 02:50:17PM +0100, Luca Boccassi wrote:
> Let's put some hard numbers on the table given this is an important
> detail. The following is all starting from a default debootstrapped
> unstable.
> 
> With networkd only we can drop ifupdown, net changes:
> 
> REMOVING:
>   ifupdown
> 
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
>   Freed space: 207 kB
> 
> 
> Using network-manager in headless mode (no GUI) brings in:
> [...] 
>
> Summary:
>   Upgrading: 0, Installing: 69, Removing: 0, Not Upgrading: 0
>   Download size: 28.2 MB
>   Space needed: 110 MB / 8295 MB available
> 
> 
> Installing netplan.io instead brings in:
> [...]
> 
> Summary:
>   Upgrading: 0, Installing: 42, Removing: 0, Not Upgrading: 0
>   Download size: 25.2 MB
>   Space needed: 101 MB / 8340 MB available
> 
> 
> So we have a net gain of ~200K when using networkd, a net loss of
> ~110M when using network-manager, and a net loss of ~101M when using
> netplan.

For completeness let me turn that arguemnt around on you as systemd
maintainer. Why is systemd-networkd, a component currently disabled by
default mind you bloating our base system? :)

$ dpkg -L systemd | grep networkd | sudo xargs du -ch
4.0K    /etc/systemd/networkd.conf
4.0K    /lib/systemd/system/systemd-networkd-wait-online.service
4.0K    /lib/systemd/system/systemd-networkd-wait-online@.service
4.0K    /lib/systemd/system/systemd-networkd.service
4.0K    /lib/systemd/system/systemd-networkd.socket
1.6M    /lib/systemd/systemd-networkd
32K     /lib/systemd/systemd-networkd-wait-online
4.0K    /usr/share/man/man5/networkd.conf.5.gz
4.0K    /usr/share/man/man8/systemd-networkd-wait-online.service.8.gz
4.0K    /usr/share/man/man8/systemd-networkd.service.8.gz
4.0K    /usr/share/polkit-1/rules.d/systemd-networkd.rules
4.0K    /usr/share/man/man5/networkd.conf.d.5.gz
4.0K    /usr/share/man/man8/systemd-networkd-wait-online.8.gz
4.0K    /usr/share/man/man8/systemd-networkd-wait-onl...@.service.8.gz
4.0K    /usr/share/man/man8/systemd-networkd.8.gz
1.7M    total

--Daniel

Attachment: signature.asc
Description: PGP signature

Reply via email to