Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OpenJDK vs OracleJDK Performance

 
James Willson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a headache installing Java. I have an automated deployment script which installs the software and needs to be run to reinstall the server regularly in the cloud. I am so stuck on which route to go down because the peformance of OpenJDK seems inferior but it is the only one I can easily automatically installed.

So my question is, am I right to be concerned about the performance of OpenJDK? I am using this for a SOLR search server.

OpenJDK7
- Easy to automate install
- Fairly fast
- Fairly stable

Sun JDK6
- Easy to automate install
- Fairly fast
- Fairly stable

Oracle JDK7
- Nearly impossible to automate install
- Fast
- Stable

References
A. OpenGeo : GeoServer in Production
B. OpenJDK7 vs. Oracle JDK7 with Geoserver | Geodan Research
C. Clojure on Raspberry Pi: OpenJDK vs Oracle JRE (Java 8 armhf beta) benchmark - Max Gonzih
 
Campbell Ritchie
Sheriff
Posts: 48453
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don’t know. Stories about slow performance in Java sometimes turn out to be fairy tales, or irrelevancies.
Do you need JDK7 features? I do not know how long Oracle/Sun JDK6 will remain available for.

But I do know this is too difficult a question for this forum, so I shall move it. Maybe to two places.

And welcome to the Ranch
 
Campbell Ritchie
Sheriff
Posts: 48453
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And are you running Java on a PC or an ARM chip?
 
James Willson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running it on a linux box, not sure about the hardware, around 1gb ram. I've heard lots of stories about OpenJDK performing poorly but that is for graphic applications and was done several years ago.
 
Campbell Ritchie
Sheriff
Posts: 48453
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to find the type of chip easily. Open the GNOME system monitor and look at the “system” tab. That should have the type of the chip on. There is bound to be an analogous way to find that information if you don't use GNOME.
 
James Willson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

I host on linode and apparently I have a virtual server on there. Apparently the CPU is Sandy Bridge E5-2670. Here is more information about the hardware, does this help or give any clarity?

https://blog.linode.com/2013/03/18/linode-nextgen-the-hardware/
 
jake lopez
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Sun JDK6
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic