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

3 March 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 6 Seconds

Average Run Time

7 Minutes, 25 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

50k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*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.043K6K9K12K15K
* 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.
Data current as of Wed, 14 Apr 2021 21:02:33 GMT.
19, Long Mode38.8%8, Long Mode38.3%322.9%Compression Level Option PopularityOpenBenchmarking.org

Revision History

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

Compression Level: 19 - Compression Speed

OpenBenchmarking.org metrics for this test profile configuration based on 380 public results since 3 March 2021 with the latest data as of 14 April 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
# Matching Public Results
MB/s (Average)
100th
7
97.1 +/- 1.4
97th
4
87.0 +/- 0.6
91st
10
84.7 +/- 2.6
89th
6
83.6 +/- 6.8
88th
3
82.6 +/- 0.8
86th
8
81.9 +/- 2.0
85th
6
81.7 +/- 1.7
80th
3
75.7 +/- 0.5
79th
3
74.7 +/- 1.6
76th
3
72.5 +/- 1.4
Mid-Tier
75th
< 71.0
75th
8
70.8 +/- 1.5
72nd
4
62.5 +/- 0.8
70th
9
60.1 +/- 0.8
70th
3
60.1 +/- 1.0
67th
3
58.3 +/- 0.4
66th
16
52.1 +/- 3.6
61st
3
47.4 +/- 0.1
58th
11
44.4 +/- 0.3
53rd
4
37.4 +/- 0.3
51st
7
35.9 +/- 0.1
Median
50th
35.2
50th
3
34.7 +/- 1.6
50th
3
34.6 +/- 0.1
48th
4
33.9 +/- 0.3
47th
7
33.7 +/- 0.1
47th
10
33.6 +/- 0.7
41st
3
32.8 +/- 0.1
40th
5
32.2 +/- 4.4
40th
10
31.7 +/- 1.7
39th
3
31.3 +/- 0.2
37th
7
31.2 +/- 2.4
37th
13
31.2 +/- 0.2
32nd
3
28.4 +/- 0.2
31st
3
27.5 +/- 0.1
30th
3
27.2 +/- 0.1
29th
3
25.7 +/- 0.1
29th
3
24.6 +/- 0.1
27th
3
22.8 +/- 0.2
26th
3
22.1 +/- 0.2
Low-Tier
25th
< 21.9
25th
5
21.5 +/- 0.3
24th
3
20.7 +/- 0.1
21st
3
20.0 +/- 0.1
20th
3
17.9 +/- 0.1
18th
3
16.2 +/- 0.1
17th
3
16.0 +/- 0.3
14th
3
15.0 +/- 0.1
14th
5
15.0 +/- 1.1
13th
3
14.1 +/- 0.1
11th
3
13.5 +/- 0.1
10th
3
13.2 +/- 0.1
4th
3
9.9 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Compression Level: 19 - Compression Speed379 Results Range From 2 To 99 MB/s21120293847566574839210111020406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Zstd Compression 1.4.9 - Compression Level: 19 - 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 - Compression SpeedRun-Time48121620Min: 1 / Avg: 4.16 / Max: 14

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

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

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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 Speed46812162432641281.833.665.497.329.15

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 MOVDQA MOVD PUNPCKLQDQ MOVDQU PSHUFD PMULUDQ PSRLDQ PADDQ SHUFPD MINSD
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).

 
VINSERTF128 VEXTRACTF128 VZEROUPPER 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 VPBROADCASTW VPERMQ VPBROADCASTB VINSERTI128 VPERM2I128 VPERMD 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
The test / benchmark does honor compiler flag changes.
Last automated analysis: 30 January 2021

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 68 Benchmark Results

AMD Ryzen 7 4800H - TUXEDO s PULSE1501 - AMD Renoir Root Complex

Arch rolling - 5.11.13-arch1-1 - X Server 1.20.10

4 Systems - 6 Benchmark Results

ARMv7 Cortex-A15 - Hardkernel ODROID-XU4 Odroid XU4 - 2048MB

Gentoo 2.7 - 5.4.98+ - X Server

3 Systems - 95 Benchmark Results

2 x AMD EPYC 7V13 64-Core - Microsoft Virtual Machine - 442GB

CentOS Linux 8 - 4.18.0-147.8.1.el8_1.x86_64 - GCC 8.3.1 20190507

1 System - 1 Benchmark Result

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

1 System - 1 Benchmark Result

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - X Server

2 Systems - 86 Benchmark Results

2 x AMD EPYC 7V12 64-Core - Microsoft Virtual Machine - 450GB

CentOS Linux 8 - 4.18.0-147.8.1.el8_1.x86_64 - GCC 8.3.1 20190507

12 Systems - 453 Benchmark Results

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

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 115 Benchmark Results

Intel Xeon E3-1225 v6 - (2.002 BIOS) - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.4.0-70-generic - 1.2.145

1 System - 115 Benchmark Results

Intel Xeon E3-1225 v5 - INTEL H110 - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.4.0-66-generic - 1.2.145

1 System - 40 Benchmark Results

Intel Xeon - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 40 Benchmark Results

Intel Core - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 108 Benchmark Results

2 x Intel Xeon Gold 5218R - Supermicro X11DPX-T - Intel Device 2020

Ubuntu 16.04 - 4.15.0-140-generic - Unity 7.4.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 12 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Ubuntu 20.04 - 5.8.0-44-generic - GNOME Shell 3.36.4

4 Systems - 12 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 20.10 - 5.11.0-051100daily20210228-generic - GNOME Shell 3.38.2

4 Systems - 12 Benchmark Results

Intel Core i7-5775C - MSI Z97-G45 GAMING - Intel Broadwell-U DMI

Ubuntu 18.10 - 5.0.0-999-generic - GNOME Shell 3.30.2

3 Systems - 16 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-051100rc7daily20210209-generic - GNOME Shell 3.38.2

3 Systems - 13 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - MSI MEG X399 CREATION - AMD 17h

Debian 10 - 5.8.1-050801-generic - GNOME Shell 3.30.2

3 Systems - 27 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 20.10 - 5.11.0-051100rc2daily20210106-generic - GNOME Shell 3.38.1

4 Systems - 12 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-051100daily20210228-generic - GNOME Shell 3.38.2

3 Systems - 12 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 10 - 4.19.0-10-amd64 - GCC 8.3.0

3 Systems - 11 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-051100-generic - GNOME Shell 3.38.1

7 Systems - 13 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 66 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-051100rc3daily20210116-generic - GNOME Shell 3.38.1

8 Systems - 439 Benchmark Results

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

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

Find More Test Results