LZ4 Compression

This test measures the time needed to compress/decompress a sample file (an Ubuntu ISO) using LZ4 compression.

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

Project Site

github.com

Test Created

16 November 2020

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

21 Seconds

Average Run Time

4 Minutes, 37 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

5k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsLZ4 Compression Popularity Statisticspts/compress-lz42020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.1114002800420056007000
* 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 30 November 2022.
333.0%939.6%127.5%Compression Level Option PopularityOpenBenchmarking.org

Revision History

pts/compress-lz4-1.0.0   [View Source]   Mon, 16 Nov 2020 07:06:05 GMT
Initial commit, forgot this long ago to import to OpenBenchmarking...

Suites Using This Test

Compression Tests


Performance Metrics

Analyze Test Configuration:

LZ4 Compression 1.9.3

Compression Level: 9 - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 1,346 public results since 16 November 2020 with the latest data as of 18 November 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
MB/s (Average)
100th
10
83.3 +/- 0.2
100th
8
78.1 +/- 0.8
99th
8
77.2 +/- 1.2
99th
13
77.1 +/- 1.6
98th
7
76.3 +/- 1.8
97th
8
74.6 +/- 0.2
96th
7
73.9 +/- 0.9
93rd
14
71.8 +/- 0.7
88th
37
70.0 +/- 1.7
88th
36
69.8 +/- 3.8
88th
86
69.6 +/- 1.3
86th
19
69.0 +/- 0.9
82nd
21
68.0 +/- 5.4
80th
3
66.6 +/- 2.2
80th
15
66.1 +/- 1.3
79th
14
65.8 +/- 1.0
79th
7
65.4 +/- 1.1
78th
8
65.0 +/- 1.1
78th
11
64.8 +/- 2.2
77th
8
64.7 +/- 0.1
Mid-Tier
75th
< 64.0
75th
6
63.0 +/- 0.7
74th
10
61.7 +/- 4.3
74th
5
61.2 +/- 1.1
73rd
8
60.7 +/- 0.7
71st
12
59.8 +/- 0.9
67th
4
58.2 +/- 1.1
67th
7
58.1 +/- 0.5
66th
7
58.1 +/- 2.2
66th
4
58.0 +/- 0.6
65th
14
57.5 +/- 1.7
64th
4
56.9 +/- 0.2
63rd
8
56.8 +/- 1.1
63rd
12
56.7 +/- 6.0
62nd
4
56.3 +/- 0.4
62nd
3
56.3 +/- 0.7
61st
16
55.4 +/- 4.0
61st
5
55.4 +/- 0.7
61st
3
55.3 +/- 0.2
61st
10
55.2 +/- 5.2
60th
3
54.7 +/- 0.1
59th
4
54.4 +/- 1.1
59th
21
54.1 +/- 6.2
58th
3
54.0 +/- 0.1
58th
10
53.9 +/- 1.2
57th
4
53.8 +/- 0.2
57th
8
53.7 +/- 0.5
56th
8
53.5 +/- 0.6
55th
5
53.2 +/- 1.1
54th
3
52.6 +/- 0.6
54th
7
52.6 +/- 1.0
54th
4
52.4
53rd
10
52.2 +/- 0.6
53rd
8
52.2 +/- 0.5
52nd
9
52.1 +/- 0.5
52nd
3
52.0 +/- 0.4
51st
7
51.8 +/- 0.6
51st
4
51.7 +/- 0.2
Median
50th
51.7
48th
15
50.8 +/- 1.3
48th
3
50.8 +/- 0.4
47th
5
50.6 +/- 1.3
47th
5
50.4 +/- 0.8
47th
4
50.4 +/- 2.2
46th
4
49.8 +/- 2.2
46th
11
49.8 +/- 2.9
44th
14
49.5 +/- 0.5
44th
12
49.3 +/- 0.6
43rd
4
49.2 +/- 0.3
42nd
4
49.0 +/- 0.6
40th
21
48.4 +/- 0.6
40th
12
48.2 +/- 1.6
39th
8
47.7 +/- 3.5
38th
3
47.5 +/- 3.6
38th
6
47.3 +/- 0.6
38th
3
47.1 +/- 0.2
37th
3
46.8 +/- 0.2
37th
6
46.7 +/- 1.0
36th
6
46.6 +/- 0.3
36th
3
46.4 +/- 0.2
33rd
3
45.7 +/- 0.3
32nd
8
45.4 +/- 0.3
32nd
5
45.2 +/- 0.3
32nd
4
45.2 +/- 0.1
30th
5
45.0 +/- 0.7
29th
6
44.9 +/- 0.5
29th
5
44.8 +/- 0.1
29th
7
44.8 +/- 0.2
28th
5
44.8 +/- 0.2
26th
7
44.5 +/- 0.3
26th
5
44.5 +/- 0.1
26th
7
44.5 +/- 0.1
26th
4
44.5 +/- 1.3
Low-Tier
25th
< 44.4
25th
3
44.4 +/- 0.5
25th
4
44.4 +/- 1.2
25th
15
44.4 +/- 0.6
24th
3
44.3 +/- 0.2
24th
5
44.2 +/- 1.0
23rd
5
44.1 +/- 0.2
23rd
4
44.0 +/- 0.2
23rd
4
43.9 +/- 1.0
22nd
5
43.8 +/- 0.1
22nd
3
43.8 +/- 0.6
22nd
5
43.7 +/- 0.3
22nd
3
43.7 +/- 1.0
21st
5
43.4 +/- 1.0
21st
5
43.4 +/- 0.8
20th
4
43.3 +/- 0.2
20th
5
43.2 +/- 0.1
19th
5
43.2 +/- 0.4
19th
5
43.1 +/- 0.3
18th
4
42.7 +/- 0.5
18th
3
42.6 +/- 0.1
17th
5
42.3 +/- 0.1
16th
3
41.9 +/- 0.3
15th
3
41.1 +/- 0.4
15th
7
40.9 +/- 1.1
14th
3
39.9 +/- 0.1
14th
3
39.7 +/- 0.1
13th
4
39.6 +/- 0.7
13th
5
39.4 +/- 0.3
12th
3
38.8 +/- 0.1
12th
11
38.1
11th
3
38.0 +/- 0.7
11th
3
37.8 +/- 0.2
10th
6
35.8 +/- 0.2
10th
7
35.7 +/- 0.4
8th
3
33.8 +/- 0.3
8th
5
33.6 +/- 0.2
8th
3
33.4 +/- 0.1
7th
3
33.3 +/- 0.2
6th
4
27.1 +/- 0.1
3rd
6
11.0 +/- 1.4
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 9 - Compression Speed1346 Results Range From 1 To 84 MB/s18152229364350576471788580160240320400

Based on OpenBenchmarking.org data, the selected test / test configuration (LZ4 Compression 1.9.3 - Compression Level: 9 - Compression Speed) 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 BenchmarkCompression Level: 9 - Compression SpeedRun-Time612182430Min: 1 / Avg: 4.22 / Max: 29

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsCompression Level: 9 - Compression SpeedDeviation246810Min: 0 / Avg: 0.69 / Max: 3

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not 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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseLZ4 Compression CPU Core ScalingCompression Level: 9 - Compression Speed246812161820243248641280.72081.44162.16242.88323.604

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQU MOVD PSHUFD PUNPCKLQDQ MOVDQA PADDQ PSRLDQ PMULUDQ CVTSI2SD DIVSD MULSD ADDSD COMISD CVTTSD2SI UCOMISD
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libc.so.6.

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)
RISC-V 64-bit
riscv64
SiFive RISC-V, SiFive U740, rv64imafdc, rv64imafdcsu
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E, POWER9 4-Core, POWER9 44-Core
IBM POWER (PowerPC) 64-bit
ppc64
PPC970MP
Loongson LoongArch 64-bit
loongarch64
Loongson-3C5000L
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Max
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A55 6-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-X1C 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

7 Systems - 70 Benchmark Results

AMD Ryzen 7 3700X 8-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Arch rolling - 6.0.8-zen1-1-zen - GNOME Shell 43.1

1 System - 42 Benchmark Results

2 x AMD Opteron 4386 - Supermicro H8DCL - AMD RD890 + SB7x0

Debian 11 - 5.10.0-18-amd64 - 1.0.2

1 System - 922 Benchmark Results

5 Systems - 144 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - Broadcom BCM2711

Manjaro-ARM 22.10 - 5.15.74-2-MANJARO-ARM-RPI - Xfce 4.16

3 Systems - 140 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - Broadcom BCM2711

Manjaro-ARM 22.10 - 5.15.74-2-MANJARO-ARM-RPI - Xfce 4.16

4 Systems - 68 Benchmark Results

SiFive RISC-V - SiFive HiFive Unmatched A00 - 16GB

Ubuntu 21.04 - 5.11.0-1018-generic - GNOME Shell 3.38.4

1 System - 41 Benchmark Results

ARMv8 Cortex-X1C - LENOVO 21BXCTO1WW - 32GB

Debian 11 - 6.0.0-rc3-custom - GNOME Shell 3.38.6

1 System - 112 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG STRIX X570-E GAMING - 2 x 8192 MB 4000MHz LD4EU008G-H4000GLA

Microsoft Windows 11 Famille Build 22621 - 10.0.22621.755 - 522.25

2 Systems - 42 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG STRIX X570-E GAMING - 2 x 8192 MB 4000MHz LD4EU008G-H4000GLA

Microsoft Windows 11 Famille Build 22621 - 10.0.22621.755 - 522.25

2 Systems - 6 Benchmark Results

PPC970MP - PowerMac11 2 - Apple U4 HT Bridge

Gentoo 2.8 - 5.19.1-gentoo - X Server 1.21.1.3

2 Systems - 99 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - Broadcom BCM2711

Manjaro-ARM 22.10 - 5.15.74-2-MANJARO-ARM-RPI - Xfce 4.16

1 System - 39 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - Broadcom BCM2711

Manjaro-ARM 22.10 - 5.15.74-2-MANJARO-ARM-RPI - Xfce 4.16

1 System - 2 Benchmark Results

Intel Core i7-8700T - LENOVO 3135 - 32GB

Ubuntu 20.04.5 LTS - 5.19.14-Unraid - GCC 9.4.0

5 Systems - 239 Benchmark Results

AMD Ryzen 5 5600H - AZW SER - AMD Renoir

ManjaroLinux 22.0.0 - 5.15.74-3-MANJARO - KDE Plasma 5.25.5

4 Systems - 231 Benchmark Results

AMD Ryzen 5 5600H - AZW SER - AMD Renoir

ManjaroLinux 22.0.0 - 5.15.74-3-MANJARO - KDE Plasma 5.25.5

Most Popular Test Results

OpenBenchmarking.org Results Compare

8 Systems - 439 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

3 Systems - 79 Benchmark Results

AMD Eng Sample - Gigabyte TRX40 AORUS PRO WIFI - 4 x 32768 MB 3000MHz CMK64GX4M2D3000C16

Microsoft Windows 10 Pro Build 21382 - 10.0 - 27.20.21002.2004

26 Systems - 438 Benchmark Results

AMD Ryzen Threadripper PRO 3975WX 32-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Fedora 33 - 5.11.10-200.fc33.x86_64 - GNOME Shell 3.38.4

3 Systems - 376 Benchmark Results

2 x AMD EPYC 7F72 24-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 20.10 - 5.11.0-051100rc4daily20210122-generic - GNOME Shell 3.38.1

4 Systems - 110 Benchmark Results

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

Clear Linux OS 34130 - 5.9.16-1009.native - GNOME Shell 3.38.2

5 Systems - 62 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 20.04 - 5.11.0-051100rc6daily20210201-generic - GNOME Shell 3.36.4

4 Systems - 66 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

3 Systems - 191 Benchmark Results

AMD Ryzen 3 2200G - ASUS PRIME B350M-E - AMD Raven

Ubuntu 20.10 - 5.8.0-38-generic - GNOME Shell 3.38.1

4 Systems - 92 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.8.0-29-generic - GNOME Shell 3.38.1

2 Systems - 95 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.11.0-051100-generic - GNOME Shell 3.38.1

3 Systems - 253 Benchmark Results

Intel Core i9-10885H - HP 8736 - Intel Comet Lake PCH

Ubuntu 20.04 - 5.6.0-1034-oem - GNOME Shell 3.36.4

2 Systems - 95 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 34420 - 5.10.19-1032.native - GNOME Shell 3.38.4

Find More Test Results