Java performance

Hi,

as you know Oracle has withdrawn the "Operating System Distributor
License for Java" which means that Oracle JDK has been removed from
Linux package repositories. Another issue is that Oracle will no
longer post public updates to JDK 6 after November 2012. So which JDK
to choose for DHIS installations has become a question.

In that regard I have done some bench-marking running a full data mart
export using various JDK versions on Ubuntu 64bit. Each test was done
3 times and the result is the average time.

Sun JDK 6 2h 36m
OpenJDK 6 3h 24m
Oracle JDK 7 3h 25m
OpenJDK 7 3h 34m

A bit surprisingly Sun JDK 6 is far ahead. Will continue to
investigate the reasons for this and monitor JDK 7 performance in
future updates.

Lars

Thank you for sharing, and congratulations for setting up test cases.

Lungo

···

From: Lars Helge Øverland larshelge@gmail.com
To: DHIS 2 developers dhis2-devs@lists.launchpad.net
Sent: Saturday, March 10, 2012 1:05 PM
Subject: [Dhis2-devs] Java performance

Hi,

as you know Oracle has withdrawn the “Operating System Distributor
License for Java” which means that Oracle JDK has been removed from
Linux package repositories. Another issue is that Oracle will no
longer post public updates to JDK 6 after November 2012. So which JDK
to choose for DHIS installations has become a question.

In that regard I have done some bench-marking running a full data mart
export using various JDK versions on Ubuntu 64bit. Each test was done
3 times and the result is the average time.

Sun JDK 6 2h 36m
OpenJDK 6 3h 24m
Oracle JDK 7 3h 25m
OpenJDK 7 3h 34m

A bit surprisingly Sun JDK 6 is far ahead. Will continue to
investigate the reasons for this and monitor JDK 7 performance in
future updates.

Lars


Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

This is not only surprising, but also seems like there might have been some problem in the way the benchmark behaves.

I have seen better or in the worst-case similar performance after upgrades from Sun JRE6 to openJDK7

···

Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

2012/3/10 Lars Helge Øverland larshelge@gmail.com

Hi,

as you know Oracle has withdrawn the "Operating System Distributor

License for Java" which means that Oracle JDK has been removed from

Linux package repositories. Another issue is that Oracle will no

longer post public updates to JDK 6 after November 2012. So which JDK

to choose for DHIS installations has become a question.

In that regard I have done some bench-marking running a full data mart

export using various JDK versions on Ubuntu 64bit. Each test was done

3 times and the result is the average time.

Sun JDK 6 2h 36m

OpenJDK 6 3h 24m

Oracle JDK 7 3h 25m

OpenJDK 7 3h 34m

A bit surprisingly Sun JDK 6 is far ahead. Will continue to

investigate the reasons for this and monitor JDK 7 performance in

future updates.

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp