On 6/21/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
Leon Rosenberg wrote:
>> > Teoreticly, your servers should be faster if you configure 4 Tomcat
>> > instances (4 JVMs) to do round robin.
>> > You should be able to improve performances almost 4x.
>> could you explain why??
>> I wanted to ask the same question..
> forget it. it was wrong.
I think I wasn't wrong. One JVM instance is (still) single operating
system thread IMHO. At least it was in 1.4.2 on Linux and Windows and I
haven't heard they improve it on 1.5.0.
Otherwise ps aux should show process "java" few times.
You were nevertheless.
On linux 2.4.x you will see multiple java threads in ps aux.
On 2.6.x kernel the ps semantics changed:
ps -eLf
alternatively you can grab the process number and do
/proc/pid/
more status
you will see the number of current threads.
Since jdk1.1.x there were two options native vs green threads. Green
threads means that the jvm makes the thread management by itself, with
native threads the underlying OS implementation is used. Since jdk1.3
(maybe earlier) the native threads arent even an option anymore. 1
Java Thread = 1 System thread.
regards
Leon
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]