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


Hey,

so we have been running our in-build performance tests now for a few weeks
and recently discovered that our internal memory allocator is causing
spikes in the runtime. It became even worse during the weekend with the
tests taking 200 times the instructions. Most of it seems to be spend in
our memory handling code and not really in the actual code. (see for
example
http://perf.libreoffice.org/perf_html/ftest_of_cppu_sc_on_vm139.details.html
with the annotated callgrind ouput at http://pastebin.com/ELC64s1n).
We had a profile that showed the issue inside of the memory allocator much
better but I have to find it again.

Is the internal memory allocator really still useful despite showing
sometimes really bad behavior? Personally I would just fall back to the
system memory allocator except for the few cases where we know that it
makes a difference (small memory blocks in calc formula tokens, ...)

Regards,
Markus

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.