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

22 July 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

21 Seconds

Average Run Time

3 Minutes, 57 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

30k+ 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.072024.092024.112025.016K12K18K24K30K
* 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 17 January 2025.
119.1%920.8%1220.8%219.2%320.2%Compression Level Option PopularityOpenBenchmarking.org

Revision History

pts/compress-lz4-1.10.0   [View Source]   Mon, 22 Jul 2024 08:48:19 GMT
Update against LZ4 v1.10 upstream.

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

Compression Level: 12 - Decompression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 398 public results since 22 July 2024 with the latest data as of 9 January 2025.

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)
98th
9
6780 +/- 110
98th
13
6749 +/- 143
96th
12
6738 +/- 9
94th
8
6657 +/- 15
86th
12
6163 +/- 84
82nd
8
6016 +/- 68
79th
4
5916 +/- 23
76th
4
5466 +/- 29
Mid-Tier
75th
< 5463
72nd
5
5200 +/- 107
71st
4
5190 +/- 10
69th
3
5024 +/- 753
68th
3
4950 +/- 12
67th
3
4927 +/- 6
63rd
3
4768 +/- 6
63rd
4
4764 +/- 26
60th
3
4677 +/- 111
57th
6
4603 +/- 138
57th
7
4586 +/- 16
57th
4
4577 +/- 39
51st
3
4416 +/- 4
Median
50th
4413
50th
4
4399 +/- 19
40th
4
4101 +/- 2
39th
4
4092 +/- 15
30th
3
3654 +/- 3
29th
3
3642 +/- 4
Low-Tier
25th
< 3519
10th
4
2781 +/- 2
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 12 - Decompression Speed395 Results Range From 67 To 6913 MB/s6720434147861575288910261163130014371574171118481985212222592396253326702807294430813218335534923629376639034040417743144451458847254862499951365273541055475684582159586095623263696506664367806917612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (LZ4 Compression 1.10 - Compression Level: 12 - Decompression Speed) has an average run-time of 4 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: 12 - Decompression SpeedRun-Time48121620Min: 2 / Avg: 3.11 / Max: 14

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.

OpenBenchmarking.orgRelative Core Scaling To BaseLZ4 Compression CPU Core ScalingCompression Level: 12 - Decompression Speed681632640.48450.9691.45351.9382.4225

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

 
VINSERTF128 VEXTRACTF128 VZEROUPPER VBROADCASTSD VBROADCASTSS
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 VPGATHERQD
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: 23 August 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)
RISC-V 64-bit
riscv64
SiFive RISC-V
Loongson LoongArch 64-bit
loongarch64
Loongson-3C6000
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 96-Core, HiSilicon TSV110

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 39 Benchmark Results

2 x AMD EPYC 7B13 - Google Compute Engine n2d-standard-96 - 24 x 16 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

2 x AMD EPYC 7B13 - Google Compute Engine n2d-standard-96 - 24 x 16 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 37 Benchmark Results

2 x AMD EPYC 7B13 - Google Compute Engine n2d-standard-96 - 24 x 16 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

AMD EPYC 9V74 80-Core - Microsoft Virtual Machine - 1 GB + 59 GB + 196 GB

Rocky Linux 9.5 - 5.14.0-427.13.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

AMD EPYC 9V74 80-Core - Microsoft Virtual Machine - 1 GB + 59 GB + 196 GB

Rocky Linux 9.5 - 5.14.0-427.13.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 37 Benchmark Results

AMD EPYC 9V74 80-Core - Microsoft Virtual Machine - 1 GB + 59 GB + 196 GB

Rocky Linux 9.5 - 5.14.0-427.13.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

AMD EPYC 9B14 - Google Compute Engine c3d-standard-90 - 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 8 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

AMD EPYC 9B14 - Google Compute Engine c3d-standard-90 - 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 8 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 37 Benchmark Results

AMD EPYC 9B14 - Google Compute Engine c3d-standard-90 - 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 8 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 25 Benchmark Results

AMD EPYC 9V74 80-Core - Microsoft Virtual Machine - 1 GB + 59 GB + 196 GB

Rocky Linux 9.5 - 5.14.0-427.13.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 25 Benchmark Results

AMD EPYC 9B14 - Google Compute Engine c3d-standard-90 - 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 8 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 25 Benchmark Results

2 x AMD EPYC 7B13 - Google Compute Engine n2d-standard-96 - 24 x 16 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 17 Benchmark Results

AMD EPYC 9V74 80-Core - Microsoft Virtual Machine - 1 GB + 59 GB + 196 GB

Rocky Linux 9.5 - 5.14.0-427.13.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 17 Benchmark Results

AMD EPYC 9B14 - Google Compute Engine c3d-standard-90 - 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 16 GB + 8 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

1 System - 17 Benchmark Results

2 x AMD EPYC 7B13 - Google Compute Engine n2d-standard-96 - 24 x 16 GB RAM

Rocky Linux 9.5 - 5.14.0-503.15.1.el9_5.x86_64 - GCC 11.5.0 20240719

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 87 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.metal - 32GB

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 113 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 87 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.metal-24xl - 12 x 64GB DDR5-5600MT

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

7 Systems - 25 Benchmark Results

AMD Ryzen 5 5500 - ASUS ROG CROSSHAIR VIII HERO - AMD Renoir

Ubuntu 24.04 - 6.8.0-39-generic - GNOME Shell 46.0

4 Systems - 10 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - GNOME Shell 46.0

3 Systems - 137 Benchmark Results

AMD Ryzen AI 9 365 - ASUS UM5606WA - 4 x 6144MB 7500MHz Micron MT62F1536M32D4DS-026

Microsoft Windows 11 Home Build 26100 - 10.0.26100.1150 - 32.0.11016.6004

4 Systems - 44 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 92 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

2 Systems - 29 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 29 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 10 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

2 Systems - 62 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-22-amd64 - X Server 1.20.11

3 Systems - 29 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

Find More Test Results