Re: Fedora 31 System-Wide Change proposal: Switch RPMs to zstd compression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2019-05-30 at 12:20 -0400, Adam Jackson wrote:

> - What's the mean and/or median size of an rpm in Fedora, and what
> difference in {de,}compression time would that likely experience?

Just to follow up on this since it was quick to math out. For Fedora
30's x86_64 repo, various "averages" and some nearby binary rpms to
each:

Arithmetic mean: 1347495
-rw-r--r--. 1 ajax ajax   13532128 Feb  9 16:52 texlive-pgfplots-doc-svn47373-25.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax   13522512 Feb 17 19:28 Singular-doc-4.1.1p3-4.fc30.x86_64.rpm
-rw-r--r--. 1 ajax ajax   13452180 Feb  7 11:45 asterisk-sounds-core-es-g722-1.6.1-5.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax   13411540 Mar 14 10:27 eclipse-dtp-1.14.102-4.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax   13358352 Mar 13 05:50 gcc-go-9.0.1-0.10.fc30.x86_64.rpm

Geometric mean: 104613
-rw-r--r--. 1 ajax ajax     104624 Feb  9 16:55 texlive-datetime2-polish-doc-svn36692.1.0-25.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax     104624 Feb  3 21:55 usbutils-010-3.fc30.x86_64.rpm
-rw-r--r--. 1 ajax ajax     104612 Aug 17  2018 samtools-libs-0.1.19-16.fc29.x86_64.rpm
-rw-r--r--. 1 ajax ajax     104600 Feb  5 11:43 kf5-khtml-devel-5.55.0-1.fc30.x86_64.rpm
-rw-r--r--. 1 ajax ajax     104588 Feb  2 00:49 objenesis-2.6-4.fc30.noarch.rpm

Median: 71064
-rw-r--r--. 1 ajax ajax      71068 Feb  7 01:26 dagger-1.2.2-10.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax      71068 Feb 24 17:02 gnome-shell-extension-system-monitor-applet-36-4.20190224git2583911.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax      71064 Feb 15 10:55 cbi-plugins-javadoc-1.1.5-5.fc30.noarch.rpm
-rw-r--r--. 1 ajax ajax      71064 Mar 11 08:03 opensips-acc-2.4.5-1.fc30.x86_64.rpm
-rw-r--r--. 1 ajax ajax      71060 Feb  2 05:40 libgrss-devel-0.7.0-8.fc30.x86_64.rpm
-rw-r--r--. 1 ajax ajax      71040 Feb  2 23:15 mbuffer-20181119-2.fc30.x86_64.rpm

So I kind of take it back. Even single-threaded and at zstd level 19
you'll get about 1MB/s of output (according to your sample table in the
change proposal), and something like 90% of packages are below 1MB
compressed, so I'm hard pressed to care about <1s of difference in
compression time for the vast majority of packages.

Possibly more interesting are the 21 biggest packages (an almost
arbitrary number, the 22nd biggest is the first one that's not noarch):

-rw-r--r--. 1 ajax ajax 1690320420 Feb  1 08:13 FlightGear-data-2018.3.2-1.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax 1378818072 Feb 16 12:29 speed-dreams-robots-base-2.2.2-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  918112496 Mar 20 11:06 xonotic-data-0.8.2-6.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  913953504 Feb  7 11:46 astrometry-data-4204-0.76-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  876513824 Feb 16 12:29 redeclipse-data-1.5.6-9.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  795939928 Feb  6 15:24 alienarena-data-7.71.0-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  763842068 Feb  4 15:33 0ad-data-0.0.23b-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  520122860 Aug 23  2018 supertuxkart-data-0.9.3-2.fc30.5.noarch.rpm 
-rw-r--r--. 1 ajax ajax  518557008 Mar 13 15:44 kicad-packages3d-5.1.0-1.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  496263868 Feb  3 22:27 vdrift-data-20141020-16.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  464651048 Feb  7 11:46 astrometry-data-4205-0.76-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  447486852 Feb  3 17:35 warsow-data-2.1.2-3.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  426017596 Feb 26 22:33 wesnoth-data-1.14.6-1.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  413617108 Feb  3 17:15 vegastrike-data-0.5.1-18.r1.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  400129316 Feb  2 01:53 openarena-0.8.8-14.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  398661608 Feb  6 21:49 berusky2-data-0.9-10.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  398113064 Jan 31 08:12 btbuilder-data-0.5.16-4.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  382267140 Mar  9 14:26 pioneer-data-20190203-2.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  367174128 Feb  1 21:20 julius-japanese-models-4.4.2.1-5.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  357514216 Feb  9 16:48 texlive-kerkis-svn15878.0-25.fc30.noarch.rpm 
-rw-r--r--. 1 ajax ajax  353033380 Aug 17  2018 torcs-data-1.3.7-4.fc28.noarch.rpm 

Or, the biggest desktop apps, since they're likely to see frequent
rebuilds, which are basically: eclipse, libreoffice, and firefox.

- ajax
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux