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


On 05/07/2013 11:33 AM, Noel Grandin wrote:
On 2013-05-07 10:59, Michael Stahl wrote:
On 07/05/13 10:52, Noel Grandin wrote:
Any build experts feel like speeding up "make check".
I will definitely owe you a beverage of your choice :-)

The "subsequentcheck" part of "make check" spends most of it's life
executing one test at a time,
huh, really?  it's clearly running very much in parallel here.

what does "grep PARALLELISM config_host.mk" say?

cd ..apparently there are 2 variables, one is CHECK_PARALLELISM and
both have
the same value here.


[noel@hexrex libo]$ grep PARALLELISM config_host.mk
export CHECK_PARALLELISM?=6
export PARALLELISM?=6

Yes, it currently runs somewhat in parallel.
But if you use top or a system monitor during the "subsequenctcheck"
phase, you will note that there is very little system activity going on.
This is because the only kind of parallelism it currently has is that it
runs modules in parallel.
Since (a) the bulk of the tests are in very few modules and (b) the
tests are quite lightweight, it leads to very low system utilization.

In my experience, the long subsequentcheck phase is due to the JunitTest_*_{complex,unoapi} tests, that just take very long to execute (including various sleeps, see the qadevOOo code). While CPU utilization is low, memory consumption is high due to the many (sleepy) soffice.bin and java processes running in parallel.

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.