Bug #99412 | Threads_running becomes scalability bottleneck on multi-node NUMA topologies | ||
---|---|---|---|
Submitted: | 30 Apr 2020 13:24 | Modified: | 6 May 2020 6:29 |
Reporter: | Sergey Glushchenko | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S5 (Performance) |
Version: | 8.0.19 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[30 Apr 2020 13:24]
Sergey Glushchenko
[30 Apr 2020 13:32]
Sergey Glushchenko
Attached patch removes global atomic_num_thread_running variable. Instead, the number of running threads is counted when p_s.global_status is populated. It brings behavior change. Now session status for threads_running is always 1.
[4 May 2020 12:50]
MySQL Verification Team
Hello Mr. Glushchenko, Thank you for your performance improvement report. I have analysed your patch and it is my opinion that it makes lots of sense. Verified as reported. Thank you, so much, for your contribution.
[6 May 2020 6:29]
Sergey Glushchenko
cleaner version of the patch
Attachment: bug99412.patch (application/octet-stream, text), 8.10 KiB.
[6 May 2020 6:29]
Sergey Glushchenko
Thank you very much Sinisa! I've attached cleaner version of the patch against MySQL 8.0.20
[6 May 2020 12:44]
MySQL Verification Team
Thank you Mr. Glushchenko !!!!