Re: CPU usage quirk with multiple tomcat instances

2008-05-12 Thread Lists
no; We run sar and capture data every 5 seconds. - Original Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org, Lists [EMAIL PROTECTED] Subject: Re: CPU usage quirk with multiple tomcat instances Date: 08/05/08 10:21 but sar

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Lists
we use sar and look at cpu utilisation.. - Original Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: CPU usage quirk with multiple tomcat instances Date: 07/05/08 08:13 btw, how do you measure it? vmstats? top

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Leon Rosenberg
Users List users@tomcat.apache.org Subject: Re: CPU usage quirk with multiple tomcat instances Date: 07/05/08 08:13 btw, how do you measure it? vmstats? top? On Wed, May 7, 2008 at 9:40 AM, Dan Keeley lt;[EMAIL PROTECTED]gt; wrote: gt; We dont have synchronisation issues - I've already

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Dan Keeley
that is correct, i was just looking for why! Dan - Original Message - From: Leon Rosenberg [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Lists [EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 9:33 AM Subject: Re: CPU usage quirk with multiple tomcat instances Hello Dan

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Leon Rosenberg
btw, how do you measure it? vmstats? top? On Wed, May 7, 2008 at 9:40 AM, Dan Keeley [EMAIL PROTECTED] wrote: We dont have synchronisation issues - I've already profiled extensively with jprofiler.. Well we did, but after using jprofiler we dont :) Err, I think our app is the same as yours

Re: CPU usage quirk with multiple tomcat instances

2008-05-06 Thread Lists
Message From: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: CPU usage quirk with multiple tomcat instances Date: 04/05/08 12:49 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Da, Lists wrote: |gt; My guess (and that's all

Re: CPU usage quirk with multiple tomcat instances

2008-05-06 Thread Leon Rosenberg
Hello Dan, what also may happening is that you have unneeded or errorneous synchronisation somewhere in your code. Two instances : less code in same block and vm, effectively less synchronization. try to profile whether some use cases take longer on the single tomcat per machine. We once tried

Re: CPU usage quirk with multiple tomcat instances

2008-05-04 Thread Christopher Schultz
-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 |

CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same load the cpu

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread David kerber
Lists wrote: Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
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