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 To: Tomcat Users List , Lists <[EMAIL PROTECTED]> Subject: Re: CPU usage quirk with multiple tomcat instances Date: 08/05/08 10:21 > but sar only shows you 10 minute averag

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Leon Rosenberg
To: Tomcat Users List > 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 <[EMAIL PROTECTED]> > wrote: >> > We dont have

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 To: Tomcat Users List 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:4

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 y

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Dan Keeley
guess that is correct, i was just looking for why! Dan - Original Message - From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Lists" <[EMAIL PROTECTED]> Sent: Tuesday, May 06, 2008 9:33 AM Subject: Re: CPU usage quirk with mul

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 t

Re: CPU usage quirk with multiple tomcat instances

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

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 | t

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 gues

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 l

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 uti