[Python-Dev] Have a big machine and spare time? Here's a possible Python bug. (original) (raw)
Inada Naoki songofacandy at gmail.com
Thu May 23 08:42:38 EDT 2019
- Previous message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Next message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- perf shows 95% of CPU time is eaten by _PyObject_Free, not kernel space.
- 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>
- Previous message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Next message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]