[MDEV-7941] Micro optimizations Created: 2015-04-09 Updated: 2021-03-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | None |
| Type: | Epic | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | None | ||
| Epic Name: | Performance: micro optimizations |
| Description |
|
In MariaDB there seem to be no major (>5%) bottlenecks for CPU bound workloads. However there's a whole bunch of more or less easily fixable minor things that waste inexcusable amount of time. Among those:
See linked issues for details. |
| Comments |
| Comment by Sergey Vojtovich [ 2015-06-17 ] | |||||||||||||||
|
Since it was agreed to keep performance schema intact, further analysis will be done with performance schema compiled out. | |||||||||||||||
| Comment by Marko Mäkelä [ 2020-12-17 ] | |||||||||||||||
|
I suspect that the various inline_mysql_ functions in include/mysql/psi/mysql_thread.h can lead to serious code bloat when the performance schema is compiled in. I partially worked around those in
Duplicating complex inline functions not only makes the executable bigger (and thus makes instruction cache misses more likely) as was the case in |