Fwd: OpenJDK-8: Crypto performance is very slow on ARMv7
Srinivasa Rao Ragolu
sragolu at mvista.com
Wed Feb 1 12:51:08 UTC 2017
Hi meta-java maintainers,
It has been observed that current highest version of yocto openjdk-8
recipes are using old tarballs, which does not have jit compiler support
for armv7. Also observed openjdk-8 is building zero vm instead of jit
compiler mode, to avoid build errors (*PACKAGECONFIG_append_arm = "zero"*)
Due to zero vm mode, openjdk-8 performance is very slow when performing
cryptographic operations.
I request you to update source tarball changeset values to latest and also
requesting to pull sources for aarch32-port instead of jdk8u
OPENJDK_HG_URL_arm = "http://hg.openjdk.java.net/aa
rch32-port/${OPENJDK_HG_U}"
This is would be really great to have arm specific, jit compiler mode
vm for openjdk-8 in performance-oriented environment setups.
Thanks in advance,
Srinivas.
---------- Forwarded message ----------
From: Alex Kashchenko <akashche at redhat.com>
Date: Tue, Jan 31, 2017 at 6:27 PM
Subject: Re: OpenJDK-8: Crypto performance is very slow on ARMv7
To: Srinivasa Rao Ragolu <sragolu at mvista.com>
Cc: aarch32-port-dev at openjdk.java.net
Hi Srinivas,
On 01/31/2017 12:42 PM, Srinivasa Rao Ragolu wrote:
> Hi Andrew,
>
> I got below compilation errors when I comment (PACKAGECONFIG_append_arm = "
> zero" )
> I am using 15 months ago source code ie: hotspot
> --> d7b01fb81aa8(changeset). I hope it has jit compiler support.
>
No, it does not, JIT code was integrated into aarch32 about half a year
ago. I can suggest using a latest revision from aarch32-port/jdk8u
repositories.
And I am
> building from aarch32-port.
>
> Errors:
>
> [...]
>
>
> How to resolve this issue? Please provide your inputs.
>
It looks like you are cross-compiling it, I can suggest doing a native
build first. If native build is not possible - then to do a successful
cross-build of Zero from jdk8u/jdk8u without a third-party wrappers (like
yocto) first, then non-Zero cross-build of aarch32-port/jdk8u (also without
a wrapper) and after success with that - to apply required changes back to
wrapper project.
> Thanks,
> Srinivas.
>
> On Mon, Jan 30, 2017 at 4:34 PM, Andrew Haley <aph at redhat.com> wrote:
>
> On 30/01/17 10:48, Srinivasa Rao Ragolu wrote:
>>
>>> Any clue on, how to proceed further?
>>>
>>
>> Download the latest source code. Try to build it. Tell us what the build
>> errors are.
>>
>> Andrew.
>>
>>
>>
--
-Alex
More information about the aarch32-port-dev
mailing list