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

19 Seconds

Average Run Time

5 Minutes, 6 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

10k+ 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.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.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 updated weekly as of 27 September 2023.
332.9%938.6%128.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,622 public results since 16 November 2020 with the latest data as of 27 September 2023.

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
19
82.9 +/- 1.0
100th
13
78.1 +/- 1.4
99th
18
77.4 +/- 1.6
99th
9
77.3 +/- 1.2
97th
9
76.2 +/- 1.6
96th
9
74.6 +/- 0.2
95th
7
73.9 +/- 0.9
94th
17
73.3 +/- 2.8
91st
15
71.9 +/- 0.8
87th
40
69.9 +/- 1.7
87th
36
69.8 +/- 3.8
86th
98
69.5 +/- 1.3
84th
20
69.0 +/- 0.9
82nd
8
68.1 +/- 0.1
81st
22
68.1 +/- 5.4
79th
4
67.1 +/- 2.1
78th
14
65.8 +/- 1.0
77th
18
65.6 +/- 1.8
77th
7
65.4 +/- 1.1
76th
8
65.0 +/- 1.1
76th
11
65.0 +/- 0.5
Mid-Tier
75th
< 64.7
73rd
28
63.6 +/- 8.3
72nd
12
61.8 +/- 3.9
71st
7
61.0 +/- 1.0
71st
8
60.7 +/- 0.7
70th
12
59.8 +/- 0.9
66th
4
58.2 +/- 1.1
66th
7
58.1 +/- 0.5
65th
7
58.1 +/- 2.2
65th
4
58.0 +/- 0.6
64th
14
57.5 +/- 1.7
63rd
4
56.9 +/- 0.2
63rd
8
56.8 +/- 1.1
62nd
3
56.3 +/- 0.7
62nd
4
56.3 +/- 0.4
62nd
15
56.2 +/- 5.7
61st
17
55.5 +/- 3.9
61st
11
55.5 +/- 5.1
61st
5
55.4 +/- 0.7
60th
3
55.3 +/- 0.2
60th
3
54.7 +/- 0.1
59th
4
54.4 +/- 1.1
58th
21
54.1 +/- 6.2
58th
3
54.0 +/- 0.1
57th
10
53.9 +/- 1.2
57th
4
53.8 +/- 0.2
56th
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
53rd
4
52.4
53rd
10
52.2 +/- 0.6
53rd
3
52.2 +/- 3.2
53rd
8
52.2 +/- 0.5
53rd
9
52.1 +/- 0.5
51st
7
51.8 +/- 0.6
51st
4
51.7 +/- 0.2
Median
50th
51.6
50th
4
51.5 +/- 1.0
48th
15
50.8 +/- 1.3
48th
3
50.8 +/- 0.4
48th
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
45th
14
49.5 +/- 0.5
45th
12
49.3 +/- 0.6
44th
4
49.2 +/- 0.3
43rd
4
49.0 +/- 0.6
41st
21
48.4 +/- 0.6
41st
12
48.2 +/- 1.6
40th
8
47.7 +/- 3.5
40th
3
47.5 +/- 3.6
39th
6
47.3 +/- 0.6
38th
3
47.1 +/- 0.2
38th
3
46.8 +/- 0.2
38th
6
46.7 +/- 1.0
37th
6
46.6 +/- 0.3
37th
3
46.4 +/- 0.2
34th
3
45.7 +/- 0.3
33rd
8
45.4 +/- 0.3
33rd
5
45.2 +/- 0.3
33rd
4
45.2 +/- 0.1
33rd
6
45.1 +/- 0.7
31st
6
44.9 +/- 0.5
31st
5
44.8 +/- 0.1
31st
7
44.8 +/- 0.2
30th
5
44.8 +/- 0.2
29th
7
44.5 +/- 0.3
28th
5
44.5 +/- 0.1
28th
7
44.5 +/- 0.1
28th
4
44.5 +/- 1.3
27th
3
44.4 +/- 0.5
27th
4
44.4 +/- 1.2
27th
15
44.4 +/- 0.6
27th
3
44.3 +/- 0.2
27th
5
44.2 +/- 1.0
26th
9
44.1 +/- 0.9
26th
5
44.1 +/- 0.2
Low-Tier
25th
< 44.0
25th
4
44.0 +/- 0.2
25th
4
43.9 +/- 1.0
25th
3
43.8 +/- 0.6
25th
5
43.8 +/- 0.1
24th
5
43.7 +/- 0.3
24th
3
43.7 +/- 1.0
23rd
8
43.4 +/- 0.7
23rd
5
43.4 +/- 1.0
23rd
5
43.4 +/- 0.8
22nd
4
43.3 +/- 0.2
22nd
5
43.2 +/- 0.1
22nd
5
43.2 +/- 0.4
21st
5
43.1 +/- 0.3
21st
4
42.7 +/- 0.5
20th
3
42.6 +/- 0.1
20th
6
42.3 +/- 0.1
18th
3
41.9 +/- 0.3
17th
7
40.9 +/- 1.1
17th
4
40.2 +/- 1.8
16th
3
39.9 +/- 0.1
16th
4
39.6 +/- 0.7
15th
4
39.5 +/- 0.5
15th
5
39.4 +/- 0.3
15th
3
38.8 +/- 0.1
14th
11
38.1
13th
4
37.9 +/- 0.6
13th
3
37.8 +/- 0.2
12th
3
36.8 +/- 0.1
11th
6
35.8 +/- 0.2
11th
7
35.7 +/- 0.4
10th
6
35.1 +/- 0.4
10th
9
34.6 +/- 3.3
9th
3
33.8 +/- 0.3
9th
5
33.6 +/- 0.2
9th
3
33.4 +/- 0.1
9th
3
33.3 +/- 0.2
7th
6
28.1 +/- 0.2
6th
4
27.1 +/- 0.1
5th
4
25.9 +/- 0.1
4th
4
17.9 +/- 0.2
3rd
3
12.2 +/- 0.2
3rd
6
11.0 +/- 1.4
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 9 - Compression Speed1622 Results Range From 1 To 86 MB/s19172533414957657381899790180270360450

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.25 / 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.66 / 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 Speed24681012161820243248641280.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-3A6000, 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-A53 4-Core, ARMv8 Cortex-A55 6-Core, ARMv8 Cortex-A72, 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, ARMv8 Neoverse-V1, 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, Phytium D2000, Rockchip ARMv8 Cortex-A76 8-Core

Recent Test Results

OpenBenchmarking.org Results Compare

14 Systems - 67 Benchmark Results

Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

1 System - 44 Benchmark Results

Intel Celeron J6413 - N/A v1.1 - Intel Elkhart Lake PMC

Ubuntu 23.04 - 6.2.16-12-pve - GCC 12.3.0

13 Systems - 67 Benchmark Results

2 x Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

1 System - 102 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI MAG X570S TORPEDO MAX - AMD Starship

Ubuntu 20.04 - 5.15.0-67-generic - KDE Plasma 5.18.8

12 Systems - 67 Benchmark Results

2 x Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

1 System - 103 Benchmark Results

Intel Core i7-8700K - Gigabyte B365M D3H-CF - Intel 8th Gen Core

Ubuntu 20.04 - 5.15.0-83-generic - KDE Plasma 5.18.8

11 Systems - 67 Benchmark Results

Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

10 Systems - 67 Benchmark Results

Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

9 Systems - 67 Benchmark Results

2 x Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

8 Systems - 67 Benchmark Results

2 x Intel Xeon Gold 5218 - Lenovo-[7X06CTO1WW] v07 - Intel Sky Lake-E DMI3 Registers

Red Hat Enterprise Linux 9.2 - 5.14.0-284.25.1.el9_2.x86_64 - X Server

1 System - 297 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

8 Systems - 439 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

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

26 Systems - 438 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

5 Systems - 62 Benchmark Results

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

Ubuntu 20.04 - 5.11.0-051100rc6daily20210201-generic - GNOME Shell 3.36.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-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

4 Systems - 110 Benchmark Results

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

Fedora 33 - 5.8.15-301.fc33.x86_64 - GNOME Shell 3.38.2

4 Systems - 66 Benchmark Results

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

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

2 Systems - 95 Benchmark Results

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

Ubuntu 21.04 - 5.11.0-11-generic - GNOME Shell 3.38.3

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 AMD EPYC 7742 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 20.10 - 5.8.0-29-generic - X Server 1.20.8

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

Find More Test Results