codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Have a big machine and spare time? Here's a possible Python bug.


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>