• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OpenJDK vs OracleJDK Performance

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use Sun JDK6
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic