tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Klop <ronald-mailingl...@base.nl>
Subject RE: Does GC Really Matter (In This Situation)?
Date Wed, 23 Jun 2010 13:48:54 GMT



Op woensdag, 23 juni 2010 14:31 schreef "Robinson, Eric" <eric.robinson@psmnv.com>:
> 
>  
> 
>  
> > You can monitor the gc with jstat.
> > jstat -gc <pid> 10s
> > This wil show you the memory usage of a java instance with the time spent in GC.

> > If it does 0.9 sec. of GC every sec. yare running inefficient. :-)
> 
> Thanks. I guess I could restate the question as, "Does GC inefficiency really matter
if overall CPU utilization remains low?"
> 
> --
> Eric Robinson
> 
> 
> 
> 
> 

I don't know. Does it matter to you?

If you have a lot of GC your CPU% wil not be very low. GC is CPU bound (if you are not swapping).
If your server still has enough CPU power and the users are not complaining about the speed,
than you don't have a problem.

Ronald.



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message