zero build slow

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Nov 22 15:40:24 UTC 2017


Hi Thomas!

On 11/22/2017 04:29 PM, Thomas Stüfe wrote:
> when building zero on Linux x64, I notice that the build is extremely slow,
> due to what I assume is jmod ran from the built image, which would only
> run interpreted? Is my guess true, and if yes, is it possible to use a
> different jmod? I assume it is not possible to use jmod from the build jdk?

Some questions:

- What hardware are you building on?
- What configure options are you using for building?
- Which distribution is this on?

For reference, my setup:

- Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz, 16 GB RAM
- Debian unstable
- sh ./configure --with-jvm-variants=zero --with-boot-jdk=/usr/lib/jvm/java-9-openjdk-amd64/ \
   --disable-precompiled-headers --disable-warnings-as-errors && make JOBS=32 MAKE_VERBOSE=y \
     QUIETLY= LOG=debug CONF=linux-x86_64-normal-zero-release

This builds Zero within 5 minutes, building the Server variant takes about
the same time. On an AMD Threadripper 1950X, the build takes only about
2 minutes for both variants.

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list