Bug #2089789 “malloc performance degradation with CPU affinity m...” : Bugs : glibc package : Ubuntu
[Impact]
* Jammy has a malloc() performance degradation
if CPU affinity masks are used (not default).
* The maximum number of arenas for malloc() is
calculated based on the number of processors.
However, glibc 2.34 changed that to be based
on sched_getaffinity(), which is the number
of processors available _to the process_
(i.e., based on CPU affinity masks). [0]
Previously, glibc 2.33 instead used the
of processors available _in the system_
(i.e., based on sy...
Launchpad