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, 46 Seconds

Average Run Time

14 Minutes, 17 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.062018.082018.102018.122019.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.0216K32K48K64K80K
* 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 19 February 2024.
1214.7%19, Long Mode17.1%1917.4%8, Long Mode13.5%813.2%312.5%3, Long Mode11.6%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,100 public results since 10 February 2023 with the latest data as of 20 February 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
18
24.5 +/- 1.2
98th
15
23.8 +/- 1.6
97th
33
23.5 +/- 2.1
95th
14
22.9 +/- 1.2
94th
25
22.0 +/- 1.2
92nd
19
21.2 +/- 0.5
89th
22
20.7 +/- 0.2
85th
17
19.5 +/- 1.5
85th
3
19.3 +/- 0.3
85th
4
19.3 +/- 0.3
84th
12
19.0 +/- 0.5
83rd
5
18.9 +/- 1.5
82nd
3
18.6 +/- 1.3
82nd
11
18.5 +/- 1.2
79th
9
18.0 +/- 0.9
79th
26
18.0 +/- 1.2
78th
18
17.8 +/- 1.2
Mid-Tier
75th
< 17.4
74th
16
17.2 +/- 0.7
74th
6
17.2 +/- 0.6
72nd
3
16.7 +/- 0.3
71st
4
16.4 +/- 0.6
69th
7
15.9 +/- 0.2
68th
3
15.6 +/- 1.9
66th
4
14.7 +/- 0.1
62nd
4
13.9 +/- 0.5
62nd
4
13.8 +/- 1.4
60th
4
13.4
59th
4
13.2 +/- 0.1
59th
6
13.2 +/- 0.6
59th
6
13.1 +/- 0.7
58th
4
12.9 +/- 0.6
57th
6
12.8 +/- 0.1
56th
8
12.7 +/- 1.1
55th
4
12.6 +/- 0.8
55th
14
12.5 +/- 1.3
54th
6
12.3 +/- 0.6
Median
50th
12.0
47th
11
11.7 +/- 1.5
44th
10
11.3 +/- 0.1
41st
9
11.0 +/- 0.5
40th
5
10.9 +/- 0.1
35th
13
10.5 +/- 0.2
31st
3
10.2 +/- 0.1
29th
3
10.1 +/- 0.1
28th
24
10.0 +/- 1.0
Low-Tier
25th
< 9.7
25th
4
9.5 +/- 0.3
25th
6
9.5 +/- 0.7
21st
3
9.1 +/- 0.3
20th
3
9.1 +/- 0.1
19th
3
9.0 +/- 0.4
18th
3
8.9 +/- 0.4
15th
3
8.3 +/- 1.0
13th
4
7.2 +/- 0.1
10th
3
5.8 +/- 0.1
6th
3
4.2 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 19 - Compression Speed1085 Results Range From 0 To 28 MB/s36912151821242730333680160240320400

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.66 / 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.42 / 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 Speed468121632641280.67081.34162.01242.68323.354

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
Loongson LoongArch 64-bit
loongarch64
Loongson-3A6000-HV
ARMv8 64-bit
arm64
Apple M2 Max, Apple M3 Max
ARMv8 64-bit
aarch64
ARMv8, 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 72-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1 Pro, Apple M2, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 48 Benchmark Results

Intel Xeon E31270 - HP ProLiant ML110 G7 - Intel Xeon E3-1200 DRAM

Rocky Linux 9.3 - 5.14.0-362.18.1.el9_3.0.1.x86_64 - GNOME Shell 40.10

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

1 System - 60 Benchmark Results

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

Arch Linux - 6.7.4-arch1-1 - GNOME Shell 45.4

2 Systems - 64 Benchmark Results

Intel Core i5-6600 - ASUS H170 PRO GAMING - Intel Xeon E3-1200 v5

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

1 System - 63 Benchmark Results

AMD Ryzen 5 7600 6-Core - ASUS ROG STRIX B650E-F GAMING WIFI - AMD Device 14d8

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

1 System - 59 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 58 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 64 Benchmark Results

Intel Core i5-6600 - ASUS H170 PRO GAMING - Intel Xeon E3-1200 v5

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

1 System - 60 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASRock A620I Lightning WiFi - AMD Device 14d8

Arch rolling - 6.8.0-rc3-1-cachyos-rc - X Server 1.21.1.9

1 System - 59 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-27-amd64 - GNOME Shell 3.38.6

1 System - 59 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-27-amd64 - GNOME Shell 3.38.6

1 System - 60 Benchmark Results

2 x Intel Xeon Gold 6240 - Dell 08JG8G - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 60 Benchmark Results

AMD EPYC 9354P 32-Core - Supermicro H13SSW - AMD Device 14a4

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 42 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Ubuntu 22.04 - 5.15.0-92-generic - GNOME Shell 42.9

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

2 Systems - 286 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Debian 11 - 5.15.84-v8+ - LXDE

5 Systems - 203 Benchmark Results

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

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

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

2 Systems - 201 Benchmark Results

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

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

3 Systems - 100 Benchmark Results

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

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 231 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

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

4 Systems - 14 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 6.1.0-rc6-asahi-5-1-ARCH - KDE Plasma 5.26.3

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