> From: [EMAIL PROTECTED]
> Date: Thu, 20 Jul 2000 17:45:18 +0200

> So, keep up the good work, I will very likely have good use of this
> product (although the performance I see worries me a bit, but that is
> perhaps a general Java/EJB problem, more than jBoss'...).

So I started to do a little micro-benchmarking of jBoss...

I have a plain empty method invocation to a bean, which I do over and
over again, and I found that on a PIII-500 or similar machine I get
about 130 method invocations per second when running on a standard Sun
JDK 1.2.2 (The Linux dist, same performance both on native Suse Linux
and emulated in OpenBSD).  However the GC in there does not cope and
it "leaks" memory a lot, the JDK ends up using about 110MB of core.
So I tried using JDK 1.3 (latest refresh beta) just to check out how
Sun was doing.  Sure, now it did not leak at all.  Stayed at about
15MB of memory footprint.  Good.  But the performace was a joke!  Same
test gave me about 50 method invocations per second.  This was without
JRMP 1.3 though, maybe that will make a difference.  Maybe using 1.3
when compiling is better too, I don't know.  I guess I will have to
check it out.  BTW, all the tests was with client and server running
on the same machine, just so you know.  I will do a distributed test
later to see if I get load-sharing benefits out of it.

Whatever, I would expect a much better performance anyhow.  This is a
little discouraging.  I don't say jBoss is to blame, I honestly don't
know where my bottleneck is.  I can see that during the time I run
these tests I see 10K+ (sometimes 15K) syscalls per second, i.e. maybe
100 system calls per method invocation.  Scares me quite a bit.
Does anybody on this list have ideas where the main abuse is?
Is it the compiler?  Is it the JVM? is it the EJB requirements or may it
be jBoss?  I am not afraid of looking closer into this, I just
thought I'd ask for hints where to start looking.

Are there tweaks I can do to tune jBoss or maybe Sun's JVM?  I am
still not using any JIT that I know of.  I am just using the standard
JDK as it comes from Sun.

Niklas


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to