Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [openj9-dev] Performance questions for low-latency app

I will address a couple of your questions (others may have to chime in for other questions) :

1) Try the option -Xtune:virtualized along with a larger shared classes cache via the option -Xscmx<size>
-Xtune:virtualized enables more aggressive AOT code generation/usage and so could help reduce the JIT compilation overhead impact on latency.

4) In general, OpenJ9 out-of-the-box heuristics are pretty good at selecting the right hotness levels for different methods.
Can you please elaborate on the reasons you wanted to try a fixed opt level ? Doing so does have some other side effects such as disabling JIT profiling since recompilation is off.

Maybe generate verbose GC (via -verbose:gc) and verbose JIT log (via adding "verbose={compilePerformance},vlog=<your file location>" to your existing -Xjit command line) and if you can share those log files, then we may have more suggestions.


Vijay Sundaresan
STSM, WAS and Runtimes Performance Architect
IBM Toronto Lab
Email : vijaysun@xxxxxxxxxx
Phone : 905 413 3797 Fax : 905 413 4854

Inactive hide details for openj9-dev-request---06/20/2018 12:04:05 PM---Send openj9-dev mailing list submissions to  openj9-devopenj9-dev-request---06/20/2018 12:04:05 PM---Send openj9-dev mailing list submissions to openj9-dev@xxxxxxxxxxx

From: openj9-dev-request@xxxxxxxxxxx
To: openj9-dev@xxxxxxxxxxx
Date: 06/20/2018 12:04 PM
Subject: openj9-dev Digest, Vol 10, Issue 1
Sent by: openj9-dev-bounces@xxxxxxxxxxx

Send openj9-dev mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of openj9-dev digest..."

Today's Topics:

  1. Performance questions for low-latency app (akrus)


Message: 1
Date: Wed, 20 Jun 2018 11:08:26 +0300
From: akrus <akrus@xxxxxxxxxxx>
To: openj9 developer discussions <openj9-dev@xxxxxxxxxxx>
Subject: [openj9-dev] Performance questions for low-latency app
Content-Type: text/plain; charset="UTF-8"

Hello everyone!

I was able to switch one of our app instances to OpenJ9 finally and it
works good so far. It was running on Azul Zing before, so I can compare
what we have now and what we had before.

There are couple of questions:
1) I have the following flags set so far: -Xmx200g
-Xshareclasses:name=myapp -Xgcpolicy:metronome -Xgc:targetPauseTime=1
Are there any other flags to consider for low-latency app?

2) I've tried enabling hugepages support for Java heap, but it was
complaining that such amount of memory is unavailable (which is not
true). I suppose that this can happen because hugepages were enabled on
a working system so it's advised in docs somewhere to reboot the
machine to fix this. Is anyone using hugepages for heap? Is there any
performance comparison for OpenJ9 with hugepages and without?

3) there is CUDA support available. Although we have no nVidia cards on
the servers, is it worth adding one? Is there any performance
comparison for this as well?

4) I've tried switching JIT optLevel to scorching and this is consuming
too much CPU. Is it worth changing default JIT level to any other?

5) I can see that Java memory usage never exceeds 50% of Xmx value, is
it supposed to be like that? Is there any flag to change this?

6) OpenJ9 supports RDMA, but there is no
configuration example I found. As I can see this was tested with
Mellanox cards, did anyone test Mellanox VMA?

7) comparing with Zing again, I can see that some app threads are
sometimes 'hanging' for ~20-40 msec and this happens quite frequently.
While the server is quite loaded and this can be normal behaviour, with
Zing it's happening much less frequently, but pauses are more

8) are there support options available (IBM?)?

Sorry for such a bunch of questions, but this mailing list is the only
place to find out the answers :)



openj9-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

End of openj9-dev Digest, Vol 10, Issue 1

Back to the top