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

19 Seconds

Average Run Time

6 Minutes, 2 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

20k+ Downloads + Recently Updated Test Profile

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 25 July 2024.
118.9%921.7%1221.7%218.9%318.9%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: 9 - Decompression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 31 public results since 22 July 2024 with the latest data as of 24 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)
95th
4
6159 +/- 21
Mid-Tier
75th
< 4835
69th
3
4827 +/- 13
63rd
3
4488 +/- 7
Median
50th
3573
37th
3
2794 +/- 5
Low-Tier
25th
< 2327
24th
4
2323 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 9 - Decompression Speed31 Results Range From 1102 To 6178 MB/s110212041306140815101612171418161918202021222224232624282530263227342836293830403142324433463448355036523754385639584060416242644366446845704672477448764978508051825284538654885590569257945896599861006202246810

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

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 Cortex-A72 16-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 10 Benchmark Results

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

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

1 System - 10 Benchmark Results

Intel Xeon E3-1230 V2 - Gigabyte Z77X-UD5H - Intel Xeon E3-1200 v2

Ubuntu 22.04 - 6.9.9-zabbly+ - KDE Plasma 5.24.7

2 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

1 System - 88 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.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 - 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

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

4 Systems - 10 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

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

Find More Test Results