Zstd Compression

This test measures the time needed to compress/decompress a sample file (a FreeBSD disk image - FreeBSD-12.2-RELEASE-amd64-memstick.img) using Zstd 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

github.com

Test Created

24 May 2018

Last Updated

14 May 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 3 Seconds

Average Run Time

7 Minutes, 27 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsZstd Compression Popularity Statisticspts/compress-zstd2018.052018.062018.072018.082018.092018.102018.112018.122019.012019.022019.032019.042019.052019.062019.072019.082019.092019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.064K8K12K16K20K
* 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 current as of 19 June 2021.
3, Long Mode29.8%19, Long Mode35.7%834.5%Compression Level Option PopularityOpenBenchmarking.org

Revision History

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

Compression Level: 3 - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 316 public results since 14 May 2021 with the latest data as of 20 June 2021.

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
3
5571 +/- 407
91st
5
5250 +/- 500
89th
4
5067 +/- 47
82nd
8
3909 +/- 46
81st
5
3803 +/- 352
81st
7
3782 +/- 236
78th
3
3617 +/- 18
78th
3
3601 +/- 16
76th
3
3524 +/- 30
Mid-Tier
75th
< 3388
69th
6
2889 +/- 5
69th
4
2889 +/- 30
66th
3
2735 +/- 23
56th
3
2629 +/- 9
56th
38
2616 +/- 208
52nd
3
2375 +/- 57
51st
4
2207 +/- 14
Median
50th
2206
49th
5
2144 +/- 11
47th
3
2124 +/- 15
45th
9
2079 +/- 19
43rd
6
2064 +/- 26
41st
3
1956 +/- 17
37th
3
1662 +/- 117
36th
4
1660 +/- 10
35th
3
1592 +/- 46
34th
3
1449 +/- 7
33rd
3
1367 +/- 20
32nd
6
1355 +/- 11
30th
6
1289 +/- 9
27th
3
1268 +/- 16
26th
4
1242 +/- 14
26th
3
1240 +/- 13
Low-Tier
25th
< 1233
25th
3
1227 +/- 81
24th
4
1177 +/- 13
23rd
3
1136 +/- 16
21st
6
1117 +/- 14
19th
8
1056 +/- 22
16th
4
935 +/- 14
15th
3
923 +/- 18
14th
3
901 +/- 3
13th
3
855 +/- 1
12th
5
832 +/- 7
10th
4
797 +/- 14
6th
6
645 +/- 18
3rd
3
511 +/- 7
2nd
4
82 +/- 4
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 3 - Compression Speed316 Results Range From 79 To 7761 MB/s79233387541695849100311571311146516191773192720812235238925432697285130053159331334673621377539294083423743914545469948535007516153155469562357775931608562396393654767016855700971637317747176257779612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (Zstd Compression 1.5.0 - Compression Level: 3 - 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: 3 - Compression SpeedRun-Time3691215Min: 1 / Avg: 2.2 / Max: 11

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: 3 - 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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseZstd Compression CPU Core ScalingCompression Level: 3 - Compression Speed4681216321.763.525.287.048.8

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 CVTSI2SD MULSD DIVSD SUBSD CVTTSD2SI ADDSD MOVDQU MOVD PUNPCKLQDQ PSHUFD PADDQ MOVDQA PSRLDQ PMULUDQ SHUFPD PUNPCKHQDQ MINSD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VBROADCASTSD VEXTRACTF128 VZEROUPPER VINSERTF128
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VINSERTI128 VPBROADCASTD VPSLLVD VEXTRACTI128 VPBROADCASTW VPERMQ VPBROADCASTB VPERM2I128 VPERMD VPBLENDD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libz.so.1, libpthread.so.0, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 12 Benchmark Results

Intel Core i9-9820X - MSI X299 RAIDER - Intel Sky Lake-E DMI3 Registers

Fedora 34 - 5.12.10-300.fc34.x86_64 - GNOME Shell 40.2

2 Systems - 132 Benchmark Results

AMD EPYC 7543 32-Core - TYAN S8036GM2NE-LE - AMD Starship

Ubuntu 21.04 - 5.11.0-18-generic - GNOME Shell 3.38.4

3 Systems - 136 Benchmark Results

Intel Xeon E3-1280 v5 - MSI Z170A SLI PLUS - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.9.0-050900rc2daily20200826-generic - GNOME Shell 3.36.4

1 System - 35 Benchmark Results

2 x AMD EPYC 7763 64-Core - Dell 074H08 - 16 x 64 GB DDR4-3200MT

Debian GNU - 5.4.106-1-pve - GCC 8.3.0

3 Systems - 87 Benchmark Results

Intel Core i7-2700K - BIOSTAR B75MU3B v5.0 - Intel 2nd Generation Core DRAM

Ubuntu 20.04 - 5.9.1-050901-generic - GNOME Shell 3.34.1

12 Systems - 43 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

3 Systems - 65 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS TUF GAMING B550M-PLUS - AMD Starship

Ubuntu 20.10 - 5.8.0-50-generic - GNOME Shell 3.38.1

3 Systems - 70 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 20.04 - 5.12.0-051200rc2daily20210307-generic - GNOME Shell 3.36.4

3 Systems - 56 Benchmark Results

AMD Ryzen Threadripper 2970WX 24-Core - Gigabyte X399 AORUS Gaming 7 - AMD 17h

Ubuntu 20.04 - 5.9.0-050900rc6daily20200926-generic - GNOME Shell 3.36.4

2 Systems - 118 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

3 Systems - 62 Benchmark Results

AMD Ryzen 5 3600XT 6-Core - MSI X470 GAMING M7 AC - AMD Starship

Ubuntu 20.10 - 5.8.0-50-generic - GNOME Shell 3.38.1

7 Systems - 28 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Debian 9.0 - 4.4.16-00006-g4431f98-dirty - LXDE

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 21 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

Ubuntu 19.10 - 5.9.0-050900rc7daily20201004-generic - GNOME Shell 3.34.1

4 Systems - 11 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.11.0-16-generic - GNOME Shell 3.38.4

3 Systems - 117 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-48-generic - GNOME Shell 3.38.1

3 Systems - 32 Benchmark Results

Intel Core i3-10100 - Gigabyte B460M DS3H - Intel Device 9b63

Ubuntu 20.04 - 5.9.0-050900rc7daily20201002-generic - GNOME Shell 3.36.3

3 Systems - 83 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

3 Systems - 37 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Device e100

Ubuntu 20.04 - 5.11.0-051100-generic-64k - GNOME Shell 3.36.4

3 Systems - 107 Benchmark Results

AMD FX-8150 Eight-Core - ASUS M5A78L-M LX PLUS - AMD RS780 + SB7x0

Ubuntu 20.10 - 5.8.0-33-generic - GNOME Shell 3.38.1

3 Systems - 13 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.10 - 5.8.0-53-generic - GNOME Shell 3.38.1

3 Systems - 13 Benchmark Results

AMD Ryzen 5 3400G - ASUS PRIME B450M-A - AMD Raven

Ubuntu 19.10 - 5.3.0-46-generic - GNOME Shell 3.34.1

4 Systems - 193 Benchmark Results

AMD Ryzen 3 2200G - ASUS PRIME B350M-E - AMD Raven

Ubuntu 20.10 - 5.8.0-38-generic - GNOME Shell 3.38.1

4 Systems - 12 Benchmark Results

Intel Xeon E-2288G - Compulab SBC-ATCFL v1.2 - Intel Cannon Lake PCH

Ubuntu 20.10 - 5.8.0-41-generic - GNOME Shell 3.38.2

Find More Test Results