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

14 Seconds

Average Run Time

5 Minutes, 52 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Google Benchmark

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsBenchmarkMutex Popularity Statisticspts/mutex2020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.092024.1113002600390052006500
* 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 updated weekly as of 18 December 2024.
Mutex Lock Unlock std::mutex25.6%Semaphore Release And Acquire12.3%Shared Mutex Lock Shared12.1%Mutex Lock Unlock spinlock_amd13.2%Mutex Lock Unlock spinlock12.3%Mutex Lock Unlock ticket_spinlock12.0%Mutex Lock Unlock pthread_mutex12.6%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 259 public results since 1 January 2020 with the latest data as of 4 December 2024.

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)
95th
6
13.0 +/- 1.0
92nd
3
13.2 +/- 1.4
91st
5
13.4 +/- 1.1
89th
5
14.0 +/- 0.9
Mid-Tier
75th
> 16.0
71st
3
16.8 +/- 0.1
70th
3
17.0 +/- 1.0
70th
6
17.0 +/- 0.2
65th
3
18.0 +/- 1.9
60th
3
18.8 +/- 1.4
Median
50th
20.0
45th
8
21.0 +/- 2.0
30th
6
25.3 +/- 0.1
28th
9
25.4 +/- 1.1
Low-Tier
25th
> 25.7
18th
4
26.9 +/- 0.1
10th
5
35.5 +/- 1.2
8th
6
39.5 +/- 1.1
2nd
6
67.1 +/- 1.2
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: Mutex Lock Unlock std::mutex259 Results Range From 8 To 90 ns815222936435057647178859220406080100

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.73 / Max: 6

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

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

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: 18 January 2022

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

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)

Recent Test Results

OpenBenchmarking.org Results Compare

7 Systems - 456 Benchmark Results

AMD EPYC 7713P 64-Core - Supermicro AS-1114S-WN10RT H12SSW-NTR v1.02 - AMD Starship

Debian GNU - 6.1.0-27-amd64 - GCC 12.2.0 + Clang 14.0.6

1 System - 119 Benchmark Results

Intel Core i7-10610U - LENOVO 20UAA0VUCD - Intel Comet Lake PCH-LP

Deepin 23 - 6.6.57 - Deepin Desktop Environment

1 System - 5 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 08HT8T - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - GCC 12.2.0

1 System - 1 Benchmark Result

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 08HT8T - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - GCC 12.2.0

1 System - 347 Benchmark Results

4 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

OracleServer 8.10 - 4.18.0-553.22.1.el8_10.x86_64 - GCC 10.3.1 20210422

1 System - 352 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 363 Benchmark Results

2 x Intel Xeon Gold 5118 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.10 - 5.15.0-208.159.3.2.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 356 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE MP32-AR0-00 v00030003 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

1 System - 347 Benchmark Results

4 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

OracleServer 8.10 - 4.18.0-553.8.1.el8_10.x86_64 - GCC 10.3.1 20210422

1 System - 354 Benchmark Results

8 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS 7.9.2009 - 3.10.0-1160.119.1.el7.x86_64 - X Server

1 System - 383 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.22.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 367 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.20.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 379 Benchmark Results

4 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

OracleServer 8.10 - 4.18.0-553.el8_10.x86_64 - GCC 10.3.1 20210422

1 System - 367 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.24.1.0.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 379 Benchmark Results

4 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

OracleServer 8.9 - 4.18.0-513.24.1.el8_9.x86_64 - GCC 10.3.1 20210422

Most Popular Test Results

OpenBenchmarking.org Results Compare

9 Systems - 7 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Gentoo - 5.12.8-gentoo-dist - MATE 1.24.0

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

5 Systems - 7 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Clear Linux OS 34600 - 5.12.2-1038.native - GNOME Shell 40.0

4 Systems - 159 Benchmark Results

Intel Core i7 990X - MSI X58M - Intel 5520

Debian stable-updates - 5.3.0-3-amd64 - GNOME Shell 3.34.2

9 Systems - 7 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

VoidLinux rolling - 5.11.21_1 - X Server 1.20.11

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.2-154-tkg-pds - KDE Plasma 5.21.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

Find More Test Results