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

2019年5月23日 02:52:20 -0700

I have only 32GB mem, but AWS has larger memory machine!
Linux perf shows here is bottleneck:
https://github.com/python/cpython/blob/master/Objects/obmalloc.c#L1784-L1819 
obmalloc sorts arenas by number of free pools.
If there are many arenas, and memory block is freed by random order,
this sorting become O(N^2). That's too bad.
I'm trying address order instead.
Regards,
-- 
Inada Naoki <[email protected]>
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to