[Python-Dev] Windows Low Fragementation Heap yields speedup of ~15% (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 17 00:42:05 CET 2005


Gfeller Martin wrote:

Nevertheless, I tried to convert the heap used by Python to a Windows Low Fragmentation Heap (available on XP and 2003 Server). This improved the overall run time of a typical CPU-intensive report by about 15% (overall run time is in the 5 minutes range), with the same memory consumption.

I must admit that I'm surprised. I would have expected that most allocations in Python go through obmalloc, so the heap would only see "large" allocations.

It would be interesting to find out, in your application, why it is still an improvement to use the low-fragmentation heaps.

Regards, Martin



More information about the Python-Dev mailing list