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

Average Run Time

7 Minutes, 12 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.062021.072021.082021.092021.106K12K18K24K30K
* 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 21 October 2021.
3, Long Mode14.1%19, Long Mode18.9%817.6%8, Long Mode16.2%314.5%1918.7%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: 19, Long Mode - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 568 public results since 14 May 2021 with the latest data as of 25 October 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)
100th
7
50.1 +/- 0.6
97th
3
47.0 +/- 0.4
91st
8
43.5 +/- 0.5
90th
3
42.9 +/- 4.3
88th
3
41.5 +/- 0.3
87th
12
40.3 +/- 1.8
85th
6
38.7 +/- 2.0
84th
6
38.4 +/- 0.1
82nd
38
37.2 +/- 2.4
82nd
3
36.7 +/- 0.3
Mid-Tier
75th
< 35.6
75th
4
35.2 +/- 0.5
74th
5
34.5 +/- 3.2
72nd
14
34.0 +/- 2.1
68th
3
33.0 +/- 3.7
62nd
48
32.5 +/- 1.0
61st
8
31.7 +/- 4.2
61st
3
31.6 +/- 0.1
59th
12
30.7 +/- 2.8
59th
4
30.5 +/- 0.4
58th
3
30.2 +/- 2.4
56th
3
29.3 +/- 0.4
54th
4
28.2 +/- 0.9
54th
6
27.5 +/- 0.2
51st
3
26.3 +/- 0.1
51st
4
26.3 +/- 0.1
Median
50th
26.3
49th
5
25.8 +/- 0.1
49th
10
25.7 +/- 0.2
47th
5
25.5 +/- 0.2
45th
4
24.5 +/- 2.8
44th
5
22.4 +/- 0.6
43rd
4
22.2 +/- 0.1
41st
3
21.2 +/- 0.2
41st
10
20.6 +/- 1.3
41st
4
20.5 +/- 0.2
38th
4
19.3 +/- 0.5
37th
6
18.2 +/- 0.1
34th
6
16.7 +/- 0.2
33rd
6
15.9 +/- 0.3
32nd
3
15.8 +/- 0.1
31st
6
15.7 +/- 0.1
29th
13
15.5 +/- 0.1
27th
8
15.3 +/- 0.1
27th
6
15.3 +/- 0.1
26th
8
15.2 +/- 0.1
Low-Tier
25th
< 15.2
24th
3
15.1 +/- 0.1
23rd
3
14.7 +/- 0.1
22nd
6
13.4 +/- 0.7
21st
3
13.1 +/- 0.1
20th
5
12.8 +/- 0.1
19th
6
12.7 +/- 0.2
17th
3
12.4 +/- 0.2
16th
3
12.0 +/- 0.1
15th
4
11.3 +/- 0.1
13th
5
10.7 +/- 0.2
13th
3
10.3 +/- 0.1
12th
4
10.0 +/- 0.1
10th
6
8.8 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 19, Long Mode - Compression Speed567 Results Range From 0 To 53 MB/s05101520253035404550556020406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Zstd Compression 1.5.0 - Compression Level: 19, Long Mode - Compression Speed) has an average run-time of 5 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, Long Mode - Compression SpeedRun-Time714212835Min: 1 / Avg: 4.12 / Max: 33

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, Long Mode - Compression SpeedDeviation246810Min: 0 / Avg: 0.36 / Max: 3

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: 19, Long Mode - Compression Speed468121624321.07442.14883.22324.29765.372

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

5 Systems - 71 Benchmark Results

AMD Ryzen 3 3200G - ASRock B450M-HDV R4.0 - AMD Raven

Clear Linux OS 35130 - 5.13.13-1070.native - GNOME Shell 41.0

1 System - 290 Benchmark Results

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

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

2 Systems - 62 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASRock B450M Pro4 - AMD 17h

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

2 Systems - 67 Benchmark Results

AMD Ryzen 5 5600G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

1 System - 12 Benchmark Results

Intel Core i5-4300U - INTEL SHARKBAY - Intel Haswell-ULT DRAM

Kylin v10 - 5.4.18-23-generic - X Server 1.20.8

1 System - 12 Benchmark Results

Phytium FT-2000/4 - Greatwall GW-001Y1B-FTF v1.0 - 8GB

Kylin v10 - 5.4.18-23-generic - X Server 1.20.8

4 Systems - 16 Benchmark Results

Intel Xeon E3-1240 V2 - HP 1790 - 16GB

Ubuntu 20.04.2 LTS - 5.10.21-Unraid - NVIDIA

5 Systems - 16 Benchmark Results

Intel Xeon E5-2620 v3 - HUANANZHI X99-F8 - 16GB

Ubuntu 20.04.3 LTS - 5.10.28-Unraid - GCC 9.3.0

4 Systems - 39 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

49 Systems - 23 Benchmark Results

Intel Core i5-2400S - ASRock Z68 Pro3 - Intel 2nd Generation Core Family DRAM

Ubuntu 18.04 - 4.17.0-999-generic - GCC 8.1.0

5 Systems - 16 Benchmark Results

Intel Xeon E3-1240 V2 - HP 1790 - 16GB

Ubuntu 20.04.2 LTS - 5.10.21-Unraid - NVIDIA

5 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

4 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

3 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

1 System - 59 Benchmark Results

Intel Atom C3958 - American Megatrends 5.13 - Intel Device 1980

Ubuntu 16.04 - 4.4.0-116-generic - GCC 5.4.0 20160609 + Clang 3.8.0-2ubuntu4

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 42 Benchmark Results

AMD Ryzen 9 5950X 16-Core - 32GB - 466GB

Ubuntu 20.04 - 4.4.0-19041-Microsoft - GCC 9.3.0

4 Systems - 50 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 20.10 - 5.12.0-rc5-nopsf - GNOME Shell 3.38.1

3 Systems - 79 Benchmark Results

AMD Eng Sample - Gigabyte TRX40 AORUS PRO WIFI - 4 x 32768 MB 3000MHz CMK64GX4M2D3000C16

Microsoft Windows 10 Pro Build 21382 - 10.0 - 27.20.21002.2004

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

3 Systems - 178 Benchmark Results

Intel Core i7-4770K - Gigabyte Z97-HD3 - Intel 4th Gen Core DRAM

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

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

4 Systems - 82 Benchmark Results

Intel Core i5-6500 - Gigabyte Z170M-D3H-CF - Intel Xeon E3-1200 v5

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

2 Systems - 603 Benchmark Results

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

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

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

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

3 Systems - 12 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.12.0-051200-generic - GNOME Shell 3.38.2

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

Find More Test Results