[Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
Inada Naoki
songofacandy at gmail.com
Thu May 23 08:42:38 EDT 2019
1. perf shows 95% of CPU time is eaten by _PyObject_Free, not kernel space.
2. This loop is cleary hot:
https://github.com/python/cpython/blob/51aa35e9e17eef60d04add9619fe2a7eb938358c/Objects/obmalloc.c#L1816-L1819
I can attach the process by gdb and I confirmed many arenas have
same nfreepools.
I believe this is not jitter caused from NUMA or something else in cloud.
--
Inada Naoki <songofacandy at gmail.com>
More information about the Python-Dev
mailing list