Hello,
Java 7 has been out for a while now (since last summer). Today, I did some quick benchmarking on my laptop:
For 448 demons with 20160 actives features on 50000, I have the following performance (over 5 minutes of running time, the files I used for the benchmark are attached):
* Java 6 : 7,535 ticks per second (+/- 53 std)
* Java 7 : 8,412 ticks per second (+/- 47 std) (an increase of about 10% in average)
* Java 7 + GPU : 23 ticks per second (+/- 0 std).
I used only 5000 features for the GPU because 50000 did not fit on my video memory card. I do not know why I have such a terrible performance with the GPU. If I have time, I will do some profiling to check this out. Maybe it is just because my hardware is not appropriate (not much memory, same number of cores than my CPU). My hardware is a 2,53 GHz Intel Core 2 Duo, 4 GB 1067 MHz DDR3 of memory, and a NVIDIA GeForce 9400M 256 MB. For all evaluations, the options for the JVM was: "-Xmx1024m -server".
Additional advantages of Java 7 are :
- some nice functionalities for dispatching computation on multiple cores
- some language simplifications
See
http://openjdk.java.net/projects/jdk7/features/ for more information.
Finally, the installation of Java 7 was easy and both Zephyr and RLPark compile without modification. Java 7 can be downloaded at
http://www.oracle.com/technetwork/java/javase/downloads/index.htmlDo not forget to set it as default by running the "Java Preferences" application for MacOSX.
Note that new versions of Zephyr and RLPark may not be compatible with Java 6.
Thomas
PS: Java 8 is not expected before September 2013.