[MDEV-6677] Improve single-threaded performance by reducing code footprint and thereby reducing icache misses Created: 2014-09-01 Updated: 2014-10-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | performance | ||
| Description |
|
I wrote about this in January: http://kristiannielsen.livejournal.com/17676.html When profiling simple queries, we see that icache misses is a major The problem is partly just executing too many instructions during a simple Looking at some random function like make_join_statistics(), it seems we have The idea is to split our code into a "fast" path and a "slow" path. The parser This way, we should be able to eliminate a lot of executed instructions for |