Date: Thu, 9 Dec 1999 01:09:30 -0500 (EST) From: patrick@whetstonelogic.com To: freebsd-java@freebsd.org, shevlandj@kpi.com.au Subject: Performance Comparison in Availible JDKs for FreeBSD Message-ID: <199912090609.BAA22131@p.wl.vg>
next in thread | raw e-mail | index | archive | help
After testing the Blackdown Linux JDK 1.2.2-RC3 on FreeBSD 3.4-RC, I decided to run a performance test comparing the Linux JDK with the FreeBSD JDK and the FreeBSD JDK with shuJIT and TYA. Summary: -------- The Linux port is faster than the FreeBSD port, even when JITs are taken into account. For graphic intensive applications, all the FreeBSD tests are faster than the Linux, with FreeBSD/TYA being the fastest overall. Comparing the Linux port with the FreeBSD port, each with no JIT, FreeBSD is faster. We may conclude that the JIT design makes the difference in speed. Testing Method: --------------- All tests were run on FreeBSD 3.4-RC (Tue Dec 7 09:14:51 EST 1999) on a Dual Pentium 200 SMP machine with 128 Megs RAM. Tests were conducted with Pendragon Software's Caffeine Mark 3.0 software using the "Run all tests locally" option. From Caffeine Mark's information: The CaffeineMark is a series of tests that measure the speed of Java programs running in various hardware and software configurations. CaffeineMark scores roughly correlate with the number of Java instructions executed per second, and do not depend significantly on the the amount of memory in the system or on the speed of a computers disk drives or internet connection. Tests were run 5 times consecutively in the order listed below. They were then run again once in order to verify the results and average out local differences. The results were then averaged to give a final score. Versions of the software were: ------------------------------ Linux java version "1.2.2" Classic VM (build Linux_JDK_RC3, green threads, nojit) and java version "1.2.2" Classic VM (build Linux_JDK_RC3, green threads, sunwjit) FreeBSD java_X full version "jdk1.1.8-FreeBSD:1999/11/9" shuJIT 0.3.13 TYA 1.5 By the Numbers: --------------- Overall Score: Port/JIT Individual Tests Final ------------------- ----------------------------------- ----- Linux 1.2.2/sunwjit 539 550 543 544 535 542 FreeBSD 1.1.8/None 247 247 238 250 247 246 FreeBSD 1.1.8/shuJIT 373 376 369 374 373 373 FreeBSD 1.1.8/TYA 478 477 478 479 483 479 Linux 1.2.2/None 222 223 224 225 222 223 Individual Results: Port/JIT Sieve Loop Logic String Float ------- ----- ---- ----- ------ ----- Linux 1.2.2/sunwjit 1361 2005 3354 872 1161 FreeBSD 1.1.8/None 318 456 393 381 381 FreeBSD 1.1.8/shuJIT 800 1566 2191 588 1010 FreeBSD 1.1.8/TYA 712 1467 2352 949 1078 Linux 1.2.2/None 380 434 489 363 337 Port/JIT Method Graphics Images Dialog -------- ------ -------- ------ ------ Linux 1.2.2/sunwjit 1802 247 28 40 FreeBSD 1.1.8/None 381 344 77 37 FreeBSD 1.1.8/shuJIT 101 317 79 37 FreeBSD 1.1.8/TYA 512 357 74 38 Linux 1.2.2/None 337 306 25 40 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912090609.BAA22131>