Bug 29296 - tpcc-mysql scores decreased by about 11.2% at glibc-2.36
Summary: tpcc-mysql scores decreased by about 11.2% at glibc-2.36
Status: RESOLVED DUPLICATE of bug 30945
Alias: None
Product: glibc
Classification: Unclassified
Component: malloc (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 06:45 UTC by yangyanchao6@huawei.com
Modified: 2023-10-12 02:31 UTC (History)
6 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yangyanchao6@huawei.com 2022-06-29 06:45:26 UTC
At Kunpeng920 platform, tpcc-mysql scores decreased by about 11.2% between glibc-2.36 and glibc2.28 with mysql-8.0.20.
Comparing the code, I find that the two commits causes performance degradation.
11a02b035b46 (misc: Add __get_nprocs_sched)
97ba273b5057 (linux: __get_nprocs_sched: do not feed CPU_COUNT_S with
garbage [BZ #28850])
These two patches modify the default behavior. 

Another message is that my machine is 96 cores and I have 91 core bindings for tpcc-mysql.
This means that perhaps the current approach to computing arenas is not optimal in the case of core binding.
Comment 1 Adhemerval Zanella 2023-10-11 16:11:16 UTC
BZ#30945 show the same issue, along with a testcase.

*** This bug has been marked as a duplicate of bug 30945 ***