[MDEV-10409] OLTP performance drop 10.0.22 - 10.0.26 Created: 2016-07-20 Updated: 2017-07-19 Resolved: 2017-07-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - XtraDB |
| Affects Version/s: | 10.0.24, 10.1.12, 10.2.0 |
| Fix Version/s: | 10.1.24, 10.0.31 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nirbhay Choubey (Inactive) | Assignee: | Axel Schwenke |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SUSE, performance | ||
| Attachments: |
|
| Sprint: | 10.0.28, 5.5.55, 10.0.30 |
| Description |
|
Sysbench OLTP test shows a performance drop of about 2.16% between System
Build command
TPS of 3-runs:
Detailed sysbench output:
|
| Comments |
| Comment by Axel Schwenke [ 2016-09-27 ] | |||||||||||||||||||||||||
|
I reproduced the same slight regression from MariaDB 10.0.22 to 10.0.26. I also took 10.0.25 into the loop and our latest release 10.0.27. Peak performance is very much the same for all 4. However 10.0.27 has greatly improved performance at low thread counts. This wears off at higher thread numbers though. Numbers are transactions per second (bigger = better):
| |||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2016-10-08 ] | |||||||||||||||||||||||||
|
I was now able to reproduce the reported regression. In order to trigger the behavior one needs:
example command line for sysbench 0.4.x:
Numbers for a 16-core machine:
The behavior is caused by a new algorithm for determining the adaptive LRU flush rate, merged from upstream XtraDB. While this is an edge case - the active set of a database should fit into the buffer pool - the performance impact is too heavy to keep it like so. We will revert that change to XtraDB. | |||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2017-03-01 ] | |||||||||||||||||||||||||
|
Attached the bad commit from Percona. This should be reversed in the storage/xtradb subdir | |||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2017-07-19 ] | |||||||||||||||||||||||||
|
This issue needs retesting. It should now be fixed upstream and we would then have the fix merged. I added a test case to the benchmark regression suite. | |||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2017-07-19 ] | |||||||||||||||||||||||||
|
This issue has been fixed by merging the upstream (Percona XtraDB) bugfix. The regression was fixed in MariaDB 10.1.24 and MariaDB 10.0.31. Affected versions:
MariaDB 5.5 was never affected. MariaDB 10.2 is also not affected as it is using InnoDB as default InnoDB implementation. |