tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: CPU usage quirk with multiple tomcat instances
Date Sun, 04 May 2008 12:40:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Da,

Lists wrote:
|> My guess (and that's all it is) is that you have eliminated much of the
|> context-switching overhead that two instances would have compared to one.
|
| Ah I see.  I guess i can look at that with mpstat and look at things like
| thread migrations etc.  Important because if we install more CPU's i guess
| that may mitigate the context switching overhead.  Or maybe we can gain
| performance by tying zones to one or two cpu's.

Is there any advantage to running multiple JVMs on a single machine? Why
not just give your single JVM a big chunk of memory and let it do its thing?

| Opteron 254 vs 252.  So 0.2ghz less but afaik no other difference.  Not
| enough of a difference to account for the additional cpu.  so this box
uses
| 80% cpu vs 30% on the other one for the same load.

Do you mean "same webapp load"? Obviously, that addition load is coming
from /somewhere/. What about other services running on the same machine?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgdrqkACgkQ9CaO5/Lv0PCgqACfRxKediPbJyxkYpcBA0z1Qslt
5M8An1t6VYvyOh3+tMThcXqIZcHQFGVc
=y2AR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message