[Bug 49113] Wine heap performs badly when multiple threads are concurrently allocating or freeing memory

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 8 04:29:25 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49113

--- Comment #12 from Rémi Bernon <rbernon at codeweavers.com> ---
Well then from the fix it looks like they were doing a lot of very small
allocations, as most application do -- in my recording there's 100 to 1000
times more allocations for each size below 128 than above (with a few
exceptions for sizes around 256 and a some others). This is why free list
distribution matters.

There's also another issue I believe with the default heap is that it causes a
lot memory fragmentation -- which may very well be the issue for these apps as
well, fragmentation will also fill the freelists with useless blocks. The low
fragmentation implementation design is also supposed to cover that.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list