[Harbour] 2008-10-05 17:53 UTC+0200 Przemyslaw
Czerpak(druzus/at/priv.onet.pl)
Szakáts Viktor
harbour.01 at syenar.hu
Sun Oct 5 15:18:12 EDT 2008
>
Hi Przemek,
> But the cost of memory allocations is very big. To improve scalability
> here memory manager optimized for MT mode is necessary. It's not
> directly
> related to Harbour though we can add some workarounds to reduce the
> overhead
> in Harbour layer. But rather not now. In real applications it should
> not
> cause such big problem because threads will make also other things
> not only
> allocate and free memory in a loop :-)
If we can do something on the Harbour level even better,
but the latest dlmalloc version seems to give very good
results. Since it's unreleased I don't know how safe it
is to include it though. We should also explore how to
avoid the slowdown in ST mode.
You can find the file here:
http://www.syenar.hu/harbour/dlmalloc-284.zip
Brgds,
Viktor
More information about the Harbour
mailing list