This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-21. For the latest, interactive version please visit https://mariadb.com/kb/.

DBT3 Benchmark Results InnoDB

Introduction

This page shows the results for benchmarking the following configuration:

  • MariaDB 5.3.1 Beta + XtraDB with all optimizations (optimizater_switch) set to ON
  • MariaDB 5.3.1 Beta + XtraDB with Igor's suggested optimizations
  • MySQL 5.5.13 + InnoDB
  • MySQL 5.6.2 + InnoDB

The test is performed using the automation script under /mariadb-tools/dbt3_benchmark.

Details about this automation script could be found in DBT3 automation scripts

Hardware

The tests were performed on pitbull.askmonty.org. It has the following parameters:

  • CPU: Two socket X hexacore Intel Xeon X5660 = 12 CPUs with hyperthreading on: 24 virtual CPUs
  • Memory: 23GB
  • Logical disk: HDD 500.1 GB as software RAID1
    • device size with M = 1000*1000: 500107 MBytes (500 GB)
    • cache/buffer size = 16384 KBytes
    • Nominal Media Rotation Rate: 7200
  • Operating System: Ubuntu 10.10 (x86_64)

Scale factor 10

This test is performed with the following parameters:

  • Scale factor: 10
  • Query timeout: 600 sec.
  • Cluster size: 3
  • Total DB size on disk: about 24GB

Steps to reproduce

Follow the instructions in DBT3 automation scripts to prepare the environment for the test.

Before you run the test, reassure that the settings into the test configuration files match your prepared environment. For more details on the test configuration, please, refer to the test configuration parameters.

For that test you should set the SCALE_FACTOR parameter to 10 for the following files before the test:

  • mariadb_innodb_igor_s1.pm
  • mariadb_innodb_s1.pm
  • mysql_5_5_15_innodb_s1.pm
  • mysql_5_6_2_innodb_s1.pm

NOTE: In future versions the scale factor will be passed in as an input parameter to launcher.pl instead of being test configuration parameter.

After the environment is prepared, the following command should be executed in the shell:

perl launcher.pl --test={PROJECT_HOME}/mariadb-tools/dbt3_benchmark/tests/mariadb_myisam_s1.pm \
 --test={PROJECT_HOME}/mariadb-tools/dbt3_benchmark/tests/mysql_5_5_15_myisam_s1.pm \
 --test={PROJECT_HOME}/mariadb-tools/dbt3_benchmark/tests/mysql_5_6_2_myisam_s1.pm
 --results-output-dir=path/to/results/output/dir

Results

Here is the graphics of the results:

innodb-test-scale-10-timeout-600

NOTE: Queries that are cut off by the graphics have timed out the period of 600 seconds for that test.

Here are the actual results:

Configuration1.sql2.sql3.sql4.sql5.sql6.sql7.sql8.sql9.sql10.sql11.sql12.sql13.sql14.sql15.sql16.sql17.sql18.sql19.sql20.sql21.sql22.sql
MariaDB 5.3.1 + XtraDB with all optimizations to ON165n/a424.333n/an/a114.333n/an/an/an/a536173n/an/an/a52452n/an/an/an/a8
MariaDB 5.3.1 + XtraDB with Igor's suggestions for optimization163.667n/an/an/an/a114n/an/an/an/a538280.667n/a257n/a60456n/an/an/an/a8
MySQL 5.5.15 + InnoDB104n/an/an/an/a103n/an/an/an/a534.667177n/an/an/an/a476n/an/an/an/a6
MySQL 5.6.2 + InnoDB103n/an/an/an/a104n/an/an/an/a531168n/an/an/a55460.667n/an/an/an/a6

The archived folder with all the results and details for that benchmark can be downloaded from: http://askmonty.org/wiki/Image:Res_myisam_timeout_120_s10_2011-09-15_190613.zip

Comments

From the graphics we can see that for the first query MySQL has performed better than MariaDB with about 37%.

For the third query on the other hand MariaDB with all optimizations set to ON is the only one query that returned results before the timeout exceeded. This means that it has at least 30% better performance. Also there is some option that could optimize Igor's set of settings even more for that query. For the particular numbers, the same test should be performed with longer timeouts.

For query #6 it turns out that both MySQL 5.5.15 and 5.6.2 are faster than MariaDB with about 10%.

For query #12 Igor's settings could be readjusted, so that the query execution time could fall with 38%.

Igor's settings turned out to be the only one that could finish query #14 before the timeout exceeded.

From query #16 we can see that MySQL have made a great performance improvement from version 5.5.15 to 5.6.2 to make the query finish at least ten times faster.

For all the other queries the results are either statistically the same, or the queries have timed out for all configurations and the test should be repeated with longer timeout limit.

Summary

Most of the queries have timed out for the given period of 10 minutes per query and until a new test with longer timeout is performed, no correct comparison summary could be made.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.