[MDEV-7200] OLTP RO 2% performance degradation in 10.0.15 Created: 2014-11-25 Updated: 2015-02-11 Resolved: 2015-02-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - XtraDB |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergey Vojtovich |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I can see 2% performance drop in 10.0.15 compared to 10.0.14. This seem to be caused mainly by this revision:
At least reverting it helps. Tracking it further down I can see that this regression comes from upstream revision:
Specifically think hunk:
|
| Comments |
| Comment by Sergey Vojtovich [ 2014-11-25 ] | ||||||
|
Jan, please check what we can do about it. | ||||||
| Comment by Jan Lindström (Inactive) [ 2014-11-25 ] | ||||||
|
Interesting, is that hunk the reason for slowdown really, removing something makes it slower ? That we can fix. | ||||||
| Comment by Sergey Vojtovich [ 2014-11-25 ] | ||||||
|
With this hunk:
If I revert just this hunk:
| ||||||
| Comment by Jan Lindström (Inactive) [ 2014-11-25 ] | ||||||
|
If there is not a big regression for read-write performance, you have my permission to add those lines back. | ||||||
| Comment by Sergey Vojtovich [ 2014-11-26 ] | ||||||
|
Reverting just this hunk will most probably make DML statements to wake waiters twice. Not sure if that'll affect performance, but it sounds excessive at least. Questions to answer are:
| ||||||
| Comment by Jan Lindström (Inactive) [ 2014-11-26 ] | ||||||
|
Read only workload is not that important compared to read-write workloads. You may change that but please test read-write performance also. | ||||||
| Comment by Sergey Vojtovich [ 2015-02-11 ] | ||||||
|
Couldn't reproduce it again. The only notable change I can think of is that Advance Toolchain was upgraded on the build host. Couldn't find this problem by code analysis either. Last run numbers:
|