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

15 Seconds

Average Run Time

10 Minutes, 13 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.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082K4K6K8K10K
* 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 27 September 2022.

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,807 public results since 17 April 2019 with the latest data as of 27 September 2022.

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
49
20 +/- 1
90th
4
21 +/- 1
85th
13
22 +/- 2
83rd
12
23 +/- 3
78th
28
24 +/- 3
77th
11
24 +/- 1
Mid-Tier
75th
> 24
65th
8
27 +/- 1
63rd
19
29 +/- 2
59th
7
31 +/- 1
56th
14
34 +/- 3
54th
11
35 +/- 1
54th
5
35 +/- 1
54th
45
35 +/- 5
51st
13
39 +/- 2
51st
5
39 +/- 2
Median
50th
40
50th
5
41 +/- 1
47th
8
45
46th
5
46 +/- 4
46th
7
46 +/- 1
45th
6
48 +/- 2
45th
9
48 +/- 3
44th
19
49 +/- 3
41st
11
51 +/- 6
39th
11
52 +/- 5
39th
21
52 +/- 3
39th
21
52 +/- 5
38th
3
53 +/- 1
37th
3
54 +/- 3
36th
24
55 +/- 3
36th
4
55 +/- 3
35th
8
56 +/- 6
35th
13
57 +/- 6
33rd
20
60 +/- 2
30th
3
63 +/- 4
29th
3
65 +/- 8
28th
3
66 +/- 1
28th
5
66 +/- 9
27th
19
70 +/- 3
26th
13
73 +/- 6
Low-Tier
25th
> 74
25th
17
77 +/- 1
23rd
4
79 +/- 3
22nd
5
80 +/- 1
22nd
17
80 +/- 1
22nd
4
81 +/- 6
21st
4
88 +/- 9
20th
3
92 +/- 8
20th
3
94 +/- 13
19th
4
97 +/- 12
19th
4
100 +/- 3
19th
4
100 +/- 3
16th
6
110 +/- 13
15th
3
122 +/- 7
15th
10
123 +/- 9
14th
6
132 +/- 15
13th
3
140 +/- 6
13th
6
140 +/- 8
13th
3
144 +/- 1
9th
3
213 +/- 8
9th
3
214 +/- 20
8th
3
232 +/- 2
8th
16
277 +/- 13
7th
4
293 +/- 10
4th
22
392 +/- 40
3rd
16
403 +/- 10
OpenBenchmarking.orgDistribution Of Public Results - Compressing ubuntu-16.04.3-server-i386.img, Compression Level 92807 Results Range From 11 To 3597 Seconds118315522729937144351558765973180387594710191091116312351307137914511523159516671739181118831955202720992171224323152387245925312603267527472819289129633035310731793251332333953467353936115001000150020002500

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 6 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.27 / 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.81 / 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

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
SPARC64
sparc64
(Many Processors)
IBM Z
s390x
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
MIPS 64-bit
mips64
Loongson-3A R4
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A7 8-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 4-Core
ARMv8 64-bit
arm64
Apple, Apple M1, Apple M1 Max, Apple M2
DEC Alpha
alpha
Alpha
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A55 6-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 2-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 rev 0 4-Core, ARMv8 rev 3 4-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

13 Systems - 97 Benchmark Results

2 x Intel Xeon E5-2680 v2 - Supermicro X9DR3-F v0123456789 - Intel Xeon E7 v2

Arch Linux - 5.19.10-arch1-1 - GCC 12.2.0

1 System - 46 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Steel Legend - AMD Renoir

ManjaroLinux 22.0.0 - 5.19.7-1-MANJARO - Cinnamon 5.4.10

1 System - 3 Benchmark Results

2 x Intel Xeon E5-2680 v2 - Supermicro X9DR3-F v0123456789 - Intel Xeon E7 v2

Arch Linux - 5.19.10-arch1-1 - GCC 12.2.0

1 System - 24 Benchmark Results

AMD Ryzen 5 5600G - ASRock B550M Steel Legend - AMD Renoir

ManjaroLinux 22.0.0 - 5.19.7-1-MANJARO - Cinnamon 5.4.10

1 System - 43 Benchmark Results

1 System - 1 Benchmark Result

Intel Core i7-1280P - LENOVO LNVNB161216 - Intel Alder Lake PCH

Fedora Linux 36 - 5.18.18-200.fc36.x86_64 - KDE Plasma 5.25.4

2 Systems - 53 Benchmark Results

2 x AMD EPYC 7302 16-Core - TYAN S8253GM2NE - AMD Starship

Ubuntu 22.04 - 5.15.0-46-generic - GNOME Shell 42.2

1 System - 53 Benchmark Results

2 x Intel Xeon E5-2620 v3 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-46-generic - GNOME Shell 42.2

1 System - 53 Benchmark Results

2 x Intel Xeon E5-2620 v3 - Supermicro X10DRL-i v1.01 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-46-generic - GNOME Shell 42.2

2 Systems - 27 Benchmark Results

Intel Core i7-12700F - MSI PRO Z690-A WIFI - Intel Alder Lake-S PCH

Arch rolling - 5.19.0-arch1-1 - KDE Plasma 5.25.4

2 Systems - 87 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS ELITE WIFI - AMD Starship

Gentoo 2.8 - 5.19.1-gentoo-harambe-edition - KDE Plasma 5.25.4

1 System - 1 Benchmark Result

Unknown - Huawei BC82AMDDUA - Huawei HiSilicon

Ubuntu 20.04 - 5.4.0-122-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Unknown - Huawei BC82AMDD - Huawei HiSilicon

Ubuntu 20.04 - 5.4.0-122-generic - X Server 1.20.13

2 Systems - 87 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS ELITE WIFI - AMD Starship

Gentoo 2.8 - 5.19.1-gentoo-harambe-edition - KDE Plasma 5.25.4

3 Systems - 190 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

12 Systems - 593 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Taichi - AMD Starship

Fedora 33 - 5.8.16-300.fc33.x86_64 - GNOME Shell 3.38.1

4 Systems - 99 Benchmark Results

Apple - Apple Mac mini - 8GB

macOS 11.0 - 20.1.0 - OpenCL 1.2

5 Systems - 11 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - 4096MB

Ubuntu 19.10 - 5.3.0-1022-raspi2 - GCC 9.2.1 20191008

12 Systems - 209 Benchmark Results

POWER9 - PowerNV C1P9S01 REV 1.01 - 131072MB

Ubuntu 19.04 - 5.0.0-17-generic - GCC 9.1.0

4 Systems - 67 Benchmark Results

AMD Ryzen 5 3600X 6-Core - MSI X470 GAMING M7 AC - AMD Device 1480

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

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 - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 20.04 - 5.4.0-37-generic - GNOME Shell 3.36.2

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

6 Systems - 76 Benchmark Results

Intel Core i5-8265U - Raticate_WL - Intel Cannon Point-LP

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

Find More Test Results