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, 24 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.096K12K18K24K30K
* 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 26 September 2021.
3, Long Mode14.3%19, Long Mode18.8%817.5%8, Long Mode16.7%314.7%1918.1%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 501 public results since 14 May 2021 with the latest data as of 26 September 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)
98th
3
47.0 +/- 0.4
94th
8
43.5 +/- 0.5
92nd
3
42.9 +/- 4.3
90th
3
41.5 +/- 0.3
89th
12
40.3 +/- 1.8
87th
6
38.4 +/- 0.1
85th
28
37.5 +/- 2.8
84th
3
36.7 +/- 0.3
78th
4
35.2 +/- 0.5
76th
13
34.0 +/- 2.2
Mid-Tier
75th
< 34.0
72nd
4
33.1 +/- 0.1
71st
3
33.0 +/- 3.7
65th
48
32.5 +/- 1.0
64th
3
31.6 +/- 0.1
62nd
12
30.7 +/- 2.8
62nd
4
30.5 +/- 0.4
59th
3
29.3 +/- 0.4
57th
4
28.2 +/- 0.9
56th
6
27.5 +/- 0.2
53rd
4
26.3 +/- 0.1
53rd
3
26.3 +/- 0.1
51st
5
25.8 +/- 0.1
51st
10
25.7 +/- 0.2
Median
50th
25.7
48th
5
25.5 +/- 0.2
47th
4
24.5 +/- 2.8
46th
4
22.7 +/- 0.1
45th
4
22.2 +/- 0.1
43rd
3
21.2 +/- 0.2
43rd
10
20.6 +/- 1.3
42nd
4
20.5 +/- 0.2
39th
4
19.3 +/- 0.5
37th
6
18.2 +/- 0.1
35th
6
16.7 +/- 0.2
33rd
5
15.9 +/- 0.3
33rd
3
15.8 +/- 0.1
32nd
6
15.7 +/- 0.1
30th
13
15.5 +/- 0.1
27th
6
15.3 +/- 0.1
27th
8
15.3 +/- 0.1
26th
4
15.2 +/- 0.1
Low-Tier
25th
< 15.2
24th
3
15.1 +/- 0.1
22nd
6
13.4 +/- 0.7
22nd
3
13.1 +/- 0.1
21st
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
12th
3
10.3 +/- 0.1
11th
4
10.0 +/- 0.1
10th
6
8.8 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 19, Long Mode - Compression Speed483 Results Range From 0 To 50 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 4 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-Time510152025Min: 1 / Avg: 3.92 / 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, 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.00692.01383.02074.02765.0345

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

3 Systems - 74 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

4 Systems - 196 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

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

1 System - 69 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 PG Velocita - AMD Starship

Pop 21.04 - 5.11.0-7620-generic - GNOME Shell 3.38.4

1 System - 56 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 400 Rev 1.0 - 4096MB

Debian 10 - 5.4.51-v8+ - LXDE 0.10.0

3 Systems - 70 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

4 Systems - 146 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

3 Systems - 60 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 108 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

3 Systems - 59 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

2 Systems - 67 Benchmark Results

SiFive RISC-V - SiFive HiFive Unmatched A00 - 16GB

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

3 Systems - 58 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

1 System - 102 Benchmark Results

SiFive RISC-V - SiFive HiFive Unmatched A00 - 16GB

Ubuntu 21.04 - 5.11.0-1018-generic - GCC 10.3.0

1 System - 12 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Gigabyte X570 AORUS PRO - AMD Starship

Ubuntu 20.04 - 5.11.0-34-generic - KDE Plasma

3 Systems - 192 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 170 Benchmark Results

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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 - 79 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Ubuntu 21.04 - 5.11.0-17-generic - GNOME Shell 3.38.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

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

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

Find More Test Results