Merge "Add MariaDB performance report"

This commit is contained in:
Jenkins 2016-04-12 16:03:37 +00:00 committed by Gerrit Code Review
commit edaddf9f38
9 changed files with 453 additions and 6 deletions

View File

@ -0,0 +1,13 @@
.. raw:: pdf
PageBreak oneColumn
===============================
SQL Database performance report
===============================
.. toctree::
:maxdepth: 3
mysql/index
mariadb/index

View File

@ -0,0 +1,41 @@
.. raw:: pdf
PageBreak oneColumn
===================================
MariaDB Database performance report
===================================
Environment description
^^^^^^^^^^^^^^^^^^^^^^^
This report is generated for :ref:`db_performance` test plan with
`Sysbench`_ tool. The data is collected in
:ref:`intel_mirantis_performance_lab`.
Software
~~~~~~~~
+-----------------+--------------------------------------------+
| Parameter | Value |
+-----------------+--------------------------------------------+
| OS | Ubuntu 14.04.3 |
+-----------------+--------------------------------------------+
| DB | MariaDB |
+-----------------+--------------------------------------------+
| HA | Galera |
+-----------------+--------------------------------------------+
Reports
^^^^^^^
.. toctree::
:maxdepth: 2
mariadb-galera-direct/index
.. references:
.. _Sysbench: https://github.com/akopytov/sysbench

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -0,0 +1,170 @@
MariaDB + Galera performance report
-----------------------------------
This scenario is executed with `Sysbench`_ tool. There is one instance of
tool per tester node, each running in N threads. The tool is configured
to point to one of DB nodes in Galera cluster directly.
.. image:: topology.*
Throughput
^^^^^^^^^^
The following chart shows the number of queries, read queries and transactions
depending on total thread count.
.. image:: throughput.*
.. list-table:: Throughput
:header-rows: 1
*
- threads
- queries per sec
- read queries per sec
- transactions per sec
*
- 20
- 76531.6
- 51021.1
- 3644.3
*
- 40
- 115498.7
- 76999.3
- 5499.9
*
- 60
- 119388.4
- 79592.3
- 5685.1
*
- 80
- 119065.8
- 79377.4
- 5669.7
*
- 120
- 123311.9
- 82208.2
- 5871.9
*
- 160
- 103132.3
- 68755.2
- 4910.9
*
- 200
- 93633.2
- 62422.7
- 4458.5
Throughput and server CPU consumption
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The following chart shows how DB server CPU consumption depends on number
of concurrent threads and throughput.
.. image:: cpu_consumption.*
.. list-table:: CPU consumption
:header-rows: 1
*
- threads
- queries per sec
- CPU, %
*
- 20
- 76531.6
- 660.5
*
- 40
- 115498.7
- 1170.9
*
- 60
- 119388.4
- 1555.3
*
- 80
- 119065.8
- 1775.3
*
- 120
- 123311.9
- 1959.7
*
- 160
- 103132.3
- 2128.0
*
- 200
- 93633.2
- 2170.7
Operation latency
^^^^^^^^^^^^^^^^^
The following chart shows how operation latency depends on number of
concurrent threads.
.. image:: latency.*
.. list-table:: Latency
:header-rows: 1
*
- threads
- min latency, ms
- avg latency, ms
- max latency, ms
*
- 20
- 3.3
- 5.5
- 148.4
*
- 40
- 3.3
- 7.3
- 182.4
*
- 60
- 3.5
- 10.6
- 349.2
*
- 80
- 3.7
- 14.1
- 212.5
*
- 120
- 4.0
- 20.6
- 312.5
*
- 160
- 4.4
- 32.7
- 284.3
*
- 200
- 3.9
- 45.1
- 942.5
.. references:
.. _Sysbench: https://github.com/akopytov/sysbench

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="580"
height="350"
viewBox="0 0 580.00001 350"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="topology.svg">
<defs
id="defs4">
<marker
inkscape:isstock="true"
style="overflow:visible"
id="marker5392"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Mend">
<path
inkscape:connector-curvature="0"
transform="matrix(-0.4,0,0,-0.4,-4,0)"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
id="path5394" />
</marker>
<marker
inkscape:isstock="true"
style="overflow:visible"
id="marker4607"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Mend">
<path
transform="matrix(-0.4,0,0,-0.4,-4,0)"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
id="path4609"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0"
refX="0"
id="Arrow1Lend"
style="overflow:visible"
inkscape:isstock="true">
<path
id="path4244"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
style="fill:#44aa00;fill-opacity:1;fill-rule:evenodd;stroke:#44aa00;stroke-width:1pt;stroke-opacity:1"
transform="matrix(-0.8,0,0,-0.8,-10,0)"
inkscape:connector-curvature="0" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="323.60285"
inkscape:cy="205.89558"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="752"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
units="px"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-71.73098,-42.362206)">
<rect
style="fill:#b3ff80;fill-opacity:0.59215686;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect4140"
width="115.15739"
height="78.286819"
x="112.12693"
y="91.202057" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.59143066px;line-height:125%;font-family:'Droid Serif';-inkscape-font-specification:'Droid Serif';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="126.16592"
y="139.84961"
id="text4142"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4144"
x="126.16592"
y="139.84961">Node-1</tspan></text>
<rect
y="91.202057"
x="304.05591"
height="78.286819"
width="115.15739"
id="rect4146"
style="fill:#b3ff80;fill-opacity:0.59215686;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text4148"
y="139.84961"
x="318.09491"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.59143066px;line-height:125%;font-family:'Droid Serif';-inkscape-font-specification:'Droid Serif';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="139.84961"
x="318.09491"
id="tspan4150"
sodipodi:role="line">Node-2</tspan></text>
<rect
y="91.202057"
x="495.98492"
height="78.286819"
width="115.15739"
id="rect4152"
style="fill:#b3ff80;fill-opacity:0.59215686;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text4154"
y="139.84961"
x="510.02386"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.59143066px;line-height:125%;font-family:'Droid Serif';-inkscape-font-specification:'Droid Serif';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="139.84961"
x="510.02386"
id="tspan4156"
sodipodi:role="line">Node-3</tspan></text>
<rect
y="278.95343"
x="280.25034"
height="77.794151"
width="157.09094"
id="rect4158"
style="fill:none;fill-opacity:0.59215686;stroke:#000000;stroke-width:3.49285102;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text4160"
y="325.35477"
x="302.04288"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.59143066px;line-height:125%;font-family:'Droid Serif';-inkscape-font-specification:'Droid Serif';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="325.35477"
x="302.04288"
id="tspan4162"
sodipodi:role="line">sysbench</tspan></text>
<rect
style="fill:none;fill-opacity:0.59215686;stroke:#808080;stroke-width:1.99999976;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.32704408"
id="rect4225"
width="578"
height="348"
x="72.73098"
y="43.362206" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 227.14286,120.07649 76.42857,0"
id="path4591"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path4593"
d="m 227.14286,140.07649 76.42857,0"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path4595"
d="m 419.14286,120.07649 76.42857,0"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 419.14286,140.07649 76.42857,0"
id="path4597"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path5390"
d="m 359.89706,278.74779 1.01015,-104.04571"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker5392)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -2,9 +2,9 @@
PageBreak oneColumn
===============================
SQL Database performance report
===============================
=================================
MySQL Database performance report
=================================
Environment description
^^^^^^^^^^^^^^^^^^^^^^^
@ -37,8 +37,6 @@ Reports
mysql-galera-direct/index
mysql-galera-haproxy/index
.. references:
.. _Sysbench: https://github.com/akopytov/sysbench

View File

@ -12,7 +12,7 @@ Test Results
mq/rabbitmq/index
mq_ha/index
container_repositories/index
db/mysql/index
db/index
keystone/index
container_platforms/index