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

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

16 Seconds

Average Run Time

2 Minutes, 40 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Google Benchmark

Accolades

5k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsBenchmarkMutex Popularity Statisticspts/mutex2020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.086001200180024003000
* 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 4 August 2021.
Mutex Lock Unlock std::mutex27.8%Semaphore Release And Acquire11.8%Shared Mutex Lock Shared11.6%Mutex Lock Unlock spinlock_amd10.5%Mutex Lock Unlock spinlock11.7%Mutex Lock Unlock ticket_spinlock10.7%Mutex Lock Unlock pthread_mutex15.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 136 public results since 1 January 2020 with the latest data as of 25 July 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
ns (Average)
99th
3
14.7 +/- 0.2
85th
6
19.0 +/- 1.0
79th
3
19.1 +/- 0.1
Mid-Tier
75th
> 22.0
61st
3
25.1 +/- 0.1
Median
50th
29.5
Low-Tier
25th
> 31.4
15th
9
34.4 +/- 1.5
10th
4
35.2 +/- 2.5
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: Mutex Lock Unlock std::mutex136 Results Range From 14 To 75 ns142026323844505662687480861122334455

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.63 / Max: 3

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

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

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

2 Systems - 243 Benchmark Results

AMD EPYC 7302P 16-Core - Supermicro H11SSL-i v2.00 - AMD Starship

CentOS 7.8.2003 - 3.10.0-1127.19.1.el7.x86_64 - GCC 4.8.5 20150623

1 System - 8 Benchmark Results

AMD Ryzen 9 5900X 12-Core - 52GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 5.4.72-microsoft-standard-WSL2 - X Server

1 System - 133 Benchmark Results

Intel Celeron J3455 - PMB v1.0 - Intel Celeron N3350

Ubuntu 20.04 - 5.8.0-59-generic - GNOME Shell 3.36.9

1 System - 8 Benchmark Results

Intel Core i5-8400 - ASUS D640MB v1.0 - 16GB

Ubuntu 20.04 - 5.12.11-300.fc34.x86_64 - i915drmfb

6 Systems - 146 Benchmark Results

AMD Phenom II X4 965 - MSI 890FXA-GD70 - AMD RD890 PCI-e GFX Hydra part

ManjaroLinux 21.0.4 - 5.12.4-156-tkg-pds - KDE Plasma 5.21.4

5 Systems - 146 Benchmark Results

AMD Phenom II X4 965 - MSI 890FXA-GD70 - AMD RD890 PCI-e GFX Hydra part

ManjaroLinux 21.0.4 - 5.12.2-153-tkg-pds-llvm - KDE Plasma 5.21.4

1 System - 121 Benchmark Results

Intel Xeon X3370 - Supermicro X7SB4/E - Intel 3200

Ubuntu 20.04 - 5.4.0-71-generic - GCC 9.3.0

4 Systems - 146 Benchmark Results

AMD Phenom II X4 965 - MSI 890FXA-GD70 - AMD RD890 PCI-e GFX Hydra part

ManjaroLinux 21.0.4 - 5.12.2-153-tkg-pds - KDE Plasma 5.21.4

3 Systems - 146 Benchmark Results

AMD Phenom II X4 965 - MSI 890FXA-GD70 - AMD RD890 PCI-e GFX Hydra part

ManjaroLinux 21.0.4 - 5.12.2-153-tkg-pds-llvm - KDE Plasma 5.21.4

1 System - 146 Benchmark Results

AMD Phenom II X4 965 - MSI 890FXA-GD70 - AMD RD890 PCI-e GFX Hydra part

ManjaroLinux 21.0.4 - 5.12.2-153-tkg-pds-llvm - KDE Plasma 5.21.4

1 System - 155 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG STRIX B550-F GAMING - AMD Starship

Arch Linux - 5.11.15-arch1-2 - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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

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

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

Intel Core i7 990X - MSI X58M - Intel 5520

Debian 10 - 4.19.0-6-amd64 - GNOME Shell 3.30.2

Find More Test Results