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, 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.092023.102023.112023.122024.012024.022024.032024.044K8K12K16K20K
* 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 13 April 2024.
332.7%932.5%134.8%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 290 public results since 19 January 2024 with the latest data as of 11 April 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)
96th
13
1019 +/- 3
92nd
7
1005 +/- 20
92nd
6
1001 +/- 14
79th
15
954 +/- 9
78th
11
952 +/- 1
Mid-Tier
75th
< 951
68th
5
903 +/- 1
65th
8
893 +/- 4
63rd
12
881 +/- 5
56th
6
836 +/- 10
56th
3
833 +/- 2
Median
50th
816
49th
4
810 +/- 12
49th
3
807 +/- 5
46th
6
801 +/- 1
42nd
3
754 +/- 2
40th
3
741 +/- 34
40th
7
740 +/- 87
35th
3
715 +/- 1
30th
3
687 +/- 1
27th
3
671 +/- 1
Low-Tier
25th
< 627
25th
3
627 +/- 1
24th
3
603 +/- 2
12th
17
502 +/- 24
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 1 - Compression Speed290 Results Range From 59 To 1034 MB/s599012115218321424527630733836940043146249352455558661764867971074177280383486589692795898910201051816243240

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.14 / 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.15 / 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, 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 - 214 Benchmark Results

1 System - 211 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 208 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 192 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 188 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 152 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 148 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 147 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 144 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 129 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 122 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 120 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 99 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 88 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 82 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

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 7 8700G - ASRock B650 Pro RS - AMD Device 14e8

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

5 Systems - 587 Benchmark Results

Intel Core i5-14600K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

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

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

16 Systems - 168 Benchmark Results

AMD Ryzen 7 7700 8-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

5 Systems - 195 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

2 Systems - 266 Benchmark Results

3 Systems - 9 Benchmark Results

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

Debian 12 - 6.1.0-11-amd64 - X Server

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

3 Systems - 266 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 - 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

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

Find More Test Results