Thanks Martin for sharing the results with the community - That's a steep performance degradation. Open J9 is Apache licensed. Are other changes needed?
You hinted at uuid - do you know that's implicated or a guess? -r On Tue, Jan 28, 2020 at 8:05 AM Martin Henke <martin.he...@web.de> wrote: > Folks, > > as indicated, we performed performance tests of the OpenJDK upgrade PR > https://github.com/apache/openwhisk/pull/4706 > in our performance test environment (we are using the exact set of Gatling > tests that are contributed to Openwhisk). > > Though our first impressions looked good, we found severe degradations in > the latency and warm invocation tests afterwards. > > Latency tests dropped to around 50% of the JDK8 results, warm invocation > to a staggering 25%. > These results were stable with using the original and the updated Gatling > image and switching to parallelGC on OpenJDK11. > > Since GC does not seem to matter, the degradation might be caused by a > changed > implementation in the OpenJDK 11 (e.g. UUID generation). > We did not perform any deeper research. > > Next we tried to change to use the OpenJ9 JDK11 instead of OpenJDK. > Change in common/scala/Dockerfile: > " > -FROM adoptopenjdk/openjdk11:x86_64-alpine-jdk-11.0.3_7 > +FROM > adoptopenjdk/openjdk11-openj9:x86_64-alpine-jdk-11.0.5_10_openj9-0.17.0 > " > With OpenJ9 in default configuration all performance metrics were looking > good again. > We did not see any degredation anymore. > > In the light of these test results, I herewith would like to start the > discussion to base the JDK update PR > to openJ9 JDK11. > > Kind Regards, > Martin >