Fwd: OpenJDK ARM build not using all the CPU cores

Mani Sarkar sadhak001 at gmail.com
Wed Apr 19 07:44:11 UTC 2017


+adoption-discuss at openjdk.java.net <adoption-discuss at openjdk.java.net> to
the discussion

---------- Forwarded message ---------
From: Mani Sarkar <sadhak001 at gmail.com>
Date: Wed, 19 Apr 2017 at 08:42
Subject: OpenJDK ARM build not using all the CPU cores
To: build-dev at openjdk.java.net <build-dev at openjdk.java.net>,
build-infra-dev at openjdk.java.net <build-infra-dev at openjdk.java.net>


Hi all,

Whilst build OpenJDK (latest version from
http://hg.openjdk.java.net/jdk8u/jdk8u/), we have noticed, that the build
system does not make use of all the CPU cores available on the machine even
though it detects them all.

(see snippets from the build log below)

Detects *4 cores*

checking for number of cores... 4


But scales down to *1 core* only

Build performance summary:
* Cores to use:   1
* Memory limit:   2021 MB
* ccache status:  installed and in use


We have use the --with-num-cores flag with configure but to no avail.

Has anyone else has noticed this, is this a known issue or expected
behaviour or any config that needs applying in order for this to make use
of all the cores.

Let me know if you need to see other aspects of the build log.

Thanks.

Cheers,
Mani
-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com/>**  |  *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2017:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*
-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com/>**  |  *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2017:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*



More information about the build-dev mailing list