[MDEV-24140] connect performance regression Created: 2020-11-05 Updated: 2020-11-05 Resolved: 2020-11-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.1.47, 10.1.48, 10.2.34, 10.2.35, 10.3.25, 10.3.26, 10.4.15, 10.4.16, 10.5.6, 10.5.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Axel Schwenke | Assignee: | Axel Schwenke |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | regression | ||
| Description |
|
The performance regression test suite shows a significant reduction of the number of connect; SELECT 1; disconnect; cycles that the server allows. It affects the last two releases in the 10.1 .. 10.5 branches. This table shows the last 4 releases (2 good, 2 bad).
|
| Comments |
| Comment by Axel Schwenke [ 2020-11-05 ] | ||||||||||||||||||||||||||||||
|
OK. This regression is bogus. It is not a change in the Server code, but a change in the test system. I have rerun the test for latest good release in each branch. Below the old result is flagged ".bak" and the one without ".bak" is from the second run.
The test machine was rebooted between the "good" and "bad" results. It also had it's RAM replaced (hardware defect). Very possibly it booted with a newer kernel. It is now running 4.15.0-112-generic. The previous kernel was at most 4.15.0-51-generic, possibly the much older 4.4.0-145-generic. The observed regression is more prominent for test cases that do more context switches (point select on MEMORY tables, connect). The new kernel probably contains more mitigations for not-so-recent vulnerabilities in Intel CPUs (Spectre, Meltdown etc.) that make context switches more expensive. | ||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2020-11-05 ] | ||||||||||||||||||||||||||||||
|
I now also reran the point-select testcase on MEMORY tables. I see again slower results for the last "good" release in the current environment. Or in other works: this regression is again caused by changes in the test system, not the tested code.
| ||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2020-11-05 ] | ||||||||||||||||||||||||||||||
|
regression was caused by changes in the test environment (new Linux kernel) |