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

8 Minutes, 37 Seconds

Average Run Time

9 Minutes, 30 Seconds

Test Dependencies

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

Accolades

80k+ Downloads + Recently Updated Test Profile

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsMariaDB mariadb-slap Popularity Statisticspts/mysqlslap2018.072018.092018.112019.012019.032019.052019.072019.092019.112020.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.037K14K21K28K35K
* 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 25 March 2024.
6410.9%25613.4%409612.3%51215.7%12812.8%819211.9%102411.4%204811.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 10.5.2

Clients: 128

OpenBenchmarking.org metrics for this test profile configuration based on 253 public results since 9 May 2020 with the latest data as of 7 September 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
Queries Per Second (Average)
79th
11
556 +/- 9
Mid-Tier
75th
< 553
58th
3
492 +/- 40
58th
5
491 +/- 25
53rd
6
471 +/- 15
Median
50th
465
48th
7
463 +/- 53
39th
6
438 +/- 41
Low-Tier
25th
< 358
OpenBenchmarking.orgDistribution Of Public Results - Clients: 128253 Results Range From 19 To 979 Queries Per Second195081112143174205236267298329360391422453484515546577608639670701732763794825856887918949980816243240

Based on OpenBenchmarking.org data, the selected test / test configuration (MariaDB 10.5.2 - Clients: 128) has an average run-time of 29 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-Time306090120150Min: 10 / Avg: 28.78 / Max: 182

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsClients: 128Deviation3691215Min: 0 / Avg: 0.36 / Max: 8

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: 18 March 2023

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)
IBM Z
s390x
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A55 4-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core