ibmruntimes / openj9-openjdk-jdk11

Extensions for OpenJDK 11 for Eclipse OpenJ9
GNU General Public License v2.0
32 stars 111 forks source link

Bad performance using OpenJ9 jdk on M1 processor macbooks #562

Open VincentSalewyn opened 2 years ago

VincentSalewyn commented 2 years ago

We are using 2 jre releases for our 2 IBM SPSS Modeler releases:

In MacOS M1 processor MacBook, performances for Modeler 18.4 are drastically bad so that the product can't be used (it takes hours to process what should be done in one minute..) When we replace JRE by the one from Modeler 18.3, there is no performance issue anymore.

Upgrading to last JRE release https://github.com/ibmruntimes/semeru11-binaries/releases/tag/jdk-11.0.15%2B10_openj9-0.32.0 doesn't fix this issue. The problem doesn't appear with Intel processor MacBooks.

Let me know if you need further details

pshipton commented 2 years ago

When you upgraded to 11.0.15 are you using the x86 JVM or the AArch64 JVM? I assume x86.

Pls try the AArch64 Mac JVM available with 11.0.16, although it's still an early access build. https://github.com/ibmruntimes/semeru11-binaries/releases/tag/jdk-11.0.16%2B8_openj9-0.33.0-rc1

VincentSalewyn commented 2 years ago

Thanks for your reply. yes, we tested with x86 release and I just realized yesterday that there was a specific build for AArch64 in 11.0.15 (that was not the case with 11.0.13 we shipped for Modeler 18.4). I have no M1 mac machine on my side and the QA person that can test it is on vacation this week but i already suggested to use this AArch64 release. I will let you know later next week.

0xdaryl commented 1 year ago

@VincentSalewyn : were you (or anyone else) able to test this with the native Apple Silicon build to see if the performance improved?

VincentSalewyn commented 1 year ago

No, I haven't a Apple Silicon machine yet. I'll let you know when i can retest it.