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

5 Minutes, 51 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsLZ4 Compression Popularity Statisticspts/compress-lz42020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.054K8K12K16K20K
* 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 7 June 2024.
332.6%932.6%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 328 public results since 19 January 2024 with the latest data as of 7 June 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)
97th
13
1019 +/- 3
93rd
7
1005 +/- 20
93rd
6
1001 +/- 14
81st
15
954 +/- 9
80th
11
952 +/- 1
Mid-Tier
75th
< 949
71st
5
903 +/- 1
68th
8
893 +/- 4
66th
12
881 +/- 5
60th
6
836 +/- 10
59th
3
833 +/- 2
54th
4
810 +/- 12
54th
3
807 +/- 5
51st
6
801 +/- 1
Median
50th
801
49th
10
797 +/- 21
46th
3
754 +/- 2
44th
3
741 +/- 34
44th
7
740 +/- 87
39th
3
715 +/- 1
34th
3
687 +/- 1
31st
3
671 +/- 1
28th
3
627 +/- 1
26th
3
603 +/- 2
Low-Tier
25th
< 603
13th
17
502 +/- 24
10th
4
463 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 1 - Compression Speed318 Results Range From 59 To 1056 MB/s5991123155187219251283315347379411443475507539571603635667699731763795827859891923955987101910511083714212835

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.17 / 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.17 / 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: 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
arm64
Apple M1
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, Apple

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 80 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 80 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 80 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 71 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 79 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.4xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.4xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 79 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.8xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.8xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 71 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 79 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.16xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 i4i.16xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 70 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

6 Systems - 162 Benchmark Results

AMD Ryzen 7 8700G - ASRock B650 Pro RS - AMD Device 14e8

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

18 Systems - 154 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASRock B650 Pro RS - AMD Device 14d8

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

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

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

27 Systems - 162 Benchmark Results

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

Arch Linux - 6.8.2-arch2-1 - GCC 13.2.1 20230801

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

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

16 Systems - 168 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASRock B650 Pro RS - AMD Device 14d8

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

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

3 Systems - 24 Benchmark Results

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

Ubuntu 22.04 - 6.2.0-39-generic - GNOME Shell 42.2

2 Systems - 266 Benchmark Results

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

3 Systems - 9 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 12 - 6.1.0-11-amd64 - X Server

76 Systems - 921 Benchmark Results

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

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

Find More Test Results