Posts

Factor Two Ryzen Java Performance Gain

Image
Standard benchmarks you can find on the internet are of limited value when you use your machine for serious computations based on your own code. My machines often run for several days utilizing all available CPU cores, so performance is a serious issue, as is power consumption considering the insane power price we pay here in Germany. After AMD released the Ryzen processor I was quite disappointed by its multi threaded performance at my application. Recently I found out what was the source of the problem and that it can be solved. I want to share this information in case someone faces a similar issue. Finally it seems Ryzen Threadripper 1950x, if configured and used correctly, can handle an incredible amount of workload. It turned out, that for multi threaded Java applications heavily using JNI there are huge improvements using Java 9 or Java 10 compared to Java 8 I haven't found documented anywhere yet. These improvements are already significant for Int