XZ Compression

This test measures the time needed to compress a sample file (an Ubuntu file-system image) using XZ compression.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark compress-xz.

Project Site

tukaani.org

Test Created

4 December 2018

Last Updated

17 April 2019

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

17 Seconds

Average Run Time

4 Minutes, 7 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsXZ Compression Popularity Statisticspts/compress-xz2018.122019.012019.022019.032019.042019.052019.062019.072019.082019.092019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092K4K6K8K10K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 22 September 2021.

Revision History

pts/compress-xz-1.1.0   [View Source]   Wed, 17 Apr 2019 05:41:53 GMT
Set compression level to 7 for better scalability per https://github.com/phoronix-test-suite/test-profiles/issues/76

pts/compress-xz-1.0.1   [View Source]   Thu, 17 Jan 2019 11:05:03 GMT
Add Windows support.

pts/compress-xz-1.0.0   [View Source]   Tue, 04 Dec 2018 12:09:16 GMT
Initial commit of XZ test profile to encourage moving past compress-lzma and co.

Suites Using This Test

Compression Tests

C/C++ Compiler Tests

CPU Massive


Performance Metrics

Analyze Test Configuration:

XZ Compression 5.2.4

Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9

OpenBenchmarking.org metrics for this test profile configuration based on 2,490 public results since 17 April 2019 with the latest data as of 19 September 2021.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
95th
27
19 +/- 1
93rd
41
20 +/- 1
90th
4
21 +/- 1
82nd
12
23 +/- 3
77th
27
24 +/- 3
76th
11
24 +/- 1
Mid-Tier
75th
> 24
64th
8
27 +/- 1
62nd
19
29 +/- 2
55th
14
34 +/- 3
53rd
11
35 +/- 1
53rd
45
35 +/- 5
Median
50th
40
50th
5
41 +/- 1
47th
5
46 +/- 1
46th
7
48 +/- 3
46th
6
48 +/- 2
43rd
10
50 +/- 1
41st
12
51 +/- 3
40th
9
52 +/- 5
40th
21
52 +/- 5
39th
3
54 +/- 3
38th
23
55 +/- 3
36th
13
57 +/- 6
36th
3
57 +/- 1
34th
18
60 +/- 1
32nd
3
63 +/- 4
31st
4
64 +/- 9
30th
3
65 +/- 8
30th
3
66 +/- 1
28th
19
70 +/- 3
26th
17
77 +/- 1
Low-Tier
25th
> 78
23rd
17
80 +/- 1
23rd
5
80 +/- 1
23rd
4
81 +/- 6
22nd
4
88 +/- 9
21st
3
94 +/- 13
20th
3
98 +/- 1
20th
3
100 +/- 11
17th
6
110 +/- 13
16th
3
122 +/- 7
16th
10
123 +/- 9
15th
6
132 +/- 15
14th
3
140 +/- 6
14th
6
140 +/- 8
13th
3
144 +/- 1
10th
18
199 +/- 15
9th
3
213 +/- 8
9th
3
232 +/- 2
8th
16
277 +/- 13
7th
4
293 +/- 10
4th
22
392 +/- 40
4th
16
403 +/- 10
OpenBenchmarking.orgDistribution Of Public Results - Compressing ubuntu-16.04.3-server-i386.img, Compression Level 92490 Results Range From 11 To 3597 Seconds11831552272993714435155876597318038759471019109111631235130713791451152315951667173918111883195520272099217122432315238724592531260326752747281928912963303531073179325133233395346735393611400800120016002000

Based on OpenBenchmarking.org data, the selected test / test configuration (XZ Compression 5.2.4 - Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9) has an average run-time of 5 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkCompressing ubuntu-16.04.3-server-i386.img, Compression Level 9Run-Time816243240Min: 1 / Avg: 5.05 / Max: 39

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.8%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsCompressing ubuntu-16.04.3-server-i386.img, Compression Level 9Deviation3691215Min: 0 / Avg: 0.82 / Max: 10

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseXZ Compression CPU Core ScalingCompressing ubuntu-16.04.3-server-i386.img, Compression Level 924681216243248643691215

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 47 Benchmark Results

Unknown - 2048MB - 25GB

Ubuntu 20.04 - 5.4.0-74-generic - 1.0.2

1 System - 9 Benchmark Results

1 System - 4 Benchmark Results

6 Systems - 133 Benchmark Results

Intel Core i9-10900K - ASRock Z490 Taichi - Intel Comet Lake PCH

Ubuntu 20.04 - 5.4.0-31-generic - GNOME Shell 3.36.1

5 Systems - 74 Benchmark Results

Intel Pentium Gold G6400 - Gigabyte B460M DS3H - Intel Device 9b73

Debian 10 - 4.19.0-9-amd64 - X Server 1.20.4

5 Systems - 71 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASUS PRIME B450M-A - AMD 17h

Ubuntu 20.04 - 5.4.0-81-generic - KDE Frameworks 5.68.0

5 Systems - 67 Benchmark Results

Intel Celeron G5900 - Gigabyte B460M DS3H - Intel Device 9b73

Debian 10 - 4.19.0-9-amd64 - X Server 1.20.4

5 Systems - 67 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 4 Model B Rev 1.4 - 8GB

Raspbian 10 - 5.10.60-v7l+ - LXDE 0.10.0

1 System - 41 Benchmark Results

AMD EPYC 7742 64-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Kali 2021.3 - 5.10.0-kali9-cloud-amd64 - KDE Plasma 5.21.5

6 Systems - 254 Benchmark Results

AMD Ryzen 3 PRO 4350G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35000 - 5.13.13-1070.native - GNOME Shell 40.4

1 System - 60 Benchmark Results

AMD EPYC 7281 16-Core - GIGABYTE MZ32-AR0-00 v01000100 - AMD 17h

Rocky 8.4 - 5.13.13-1.el8.elrepo.x86_64 - GNOME Shell 3.32.2

1 System - 5 Benchmark Results

AMD Ryzen 5 3600X 6-Core - Gigabyte X570 AORUS PRO - AMD Starship

Arch rolling - 5.13.13-arch1-1 - KDE Plasma 5.22.4

1 System - 113 Benchmark Results

4 x Intel Xeon E5-4657L v2 - Dell 04K5X5 - Intel Xeon E7 v2

Ubuntu 20.04 - 5.8.0-59-generic - GNOME Shell 3.36.9

1 System - 19 Benchmark Results

Intel Core i3-8100T - LENOVO 313D - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.8.0-63-generic - GNOME Shell 3.36.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

12 Systems - 593 Benchmark Results

AMD Ryzen 5 3600XT 6-Core - MSI X470 GAMING M7 AC - AMD Starship

Ubuntu 20.04 - 5.8.0-050800daily20200622-generic - GNOME Shell 3.36.2

4 Systems - 99 Benchmark Results

VirtualApple - Apple Mac mini - 8GB

macOS 11.0 - 20.1.0 - OpenCL 1.2

12 Systems - 209 Benchmark Results

Intel Core i9-9900K - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 19.04 - 5.2.0-999-generic - GNOME Shell 3.32.1

4 Systems - 67 Benchmark Results

AMD Ryzen 5 2600X Six-Core - MSI X470 GAMING M7 AC - AMD 17h

Ubuntu 18.04 - 5.0.0-27-generic - GNOME Shell 3.28.4

2 Systems - 66 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Device 1480

Ubuntu 18.04 - 4.18.0-25-generic - GNOME Shell 3.28.4

3 Systems - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - 64GB - 931GB

Ubuntu 20.04 - 4.4.0-19041-Microsoft - GCC 9.3.0

2 Systems - 123 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Clear Linux OS 29920 - 5.1.9-781.native - GNOME Shell 3.32.2

3 Systems - 301 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.4.0-40-generic - GNOME Shell 3.36.3

3 Systems - 143 Benchmark Results

AMD EPYC 7742 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 20.04 - 5.4.0-31-generic - GNOME Shell 3.36.1

2 Systems - 1708 Benchmark Results

AMD Ryzen 3 3300X 4-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 20.04 - 5.7.0-rc6-amd-energy - GNOME Shell 3.36.2

6 Systems - 76 Benchmark Results

Intel Core i7-5600U - LENOVO 20BSCTO1WW - Intel Broadwell-U-OPI

Ubuntu 19.10 - 5.3.0-19-generic - GNOME Shell 3.34.1

5 Systems - 11 Benchmark Results

AMD G-T56N - HP 17E2 - AMD 14h Root Complex

Ubuntu 20.04 - 5.4.0-42-generic - GCC 9.3.0

Find More Test Results