java – JVM Performance – JVM performance not scaling with number of processors

Summary I am doing a million floating point divisions in different threads, these threads share nothing from programmer’s point of view ie no explicit locks are involved. Following are the perf numbers when I ran java -jar /tmp/my-exps-1.0-SNAPSHOT.jar 1000000 100 on machines having 8, 16 and 32 vcores (n/2 cores with 2 threads per core). … Read more