Re: [Java-gnome-developer] JVM benchmarks: kaffe takes the cake
Brought to you by:
afcowie
From: Tiago C. <cog...@li...> - 2003-11-12 13:48:25
|
On Qua, 2003-11-12 at 11:27, Clemens Eisserer wrote: > Hi Tiago! >=20 > Your benchmarks ment nice, but they are not really useful. >=20 > 1.) What does the *9, *3 mean for memory-consumption? > Have you ever heard of threads? Threads are under Linux(o.k., thats not= =20 > really correct) processes that share stuff between. That means Sun=B4s = JVM=20 > does need 7,5% of your memory, not 67,5%. Thanks for clearing this up, i did know that threads under sun JVM appear as processes, i did not know about the shared memory issue, but still Kaffe is the winner in this field, it has 6,5% while sun's JVM has a 7.5% consumption >=20 > 2.) Your startup-results seem that you=B4ve started the JVMs already, n= ot=20 > really fair, because JVMs like Sun=B4s one need to load a lot of shared= =20 > stuff. It would be fair to measure with and without haveing started it=20 > before and listing both values. Don't the other JVM's load shared libs too? How do i control this? =20 >=20 > 3.) You forgot a really important point: Execution speed. > GIJ wasnt designed to be fast, it runs java-code only in interpreted=20 > mode, because it was ment to be a way for GCJ to load dynamically=20 > classes. Kaffe has two fifferent JITs. > IBMs JVM is the fastest one, when only measuring execution speed. -> 10= 0% > After IBM theres Sun. -> 90% > after Sun theres kaffe ->25-45% > after kaffe theres GIJ -> 5-10% >=20 > However these percentages are not 100% correct and depend heavily on=20 > what you do with the VMs. >=20 > However IBMs VM is based on Suns classes, that means Kaffe is the=20 > fastest OPenSource-JVM laying arround. Suns&IBMs JVMs are as fast or=20 > faster than GCJ, which compiles java statically. Even GCJ developers=20 > commented that Sun-JVM is impressive! I did not forgot, i just didn't measured this. Yet from what I've seen it seems that GCJ is faster then Kaffe: http://klomp.org/mark/free-vm-benchmarks/ http://www.shudo.net/jit/perf/ >=20 > 4.) > > better choice then Sun's java. This makes you wonder how good is Sun > > investing in the Linux platform. > Sun is currently rewriting their whole Java2D/x11 rendering pipeline. > They will use OpenGL starting from 1.5 for drawing things. I=B4ve spoke= n=20 > with a Java2D-enginier and he told me that the results are impressive. > If Linux would not matter, they wouldnt spend so much time improving it= =20 > on Linux/Desktop. If that is really going to happen then it is a good sign but you must agree that until that happens the desktop application that run on a JVM in a windows machine is faster then on a linux machine. Finally i just wanted to make clear that these benchmarks are nothing "official" nor it ever tried to be. I was benchmarking load speed and memory consumption of an idle application, ignoring the fact that i've made the processes error, and i think i can believe in those 2 benchmarks. Kaffe is still the most light JVM around Sun's JVM is of course the fastest, the other JVM options are still, IMO, very good. |