Skip to content

Instantly share code, notes, and snippets.

@cgwalters
Last active February 1, 2016 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgwalters/69e84cc5c2967c93bd8e to your computer and use it in GitHub Desktop.
Save cgwalters/69e84cc5c2967c93bd8e to your computer and use it in GitHub Desktop.
Are we slim yet?

Are we slim yet?

Translations, coreutils also has a lot of static linking of gnulib.

120417342 glibc-common
14623272 coreutils
14000291 glibc

Kubernetes/etcd/cadvisor: Golang static linking, multipled by each binary

43842006 kubernetes
9777126 etcd
9060859 cadvisor

Kernel, hard to shrink without losing deployment targets

42250371 kernel-core

Python: cloud-init, heat-cfntools, policycoreutils-python

(And something is pulling in yum explicitly)

1430392 cloud-init
252013 heat-cfntools
1216369 policycoreutils-python
79553 python
36419 python3
28023335 python3-libs
25000521 python-libs
8827685 python-boto
1958459 python-cheetah
1675501 python-setuptools
1156542 python-chardet
669945 PyYAML
497396 python-urlgrabber
478109 python-pycurl
471381 python-psutil
238515 pygpgme
370719 python-configobj
313841 python-requests
299265 python-urllib3
183858 python-prettytable
142684 python-IPy
117677 newt-python
116198 python-iniparse
315402 audit-libs-python
89609 python-six
53487 python-jsonpatch
341517 libsemanage-python
64631 pyxattr
198352 pyliblzma
15167 python-jsonpointer
733742 libselinux-python
1489880 python3-setuptools
5869848 python3-pip
14584 python-backports-ssl_match_hostname
638 python-backports
170513 rpm-python
5844544 yum

Git, pulls in Perl =(

26311673 git
23951692 perl
10378542 perl-Encode
1688648 perl-libs
547484 perl-Module-CoreList
538283 perl-Pod-Simple
294911 perl-podlators
227823 perl-version
189507 perl-Storable
185798 perl-PathTools
173965 perl-Pod-Perldoc
160001 perl-File-Temp
149102 perl-Filter
134965 perl-Getopt-Long
123815 perl-HTTP-Tiny
116439 perl-Socket
98920 perl-threads
94941 perl-Time-HiRes
91622 perl-Scalar-List-Utils
89845 perl-Term-ANSIColor
74339 perl-threads-shared
71008 perl-Error
64963 perl-TermReadKey
59981 perl-Git
57092 perl-Exporter
50067 perl-File-Path
45523 perl-Pod-Usage
44061 perl-Time-Local
38737 perl-Carp
26362 perl-constant
21170 perl-Pod-Escapes
16430 perl-Text-ParseWords
8492 perl-parent
5342 perl-macros

Systemd

22110928 systemd

Has lots of binaries, uses -ffunction-sections -Wl,--gc-sections, but that still results in a fair amount of duplicated text.

device-mapper-persistent-data

19657778 device-mapper-persistent-data

jthornber/thin-provisioning-tools#8

Docker: Golang static linking

18726375 docker-io

Kernel modules

17536 kernel-modules

Ruby: something is pulling this in...

11270436 ruby-libs
1887041 rubygem-rdoc
851889 rubygems
161344 ruby-irb
114273 rubygem-psych
94859 rubygem-json
90053 rubygem-bigdecimal
64733 ruby
16457 rubygem-io-console
455 rubypick

glib2

10746197 glib2

Removing translations would shrink this.

SELinux policy: Hard to shrink

10511598 selinux-policy-targeted
9389116 cracklib-dicts
8579154 util-linux
7084188 bash
6669884 gnupg2
6020498 NetworkManager
5603262 hwdata
5249278 man-pages
4893790 policycoreutils
4089557 mozjs17
3904309 xfsprogs
3790652 file-libs
3540004 shadow-utils
3458312 groff-base
3173726 gsettings-desktop-schemas
2997717 tar
2987541 e2fsprogs
2682732 openssl-libs
2638239 pam
2601789 nss
2583474 btrfs-progs
2401099 wget
2311508 lvm2-libs
2290305 openssh-clients
2268518 krb5-libs
2255698 gawk
2064152 parted
2042341 rsyslog
2041421 shared-mime-info
2028069 sudo
1967137 rpm
1958448 gnutls
1953424 libuser
1903150 nss-tools
1888520 libdb
1878736 slang
1847759 lvm2
1835390 syslinux-nonlinux
1811680 bind-libs-lite
1800677 man-db
1692366 libxml2
1670840 tzdata
1627684 pcre
1590877 udisks2
1579960 iptables
1535424 findutils
1449969 openssh
1413425 initscripts
1290440 iproute
1247380 libsoup
1242947 setools-libs
1199899 make
1194652 grep
1118054 nss-softokn
1114574 libstdc++
1094112 checkpolicy
1088401 ca-certificates
1076749 syslinux
1073548 diffutils
1055497 strace
1026280 ncurses-libs
1025608 NetworkManager-glib
997229 tcpdump
993638 openldap
991173 libgcrypt
989164 syslinux-extlinux-nonlinux
987736 systemd-libs
973438 elfutils-libelf
953059 lsof
952625 ppp
946708 net-tools
938647 openssh-server
937713 mdadm
926672 vim-minimal
922473 dracut
898221 sqlite
895306 dbus
853063 procps-ng
844926 openssl
843752 ntfsprogs
836731 trousers
835962 rsync
804541 gobject-introspection
782030 bash-completion
771872 nettle
757895 libsolv
748851 libarchive
742390 chkconfig
738456 libevent
714824 libnl3
711156 cryptsetup-libs
698917 setup
689887 elfutils-libs
688978 cpio
687354 gdisk
668318 ntfs-3g
651669 gmp
634327 libidn
629364 audit
617160 rpm-libs
607063 gpgme
605545 sed
602972 lua
599651 setools-console
599160 dnsmasq
593211 tmux
539104 ostree
537100 libudisks2
525140 curl
525111 nss-softokn-freebl
500699 p11-kit
496376 dhclient
494939 readline
487330 polkit
477516 libcurl
475072 PackageKit-glib
450058 json-glib
443083 ncurses
430552 p11-kit-trust
421476 passwd
419986 libtasn1
418949 glib-networking
395463 cyrus-sasl-lib
386495 iputils
381511 gdbm
375633 info
371977 libssh
366233 e2fsprogs-libs
359561 libgpg-error
342756 device-mapper-libs
337446 libssh2
335768 dbus-libs
333534 libpwquality
333113 mtools
328537 libpcap
317844 gzip
316174 libnl3-cli
315826 libmount
315048 accountsservice
314064 libsepol
306015 libgnome-keyring
305294 nspr
303160 libdb-utils
301181 dbus-glib
301148 accountsservice-libs
294991 ustr
289051 libdrm
280072 storaged
266459 pth
265128 libblkid
262686 cryptsetup
262177 nmap-ncat
261478 dhcp-common
259154 teamd
254256 dosfstools
251268 libsemanage
243030 cronie
238154 libedit
236829 xz
236460 audit-libs
235407 xz-libs
231705 plymouth
226457 ncurses-base
219973 less
210368 syslinux-extlinux
209978 cracklib
207963 expat
204039 kmod
203066 dmidecode
201955 newt
200936 plymouth-core-libs
199604 nss-util
191048 device-mapper
189312 acl
188155 zlib
183368 libgcc
172462 libproxy
169709 lzo
169602 libsmartcols
166768 rpm-build-libs
161914 libselinux
155023 libassuan
152851 avahi-libs
149504 dhcp-libs
140861 hawkey
138286 libnetfilter_conntrack
134378 tcp_wrappers-libs
131706 libcgroup
128689 libyaml
127918 qrencode-libs
126214 popt
120410 libseccomp
114376 libselinux-utils
112773 rpm-ostree
109693 libcap
109579 kmod-libs
108259 libatasmart
107904 pkgconfig
102715 logrotate
102271 libpipeline
100756 libteam
98078 libgsystem
95698 pinentry
89868 bzip2
82465 polkit-pkla-compat
77002 which
76761 yum-metadata-parser
72729 libss
71179 libndp
69829 bzip2-libs
68342 jansson
68232 libmetalink
66075 linux-atm-libs
61853 libdaemon
60233 libcom_err
59023 libmodman
55142 keyutils-libs
54428 device-mapper-event-libs
53939 cloud-utils-growpart
51944 libgudev1
51503 libmnl
50366 libcap-ng
49757 libutempter
48764 libffi
46619 libnfnetlink
46613 json-c
45497 libpciaccess
45120 avahi-autoipd
44098 libestr
41628 cronie-anacron
38879 fipscheck
37771 kpartx
37660 device-mapper-event
37601 hostname
36600 libacl
35142 crypto-policies
34677 hardlink
27529 liblogging-stdlog
27137 bind-license
22804 libverto
22167 plymouth-scripts
21592 libuuid
21438 crontabs
20253 libattr
18186 selinux-policy
14862 fedora-repos
13980 nss-sysinit
12550 nss-altfiles
11496 rpm-plugin-selinux
11426 fipscheck-lib
7901 docker-storage-setup
4167 fedora-release
1063 fedora-release-cloud
599 rootfiles
14 dracut-config-generic
0 libreport-filesystem
0 kernel
0 filesystem
0 basesystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment