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

20 Seconds

Average Run Time

6 Minutes

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.052024.074K8K12K16K20K
* 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 9 July 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 343 public results since 19 January 2024 with the latest data as of 14 July 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
82nd
15
954 +/- 9
81st
11
952 +/- 1
Mid-Tier
75th
< 949
72nd
5
903 +/- 1
69th
8
893 +/- 4
67th
12
881 +/- 5
61st
6
836 +/- 10
61st
3
833 +/- 2
55th
4
810 +/- 12
55th
3
807 +/- 5
52nd
6
801 +/- 1
Median
50th
798
50th
10
797 +/- 21
50th
5
796 +/- 13
47th
3
754 +/- 2
45th
3
741 +/- 34
45th
7
740 +/- 87
41st
3
715 +/- 1
35th
3
687 +/- 1
33rd
3
671 +/- 1
30th
3
627 +/- 1
29th
3
603 +/- 2
Low-Tier
25th
< 595
15th
17
502 +/- 24
11th
4
463 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 1 - Compression Speed340 Results Range From 59 To 1056 MB/s5991123155187219251283315347379411443475507539571603635667699731763795827859891923955987101910511083816243240

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-Time246810Min: 1 / Avg: 1.13 / Max: 6

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: 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 - 61 Benchmark Results

2 x Intel Xeon - Intel BeechnutCity v0.02 - Intel Ice Lake IEH

CentOS Stream 9 - 6.6.0-srf.bkc.6.6.13.4.11.x86_64 - GCC 13.3.1 20240611

1 System - 6 Benchmark Results

2 x Intel Xeon Gold 6354 - Kraftway PLC KWBLDC - Intel Device 0998

Ubuntu 20.04 - 5.4.0-187-generic - GCC 9.4.0

1 System - 61 Benchmark Results

Intel 0000 - INTEL 13th Raptor Lake PCH B760-M D5 - Intel Alder Lake PCH

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 62 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 59 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 58 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 51 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 39 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 31 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 62 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 59 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 58 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.8xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

6 Systems - 162 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

18 Systems - 154 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

16 Systems - 168 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

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

5 Systems - 587 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

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

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

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

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

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

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

2 Systems - 266 Benchmark Results

3 Systems - 266 Benchmark Results

AMD Ryzen 7 7840U - Framework Laptop 13 - AMD Device 14e8

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

Find More Test Results