[kaffe] Slow Performance of Kaffe 1.1.4 running in PowerPC

Dalibor Topic robilad at kaffe.org
Sun Jun 27 18:05:48 PDT 2004


Hi Tony,

Tony Yat-Tung Cheung wrote:
> Hi,
> 
> I have tested running Kaffe 1.1.4 in MontaVista Linux on a PowerPC 
> platform.
> 

Thanks for testing Kaffe!

> So far, it works fine, but the performance is far from satisfactory. We
> mainly test Kaffe running the Tomcat 4.1.27.
 >
> Looking at the README of the Kaffe 1.1.4, it mentions that Kaffe only
> supports "Interpreter", but not "just-in-time" for the PowerPC platform.
> Is this why the performance is rather slow? Is there any reason why
> Kaffe cannot support "just-in-time" for the PowerPC platform?

There is no jit for it in the kaffe.org sources, that's the main reason 
;) But you're most welcome to help out on one!

Yeah, the interpreter is rather slow. There are ways to speed up the 
interpreter, check out the threaded interpreter patch at [1].

And of course, you could try either making the powerpc jit from janosvm 
0.8.0 [2] work with Kaffe, or merging in the JITs from Mono, or libjit 
from dotGNU.

cheers,
dalibor topic

[1] http://www.kaffe.org/pipermail/kaffe/2004-June/046477.html
[2] http://freshmeat.net/redir/janosvm/14957/url_tgz/janosvm-0.8.0.tar.gz




More information about the kaffe mailing list