LZ4 Compression

This test measures the time needed to compress/decompress a sample file (silesia archive) using LZ4 compression.

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

Project Site

lz4.org

Source Repository

github.com

Test Created

16 November 2020

Last Updated

19 January 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

19 Seconds

Average Run Time

6 Minutes, 13 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.092023.102023.112023.122024.012024.022024.034K8K12K16K20K
* 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 18 March 2024.
332.6%932.5%134.9%Compression Level Option PopularityOpenBenchmarking.org

Revision History

pts/compress-lz4-1.1.0   [View Source]   Fri, 19 Jan 2024 19:19:29 GMT
Update against lz4 v1.9.4 and switch to silesia payload. Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/768

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.4

Compression Level: 1 - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 271 public results since 19 January 2024 with the latest data as of 15 March 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
MB/s (Average)
93rd
9
1006 +/- 41
93rd
7
1005 +/- 20
93rd
6
1001 +/- 14
79th
15
954 +/- 9
78th
11
952 +/- 1
Mid-Tier
75th
< 951
68th
5
903 +/- 1
65th
8
893 +/- 4
62nd
12
881 +/- 5
55th
6
836 +/- 10
54th
3
833 +/- 2
Median
50th
823
48th
4
810 +/- 12
48th
3
807 +/- 5
44th
6
801 +/- 1
40th
3
754 +/- 2
38th
3
741 +/- 34
38th
7
740 +/- 87
32nd
3
715 +/- 1
27th
3
687 +/- 1
Low-Tier
25th
< 672
24th
3
671 +/- 1
23rd
3
627 +/- 1
22nd
3
603 +/- 2
12th
17
502 +/- 24
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 1 - Compression Speed268 Results Range From 59 To 1034 MB/s599012115218321424527630733836940043146249352455558661764867971074177280383486589692795898910201051714212835

Based on OpenBenchmarking.org data, the selected test / test configuration (LZ4 Compression 1.9.4 - Compression Level: 1 - Compression Speed) has an average run-time of 2 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: 1 - Compression SpeedRun-Time3691215Min: 1 / Avg: 1.16 / Max: 8

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsCompression Level: 1 - Compression SpeedDeviation246810Min: 0 / Avg: 0.16 / Max: 2

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: 1 - Compression Speed4681416320.38960.77921.16881.55841.948

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 PUNPCKLQDQ MOVD PSHUFD MOVDQA PADDQ PSRLDQ PMULUDQ CVTSI2SD MOVAPD DIVSD MULSD ADDSD COMISD CVTTSD2SI UCOMISD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VEXTRACTI128 VPBROADCASTD VINSERTI128 VPERM2I128
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 February 2024

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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2 72-Core, Apple

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 208 Benchmark Results

32 x Intel Xeon E312xx - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-100-generic - GCC 11.4.0

1 System - 209 Benchmark Results

32 x Intel Xeon E312xx - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-100-generic - GCC 11.4.0

1 System - 187 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Debian 12 - 6.1.0-18-amd64 - X Server 1.21.1.7

1 System - 6 Benchmark Results

Intel Xeon E31225 - Dell 06NWYK - Intel Xeon E3-1200 DRAM

Debian 12 - 6.1.0-18-rt-amd64 - KDE Plasma 5.27.5

3 Systems - 58 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 69 Benchmark Results

Intel Core i7-8565U - Dell XPS 13 9380 0KTW76 - Intel Cannon Point-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

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

1 System - 205 Benchmark Results

AMD Ryzen 7 8700G - Gigabyte B650I AORUS ULTRA - AMD Device 14e8

Ubuntu 22.04 - 6.5.0-21-generic - GNOME Shell 42.9

2 Systems - 25 Benchmark Results

ARMv8 Neoverse-V2 - Quanta Cloud QuantaGrid S74G-2U 1S7GZ9Z0000 S7G MB - 1 x 480GB DRAM-6400MT

Ubuntu 22.04 - 6.5.0-1007-NVIDIA-64k - NVIDIA

1 System - 205 Benchmark Results

AMD Ryzen 7 8700G - Gigabyte B650I AORUS ULTRA - AMD Device 14e8

Ubuntu 22.04 - 6.5.0-21-generic - GNOME Shell 42.9

1 System - 72 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.205-195.807.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 70 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.205-195.807.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 69 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.205-195.807.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 68 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.205-195.807.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 61 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.205-195.807.amzn2.aarch64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

6 Systems - 162 Benchmark Results

AMD Ryzen 7 5700G - ASUS TUF GAMING B550M-PLUS - AMD Renoir

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.0

18 Systems - 154 Benchmark Results

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-PLUS - AMD Renoir

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.0

62 Systems - 456 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CWR - Intel Xeon E7 v4

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

4 Systems - 100 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-13-generic - GNOME Shell 45.0

5 Systems - 195 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

4 Systems - 11 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 12 - 6.1.0-10-amd64 - GCC 12.2.0

2 Systems - 266 Benchmark Results

3 Systems - 49 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE G242-P36-00 MP32-AR2-00 v01000100 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

4 Systems - 9 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.1

16 Systems - 168 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.0

3 Systems - 266 Benchmark Results

AMD Ryzen 7 7840HS - NB05 TUXEDO Pulse 14 Gen3 R14FA1 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

5 Systems - 587 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

4 Systems - 49 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - ASUS Pro WS TRX50-SAGE WIFI - AMD Device 14a4

Pop 22.04 - 6.6.6-76060606-generic - GNOME Shell 42.5

3 Systems - 79 Benchmark Results

Intel Core i7-1185G7 - Dell XPS 13 9310 0DXP1F - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

Find More Test Results