Bug #115399 | performance deterioration caused by incorrect cpu usage statistics | ||
---|---|---|---|
Submitted: | 21 Jun 2024 3:40 | Modified: | 30 Oct 2024 1:35 |
Reporter: | yuanyue Zheng | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S5 (Performance) |
Version: | 8.x, 8.0.37, 8.4.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Jun 2024 3:40]
yuanyue Zheng
[24 Jun 2024 14:09]
MySQL Verification Team
Hello yuanyue Zheng, Thank you for the report and feedback. regards, umesh
[25 Jun 2024 10:05]
Magnus BlÄudd
In sched.h there is a CPU_COUNT() macro, might be better to use that if it's portable.
[5 Sep 2024 8:36]
Jakub Lopuszanski
Posted by developer: Shouldn't we rather use CPU_SETSIZE ? https://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html
[30 Oct 2024 1:35]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Server 8.0.41, 8.4.4, and 9.2.0 releases, and here's the proposed changelog entry from the documentation team: CPU usage statistics did not account for a processor count over 128, which could degrade performance on these larger systems. Thank you for the bug report.