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

20 Seconds

Average Run Time

5 Minutes, 20 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

40k+ 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.082022.102022.122023.022023.042023.062023.082023.102023.122024.022K4K6K8K10K
* 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 updated weekly as of 2 March 2024.

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,565 public results since 17 April 2019 with the latest data as of 29 February 2024.

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)
94th
27
19 +/- 1
91st
46
20 +/- 1
88th
4
21 +/- 1
83rd
13
22 +/- 2
81st
12
23 +/- 3
76th
27
24 +/- 3
Mid-Tier
75th
> 24
67th
3
26
64th
8
27 +/- 1
62nd
8
28 +/- 2
62nd
18
28 +/- 3
58th
7
31 +/- 1
54th
15
34 +/- 3
54th
10
35 +/- 1
53rd
5
35 +/- 1
53rd
7
35 +/- 3
51st
10
36 +/- 2
Median
50th
37
49th
13
39 +/- 2
49th
4
39 +/- 1
49th
9
39 +/- 3
47th
5
41 +/- 1
46th
6
42 +/- 3
44th
10
45 +/- 1
44th
5
46 +/- 4
43rd
6
46 +/- 1
42nd
6
48 +/- 2
42nd
4
48 +/- 7
42nd
9
48 +/- 3
42nd
17
48 +/- 3
39th
11
51 +/- 6
37th
23
52 +/- 3
37th
11
52 +/- 5
37th
4
52 +/- 5
36th
3
53 +/- 1
36th
3
54 +/- 3
36th
3
54 +/- 2
34th
4
55 +/- 3
34th
25
55 +/- 4
34th
8
56 +/- 6
31st
19
60 +/- 4
31st
20
60 +/- 2
29th
3
63 +/- 4
28th
3
65 +/- 8
27th
3
66 +/- 1
26th
18
70 +/- 3
Low-Tier
25th
> 70
24th
3
73 +/- 3
22nd
4
79 +/- 3
22nd
4
79 +/- 2
21st
5
84 +/- 9
20th
4
88 +/- 9
20th
3
92 +/- 8
19th
4
97 +/- 12
18th
3
99 +/- 4
18th
4
100 +/- 3
17th
5
104 +/- 9
16th
4
120 +/- 15
16th
3
122 +/- 7
15th
11
125 +/- 10
14th
3
140 +/- 6
14th
6
140 +/- 8
13th
3
144 +/- 1
11th
18
199 +/- 15
10th
3
213 +/- 8
10th
3
214 +/- 20
9th
3
232 +/- 2
9th
3
236 +/- 8
9th
16
277 +/- 13
8th
4
293 +/- 10
4th
22
392 +/- 40
OpenBenchmarking.orgDistribution Of Public Results - Compressing ubuntu-16.04.3-server-i386.img, Compression Level 92560 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: 4.66 / Max: 40

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

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

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)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E, 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 Cortex-A76 4-Core, ARMv8 Cortex-X1C 8-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, Apple M1, Apple M2, Phytium D2000, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 426 Benchmark Results

4 x Intel Xeon E5-2650 v4 - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-97-generic - 1.3.255

18 Systems - 21 Benchmark Results

AMD EPYC 7601 32-Core - (4.13 BIOS) - 1 x 16376 MB 48MHz

Microsoft Windows 10 Enterprise LTSC Build 17763 - 10.0.17763.316 - 10.0.17763.1

1 System - 484 Benchmark Results

2 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 82G33

Ubuntu 22.04 - 5.15.0-94-generic - 1.3.255

1 System - 484 Benchmark Results

1 System - 60 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

Arch Linux - 6.7.4-arch1-1 - GNOME Shell 45.4

2 Systems - 64 Benchmark Results

Intel Core i5-6600 - ASUS H170 PRO GAMING - Intel Xeon E3-1200 v5

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

1 System - 63 Benchmark Results

AMD Ryzen 5 7600 6-Core - ASUS ROG STRIX B650E-F GAMING WIFI - AMD Device 14d8

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

2 Systems - 21 Benchmark Results

AMD EPYC 7601 32-Core - Microsoft Virtual Machine - 4 + 12

Ubuntu 22.04 - 5.15.0-94-generic - 1.3.238

1 System - 21 Benchmark Results

AMD EPYC 7601 32-Core - Microsoft Virtual Machine - 3968 MB + 12416 MB

Rocky Linux 9.2 - 5.14.0-284.11.1.el9_2.x86_64 - GCC 11.4.1 20230605

1 System - 59 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 58 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 25 Benchmark Results

2 x Intel Xeon E5-2620 v4 - Placa-me - 1 x 3269 MB 48MHz

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3930 - 10.0.19041.3636

1 System - 64 Benchmark Results

Intel Core i5-6600 - ASUS H170 PRO GAMING - Intel Xeon E3-1200 v5

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

1 System - 34 Benchmark Results

AMD EPYC 7601 32-Core - Microsoft Virtual Machine - 3968 MB + 12416 MB

Rocky Linux 9.2 - 5.14.0-284.11.1.el9_2.x86_64 - GCC 11.4.1 20230605

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

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 20.10 - 5.9.2-050902-generic - GNOME Shell 3.38.1

2 Systems - 66 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - 2 x 8192 MB 3600MHz F4-3600C16-8GTRG

Microsoft Windows 10 Pro Build 18362 - 10.0 - 22.19.162.4

12 Systems - 209 Benchmark Results

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

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

2 Systems - 50 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Raspbian 11 - 5.10.92-v7l+ - LXDE

4 Systems - 67 Benchmark Results

Intel Core i7-3960X - Intel DX79SI - Intel Xeon E5

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

5 Systems - 11 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 4 Model B Rev 1.2 - 4096MB

Raspbian 10 - 5.4.32-v7l+ - GCC 8.3.0

2 Systems - 123 Benchmark Results

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

ManjaroLinux 18.0.4 - 4.19.49-1-MANJARO - Xfce 4.13

3 Systems - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - 52GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 4.19.104-microsoft-standard - X Server

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

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

Debian 10 - 4.19.0-5-amd64 - GNOME Shell 3.30.2

4 Systems - 110 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

ManjaroLinux 20.2 - 5.9.11-3-MANJARO - Xfce 4.14

Find More Test Results