Zstd Compression

This test measures the time needed to compress/decompress a sample file (silesia.tar) using Zstd (Zstandard) compression with options for different compression levels / settings.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark compress-zstd.

Project Site

facebook.github.io

Source Repository

github.com

Test Created

24 May 2018

Last Updated

10 February 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 53 Seconds

Average Run Time

5 Minutes, 49 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

100k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Reported Installs **Public Result Uploads *Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsZstd Compression Popularity Statisticspts/compress-zstd2018.042018.072018.102019.012019.042019.072019.102020.012020.042020.072020.102021.012021.042021.072021.102022.012022.042022.072022.102023.012023.042023.072023.102024.012024.042024.072024.1020K40K60K80K100K
* 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 October 2024.
1214.8%19, Long Mode17.5%1919.4%8, Long Mode12.3%813.2%312.4%3, Long Mode10.4%Compression Level Option PopularityOpenBenchmarking.org

Revision History

pts/compress-zstd-1.6.0   [View Source]   Fri, 10 Feb 2023 07:59:36 GMT
Update against Zstandard 1.5.4 upstream.

pts/compress-zstd-1.5.0   [View Source]   Fri, 14 May 2021 13:28:48 GMT
Update against upstream Zstd 1.5.

pts/compress-zstd-1.3.0   [View Source]   Wed, 03 Mar 2021 16:48:52 GMT
Update against upstream Zstd 1.4.9, expose decompression speed, switch to FreeBSD img as input test, also add long mode options.

pts/compress-zstd-1.2.1   [View Source]   Fri, 04 Sep 2020 18:26:12 GMT
Zstd output parser fix per https://github.com/phoronix-test-suite/phoronix-test-suite/pull/467

pts/compress-zstd-1.2.0   [View Source]   Fri, 22 May 2020 07:18:54 GMT
Update against Zstd 1.4.5, transition to MB/s reporting with -b interface.

pts/compress-zstd-1.1.3   [View Source]   Fri, 03 Apr 2020 16:24:17 GMT
Update patch per https://github.com/phoronix-test-suite/test-profiles/issues/132

pts/compress-zstd-1.1.2   [View Source]   Mon, 02 Mar 2020 07:34:12 GMT
Build fix for some platforms via https://github.com/phoronix-test-suite/test-profiles/pull/128

pts/compress-zstd-1.1.1   [View Source]   Thu, 17 Jan 2019 10:59:33 GMT
Add Windows support.

pts/compress-zstd-1.1.0   [View Source]   Thu, 08 Nov 2018 20:33:01 GMT
Enforce threading for Zstd

pts/compress-zstd-1.0.0   [View Source]   Thu, 24 May 2018 10:22:41 GMT
Initial commit of a basic Zstandard compression benchmark.

Suites Using This Test

Compression Tests

C/C++ Compiler Tests

Multi-Core

CPU Massive

Server CPU Tests

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Zstd Compression 1.5.4

Compression Level: 19 - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 1,768 public results since 10 February 2023 with the latest data as of 11 October 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)
99th
24
24.8 +/- 1.3
98th
20
24.0 +/- 1.5
97th
9
23.6 +/- 0.2
97th
41
23.5 +/- 1.9
95th
6
23.2 +/- 0.1
95th
19
23.2 +/- 1.1
93rd
30
22.2 +/- 1.1
92nd
26
21.7 +/- 1.1
92nd
7
21.7 +/- 0.2
87th
25
20.6 +/- 0.3
85th
9
20.1 +/- 0.1
85th
14
20.1 +/- 1.9
84th
9
20.0 +/- 0.1
83rd
21
19.7 +/- 1.4
82nd
56
19.5 +/- 1.8
82nd
5
19.3 +/- 1.1
82nd
4
19.3 +/- 0.3
82nd
10
19.2 +/- 0.7
80th
5
18.9 +/- 0.3
80th
15
18.9 +/- 1.2
80th
8
18.9 +/- 0.3
80th
17
18.8 +/- 0.2
80th
13
18.8 +/- 0.8
79th
11
18.5 +/- 1.0
76th
4
18.0 +/- 0.1
Mid-Tier
75th
< 18.0
75th
7
17.9 +/- 0.9
74th
20
17.8 +/- 1.2
74th
11
17.8 +/- 0.8
72nd
9
17.4 +/- 0.7
71st
6
17.2 +/- 0.6
71st
3
17.2 +/- 0.1
71st
16
17.2 +/- 0.7
71st
10
17.1 +/- 0.3
69th
8
16.7 +/- 0.1
69th
3
16.7 +/- 0.3
68th
4
16.4 +/- 0.6
68th
5
16.4 +/- 0.1
67th
14
16.0 +/- 0.4
66th
6
15.9 +/- 0.2
66th
6
15.6 +/- 1.2
64th
8
15.2 +/- 0.2
63rd
4
14.7 +/- 0.1
63rd
4
14.7 +/- 0.2
62nd
3
14.5 +/- 0.7
61st
6
14.4 +/- 0.2
59th
4
13.9 +/- 0.5
58th
4
13.8 +/- 1.4
56th
4
13.4
56th
4
13.2 +/- 0.1
56th
3
13.2 +/- 0.1
56th
11
13.1 +/- 1.2
56th
6
13.1 +/- 0.7
55th
7
13.0 +/- 0.3
55th
4
12.9 +/- 0.6
54th
18
12.8 +/- 1.3
54th
6
12.8 +/- 0.1
53rd
12
12.7 +/- 0.8
52nd
5
12.5 +/- 0.7
52nd
4
12.4 +/- 0.5
51st
6
12.3 +/- 0.6
Median
50th
12.3
46th
7
11.7 +/- 0.2
46th
11
11.7 +/- 1.5
43rd
10
11.3 +/- 0.1
40th
5
10.9 +/- 0.1
38th
16
10.5 +/- 0.7
37th
17
10.4 +/- 0.2
35th
3
10.3 +/- 0.1
34th
3
10.2 +/- 0.1
33rd
4
10.1 +/- 0.2
32nd
14
10.1 +/- 1.3
32nd
3
10.1 +/- 0.1
31st
24
10.0 +/- 1.0
29th
4
9.7 +/- 1.1
28th
4
9.5 +/- 0.3
28th
6
9.5 +/- 0.7
27th
5
9.3 +/- 0.3
26th
7
9.2 +/- 0.2
Low-Tier
25th
< 9.1
25th
4
9.1 +/- 0.4
24th
3
8.9 +/- 0.4
21st
3
8.3 +/- 1.0
20th
4
7.2 +/- 0.1
18th
3
5.8 +/- 0.1
15th
3
4.2 +/- 0.1
13th
42
3.1 +/- 0.5
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 19 - Compression Speed1736 Results Range From 0 To 28 MB/s36912151821242730333690180270360450

Based on OpenBenchmarking.org data, the selected test / test configuration (Zstd Compression 1.5.4 - Compression Level: 19 - Compression Speed) has an average run-time of 6 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: 19 - Compression SpeedRun-Time510152025Min: 3 / Avg: 5.84 / Max: 22

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.4%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsCompression Level: 19 - Compression SpeedDeviation246810Min: 0 / Avg: 0.45 / Max: 4

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 BaseZstd Compression CPU Core ScalingCompression Level: 19 - Compression Speed46810121416243264961281920.71881.43762.15642.87523.594

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.
 
COMISD MOVAPD MULSD DIVSD SUBSD CVTTSD2SI CVTSI2SD ADDSD MOVDQA MOVD PUNPCKLQDQ MOVDQU PSHUFD PMULUDQ PSRLDQ PADDQ SHUFPD PSUBQ PUNPCKHQDQ MINSD 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).

 
VBROADCASTSD VEXTRACTF128 VZEROUPPER VINSERTF128 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 VPBROADCASTD VPSLLVD VEXTRACTI128 VPBROADCASTB VPERM2I128 VPERMD VINSERTI128 VPERMQ VPBROADCASTW VPBLENDD
FMA (FMA)
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 Bulldozer (2011).

 
VFMADD132SD
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 March 2023

This test profile binary relies on the shared libraries libz.so.1, liblzma.so.5, liblz4.so.1, 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, rv64imafdcvsu
Loongson LoongArch 64-bit
loongarch64
Loongson-3A6000-HV
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M2 Max, Apple M3 Max
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-X1, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1 Pro, Apple M2, Phytium D2000, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 65 Benchmark Results

AMD Ryzen 5 5600G - ASRock B450M Pro4-F R2.0 - AMD Renoir

Ubuntu 24.04 - 6.10.4-061004-generic - GNOME Shell 46.0

1 System - 65 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 65 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 65 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 65 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

6 Systems - 344 Benchmark Results

Intel Core Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.11.0-phx - GNOME Shell 47.0

2 Systems - 76 Benchmark Results

4 Systems - 35 Benchmark Results

AMD Phenom II X4 910e - ASUS M4A89GTD-PRO - AMD RS880

Ubuntu 22.04 - 5.15.158-2-pve - 1.3.255

4 Systems - 35 Benchmark Results

AMD Phenom II X4 910e - ASUS M4A89GTD-PRO - AMD RS880

Ubuntu 22.04 - 5.15.158-2-pve - 1.3.255

4 Systems - 35 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 - 8GB

Ubuntu 22.04.5 LTS - 5.15.0-1061-raspi - 1.3.255

3 Systems - 35 Benchmark Results

Intel Xeon L5609 - Dell PowerEdge R510 00HDP0 - Intel 5500 I

Ubuntu 22.04 - 6.8.12-1-pve - 1.3.255

1 System - 124 Benchmark Results

2 x Intel Xeon Gold 6248R - Supermicro SYS-6029P-TR X11DPi-N - Intel Sky Lake-E DMI3 Registers

Arch Linux - 5.18.12-arch1-1 - GCC 12.1.0 + Clang 13.0.1

1 System - 124 Benchmark Results

2 x Intel Xeon Gold 6248R - Supermicro SYS-6029P-TR X11DPi-N - Intel Sky Lake-E DMI3 Registers

Arch Linux - 5.18.12-arch1-1 - GCC 12.1.0 + Clang 13.0.1

2 Systems - 35 Benchmark Results

Intel Xeon L5609 - Dell PowerEdge R510 00HDP0 - Intel 5500 I

Ubuntu 22.04 - 6.8.12-1-pve - 1.3.255

1 System - 35 Benchmark Results

Intel Xeon L5609 - Dell PowerEdge R510 00HDP0 - Intel 5500 I

Ubuntu 22.04 - 6.8.12-1-pve - 1.3.255

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 396 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.2

3 Systems - 413 Benchmark Results

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

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

2 Systems - 286 Benchmark Results

Rockchip ARMv8 Cortex-A76 - Orange Pi 5 - 8GB

Ubuntu 22.04 - 5.10.110-rockchip-rk3588 - Xfce 4.16

4 Systems - 286 Benchmark Results

Intel Core i7-1260P - 40GB - 0GB Virtual Disk + 275GB Virtual Disk + 1100GB Virtual Disk

Arch Linux - 5.15.90.1-microsoft-standard-WSL2 - X Server + Wayland

3 Systems - 273 Benchmark Results

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

Ubuntu 23.04 - 6.2.0-23-generic - GNOME Shell 44.2

2 Systems - 328 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 5.15.0-53-generic - GNOME Shell 42.2

6 Systems - 59 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Arch rolling - 6.10.0-arch1-1 - X Server 1.21.1.13 + Wayland

2 Systems - 831 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

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

5 Systems - 203 Benchmark Results

2 x AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

18 Systems - 442 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

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

3 Systems - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

Find More Test Results