Java Performance: Ubuntu Linux vs. Windows Vista

Published on December 18, 2008
Written by Michael Larabel
Page 1 of 5
Discuss This Article

Have you ever wondered on what operating system Java works the best? While by no means is it a conclusive multi-platform comparison, for this article we ran a number of Java benchmarks on both Windows Vista Premium and Ubuntu Linux to see how the Java Virtual Machine performance differs. In addition, when running Ubuntu we had tested Sun's official Java package as well as the OpenJDK alternative.

For this round-up we had used a Dell Inspiron 1525 notebook (PM965 + ICH8M Chipset) with an Intel Core 2 Duo T5800 processor clocked at 2.0GHz, 3GB of DDR2 memory, 250GB Hitachi HTS543225L9A300 HDD, integrated Intel 965 graphics, and a screen resolution of 1280 x 800. On the Windows side we were using Windows Vista Home Premium SP1 while with Ubuntu we were using Ubuntu 8.10 and the stock packages (Linux 2.6.27 kernel, X Server 1.5, etc). Each OS was left to its default settings, including the use of the standard desktop effects.

With Windows Vista Premium we were using Java 1.6.0_07, with the JVM being Java HotSpot VM build 10.0-b23. The official Java build we were using on Linux was Java 1.6.0_10 with the Java HotSpot VM build 11.0-b15. Lastly, with OpenJDK we were using Java 1.6.0_0 with the OpenJDK Server VM build 1.6.0_0-b12. IcedTea 1.3.1 provided the OpenJDK package. These Java versions are the stock versions for what was available with each operating system. For those unfamiliar with OpenJDK, it is Sun's attempt at providing an open-source Java implementation. IcedTea is a Red Hat project that takes OpenJDK and fills in the missing pieces of Java that Sun Microsystems hasn't open-sourced with code from the GNU Classpath.

The Java tests we ran included Sunflow Rendering System, Bork File Encrypter, Java SciMark, and the Java 2D Microbenchmark (j2dbench test profile). All tests were executed through the Phoronix Test Suite, though on Windows Vista they had to be manually run, but we carried out that testing in the same way as the Phoronix Test Suite. With the Java tests we were running the same compiled Java byte-code on both Ubuntu Linux and Windows.

<< Previous Page
1
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  2. Mageia 3 Released, Still Using Legacy GRUB
  3. OpenSUSE Considers Replacing LXDE With E17
  4. Using Six Monitors With AMD's Open-Source Linux...
  5. Sumo Lounge Emperor
  6. BHyVe: A New Hypervisor Coming To FreeBSD 10.0
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite