BenchmarkMutex

BenchmarkMutex is a mutex benchmark created by Malte Skarupke.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark mutex.

Project Site

github.com

Test Created

1 January 2020

Last Updated

1 January 2020

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

15 Seconds

Average Run Time

2 Minutes, 35 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Google Benchmark

Accolades

5k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsBenchmarkMutex Popularity Statisticspts/mutex2020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.045001000150020002500
* 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 Mon, 12 Apr 2021 10:52:00 GMT.
Mutex Lock Unlock std::mutex27.0%Semaphore Release And Acquire11.8%Shared Mutex Lock Shared11.6%Mutex Lock Unlock spinlock_amd11.4%Mutex Lock Unlock spinlock11.7%Mutex Lock Unlock ticket_spinlock11.6%Mutex Lock Unlock pthread_mutex14.9%Benchmark Option PopularityOpenBenchmarking.org

Revision History

pts/mutex-1.0.0   [View Source]   Wed, 01 Jan 2020 18:38:46 GMT
Initial commit, work-in-progress more benchmarks from BenchmarkMutex could be easily added.

Suites Using This Test

Common Kernel Benchmarks

Single-Threaded


Performance Metrics

Analyze Test Configuration:

BenchmarkMutex

Benchmark: Mutex Lock Unlock std::mutex

OpenBenchmarking.org metrics for this test profile configuration based on 257 public results since 1 January 2020 with the latest data as of 23 December 2020.

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
ns (Average)
100th
4
11.6 +/- 0.4
99th
6
13.0 +/- 1.0
95th
3
14.0 +/- 1.0
89th
3
16.8 +/- 0.1
82nd
7
18.1 +/- 1.3
81st
4
18.6 +/- 1.2
Mid-Tier
75th
> 19.9
Low-Tier
25th
> 20.6
8th
9
25.4 +/- 1.1
8th
4
26.9 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: Mutex Lock Unlock std::mutex256 Results Range From 11 To 36 ns11141720232629323538414447306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (BenchmarkMutex - Benchmark: Mutex Lock Unlock std::mutex) 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 BenchmarkBenchmark: Mutex Lock Unlock std::mutexRun-Time246810Min: 1 / Avg: 1.24 / Max: 4

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: Mutex Lock Unlock std::mutexDeviation246810Min: 0 / Avg: 0.11 / Max: 3

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.
 
CVTSI2SD ADDSD
Last automated analysis: 30 January 2021

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 118 Benchmark Results

Intel Core i5-4670K - ASUS Z87-PRO - Intel 4th Gen Core DRAM

Arch rolling - 5.9.12-arch1-1 - KDE Plasma 5.20.4

1 System - 118 Benchmark Results

AMD Ryzen 5 3500X 6-Core - ASUS ROG STRIX X570-E GAMING - AMD Starship

Arch rolling - 5.9.13-arch1-1 - KDE Plasma 5.20.4

1 System - 92 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Taichi - AMD Starship

Ubuntu 20.04 - 5.4.0-53-generic - GNOME Shell 3.36.4

1 System - 151 Benchmark Results

16 x AMD EPYC 7302P 16-Core - Intel 440BX - Intel 440BX

CentOS Linux 8 - 5.9.2-1.el8.elrepo.x86_64 - GCC 8.3.1 20191121

1 System - 151 Benchmark Results

16 x AMD EPYC 7402 24-Core - Intel 440BX - Intel 440BX

CentOS Linux 8 - 5.9.2-1.el8.elrepo.x86_64 - GCC 8.3.1 20191121

1 System - 231 Benchmark Results

2 x Intel Xeon Silver 4215R - Dell 0W23H8 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-54-generic - GCC 9.3.0

12 Systems - 383 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Gigabyte B550I AORUS PRO AX - AMD Starship

Ubuntu 20.04 - 5.4.0-53-generic - GNOME Shell 3.36.4

1 System - 224 Benchmark Results

2 x Intel Xeon Silver 4215R - Dell 0W23H8 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-53-generic - GCC 9.3.0

1 System - 151 Benchmark Results

12 x AMD EPYC 7702P 64-Core - Intel 440BX - Intel 440BX

CentOS Linux 8 - 5.9.2-1.el8.elrepo.x86_64 - GCC 8.3.1 20191121

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 736 Benchmark Results

Intel Core i5-6500 - MSI Z170-A PRO - Intel Xeon E3-1200 v5

ManjaroLinux 20.0.3 - 5.4.52-1-MANJARO - GNOME Shell 3.36.4

2 Systems - 1766 Benchmark Results

Intel Core i5-6500 - MSI Z170-A PRO - Intel Xeon E3-1200 v5

ManjaroLinux 20.0.3 - 5.4.52-1-MANJARO - GNOME Shell 3.36.4

3 Systems - 1862 Benchmark Results

Intel Core i5-6500 - MSI Z170-A PRO - Intel Xeon E3-1200 v5

ManjaroLinux 20.0.3 - 5.4.52-1-MANJARO - GNOME Shell 3.36.4

12 Systems - 383 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Gigabyte B550I AORUS PRO AX - AMD Starship

Ubuntu 20.04 - 5.4.0-53-generic - GNOME Shell 3.36.4

2 Systems - 82 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Fedora 31 - 5.3.16-300.fc31.x86_64 - GNOME Shell 3.34.2

2 Systems - 90 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-14-generic - GNOME Shell 3.34.3

2 Systems - 1476 Benchmark Results

Intel Core i5-6500 - MSI Z170-A PRO - Intel Xeon E3-1200 v5

ManjaroLinux 20.0.3 - 5.4.52-1-MANJARO - GNOME Shell 3.36.4

4 Systems - 1662 Benchmark Results

Intel Core i5-6500 - MSI Z170-A PRO - Intel Xeon E3-1200 v5

ManjaroLinux 20.0.3 - 5.4.52-1-MANJARO - GNOME Shell 3.36.4

Find More Test Results