which one is better,KAFFE or CDC CVM
Hi,all:
Anyone know which one runs faster on Redhat linux6.2,KAFFE or CDC.My tests show that KAFFE runs
faster than CDC CVM but I can't beliver it since KAFFE is free.I did the tests
as following.
First install KAFFE as following:
$./configrue --with-profiling --enable-xprofiling --with-staticvm --with-staticlib
$make
$make install
Second use kaffe to perform a java program like this:
$./kaffe -Xxprof test.java
Then two file named kaffe-jit-symbols.s and xgmon.out will be produced and the followwing steps were taken:
1.$as kaffe-jit-symbols.s -o kaffe-jit-symbols.o
2.$ld /usr/local/libexec/Kaffe kaffe-jit-symbols.o -o kaffe-jit-symbols
3.gprof kaffe-jit-symbols xgmon.out>test.kaffe.prof
The file test.kaffe.prof the time taken by kaffe to perform test.class
Now it comes to CDC CVM,I installed CDC CVM like this:(j2sdk1.3 was previously installed as required by CDC)
$/sbin/ifconfig eth0 allmulti
$/sbin/ifconfig lo allmuliti
$/sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
$/sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev lo
$make GPROF=true CVM_DEBUG=true
Then perform test.class:
./cvm -Djava.class.path=./ test
A profile named gmon.out will be produced which inticated the same program test.class took CDC CVM more time to perform it.
Have you ever done the same kind of test and what's the result?I am eager to know your answer or you
opinion.By the way.kaffe's version:1.0.6,CDC CVM's version:1.0.
Thank you for sparing your time reading this post.
RGDS

