MariaDB mariadb-slap

This is a MariaDB MySQL database server benchmark making use of mysqlslap (mariadb-slap).

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

Project Site

mariadb.org

Source Repository

github.com

Test Created

29 July 2018

Last Updated

24 March 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

10 Minutes, 24 Seconds

Average Run Time

9 Minutes, 30 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake + Libevent + NCurses + Bison + Flex + OpenSSL + Zlib

Accolades

100k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsMariaDB mariadb-slap Popularity Statisticspts/mysqlslap2018.072018.102019.012019.042019.072019.102020.012020.042020.072020.102021.012021.042021.072021.102022.012022.042022.072022.102023.012023.042023.072023.102024.012024.042024.072024.107K14K21K28K35K
* 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 20 November 2024.
20485.7%102411.7%6420.2%3211.4%12824.0%25610.4%51216.7%Clients Option PopularityOpenBenchmarking.org

Revision History

pts/mysqlslap-1.5.0   [View Source]   Sun, 24 Mar 2024 10:41:32 GMT
Update against MariaDB 11.5 plus other fixes/improvements.

pts/mysqlslap-1.4.0   [View Source]   Fri, 17 Mar 2023 21:13:09 GMT
Update against MariaDB 11.0.1 upstream to fix GCC 13 build issues.

pts/mysqlslap-1.3.0   [View Source]   Mon, 14 Feb 2022 19:52:41 GMT
Update against MariaDB 10.8.2 upstream. Fixes: https://github.com/phoronix-test-suite/test-profiles/issues/218

pts/mysqlslap-1.2.0   [View Source]   Fri, 13 Aug 2021 09:43:39 GMT
Update against MariaDB 10.6.4 upstream, add higher client count options.

pts/mysqlslap-1.1.1   [View Source]   Sat, 10 Apr 2021 16:20:36 GMT
Fix MySQL root handling per https://github.com/phoronix-test-suite/test-profiles/pull/190

pts/mysqlslap-1.1.0   [View Source]   Sat, 09 May 2020 10:33:24 GMT
Update against upstream MariaDB 10.5.2.

pts/mysqlslap-1.0.8   [View Source]   Fri, 31 May 2019 18:13:43 GMT
Add zlib-development as an external dependency per https://github.com/phoronix-test-suite/test-profiles/issues/81

pts/mysqlslap-1.0.6   [View Source]   Wed, 13 Mar 2019 07:03:34 GMT
Update download links.

pts/mysqlslap-1.0.5   [View Source]   Sat, 01 Dec 2018 09:23:20 GMT
Fix for possible data directory rights issue - https://github.com/phoronix-test-suite/test-profiles/issues/47

pts/mysqlslap-1.0.4   [View Source]   Tue, 02 Oct 2018 13:56:13 GMT
Set --no-defaults per GitHub bug report to ensure nothing gets picked up from an installed MySQL configuration.

pts/mysqlslap-1.0.3   [View Source]   Sun, 29 Jul 2018 17:08:06 GMT
Few other external dependencies were missing.

pts/mysqlslap-1.0.2   [View Source]   Sun, 29 Jul 2018 16:26:13 GMT
Add ncurses development external dependency.

pts/mysqlslap-1.0.1   [View Source]   Sun, 29 Jul 2018 16:09:05 GMT
Set ResultPrecision = 0

pts/mysqlslap-1.0.0   [View Source]   Sun, 29 Jul 2018 14:36:52 GMT
Initial commit of MariaDB MySQL benchmark using mysqlslap to facilitate the testing.

Suites Using This Test

Database Test Suite

Server

Multi-Core

CPU Massive

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

MariaDB mariadb-slap 11.5

Clients: 128

OpenBenchmarking.org metrics for this test profile configuration based on 76 public results since 24 March 2024 with the latest data as of 25 October 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
Queries Per Second (Average)
100th
3
966 +/- 6
82nd
4
582 +/- 4
Mid-Tier
75th
< 580
53rd
4
449 +/- 1
Median
50th
449
40th
7
421 +/- 14
OpenBenchmarking.orgDistribution Of Public Results - Clients: 12876 Results Range From 106 To 972 Queries Per Second10613516419322225128030933836739642545448351254157059962865768671574477380283186088991894797648121620

Based on OpenBenchmarking.org data, the selected test / test configuration (MariaDB mariadb-slap 11.5 - Clients: 128) has an average run-time of 14 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 BenchmarkClients: 128Run-Time1020304050Min: 5 / Avg: 13.29 / Max: 47

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 RunsClients: 128Deviation246810Min: 0 / Avg: 0.12 / 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.
 
PUNPCKLQDQ MOVDQU MOVDQA CVTSI2SD DIVSD SHUFPD CVTSD2SS MOVAPD ANDPD UCOMISD CVTTSD2SI ANDNPD CMPNLESD ADDSD ORPD COMISD SUBSD XORPD CVTSS2SD MOVD MULSD PSHUFD PSHUFLW PSRLDQ PUNPCKHQDQ
SSE 4.2 (SSE4_2)
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, alderlake, znver2, znver3).
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VEXTRACTF128 VZEROUPPER VINSERTF128 VBROADCASTSS
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VINSERTI128 VPERM2I128 VEXTRACTI128 VPBROADCASTQ VPERMQ VPBROADCASTD VPBROADCASTW VPBROADCASTB VPERMD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFMADD231SD VFMADD213SD VFNMADD132SD VFNMADD231SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 6 April 2024

This test profile binary relies on the shared libraries libssl.so.3, libcrypto.so.3, libz.so.1, libc.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)