Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 10/06/2011 07:04 PM, Michael Meeks wrote:
Hi Neil,

On Thu, 2011-10-06 at 13:45 -0300, Neil Leathers wrote:
In running through my build settings I was trying to decide which
value to use for --with-alloc=???.

        Wow - that's a blast from the past. Intel did some work to enable
tcmalloc to be used - one of those micro-optimisations that people hope
will make things faster and often do - but only linearly.

Currently it defaults to "internal" perhaps this should be changed to
default to "system". If there is a good reason why "internal" is
better then it should be documented on the wiki page. Or the trade
offs and recommendations should be documented on the wiki.

        Right - so, we should do some performance tests of characteristic
documents with the internal vs. system allocator. AFAIR the system
allocator is rather good on Linux, and terrible on Windows ;-) so
possibly we should have a platform-dependent default.

The main reason, IIRC, for inventing the internal malloc replacement was that it sometimes happens that OOo needs large amounts of heap for a rather short time (while loading calc documents, I think), and traditional malloc implementations never give pages that have become free again back to the OS. No idea whether that is still a realistic issue today, though.

-Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.