[MDEV-25387] Test impacts of 10.6 structure changes Created: 2021-04-12 Updated: 2023-03-09 Resolved: 2023-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Axel Schwenke |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
monty has done some large changes on structures in https://github.com/MariaDB/server/compare/bb-10.6-monty Changes to improve the size of structures (https://github.com/MariaDB/server/commit/5907630b2b1e5a5dbff5201a9666ec56945af5a8) may have some unintended consequences. While the thread local size pools is limited, saving 3% of those shouldn't cost performance by breaking the impacts of cache locality. The code improvements to improve the initialization are less likely to have problems and for the most part seems to be improving initialization by facilitating reduction not broken by function calls. Changes to structures however can have impacts:
An impact is possible to occur as such:
Recommend for testing:
While these structures are hardy ideal in their current structure, they do have some common aspects like foreign keys, parsing, locking bits co-located (by virtue of coder readability more than intentional effects). By performance measuring the L1 cache misses we'll see if this is resulting in a regression, and if other aspects of cache locality can be improved. I sincerely hope getting the minimal set of changes here is easy. |