You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Robinson, Eric" <er...@psmnv.com> on 2010/06/23 14:31:55 UTC
RE: Does GC Really Matter (In This Situation)?
> 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
Disclaimer - June 23, 2010
This email and any files transmitted with it are confidential and intended solely for Ronald Klop,Tomcat Users List. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of . Warning: Although has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
RE: Does GC Really Matter (In This Situation)?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Robinson, Eric [mailto:eric.robinson@psmnv.com]
> Subject: RE: Does GC Really Matter (In This Situation)?
>
> "Does GC inefficiency really matter if overall CPU
> utilization remains low?"
If CPU utilization is low, you are not experiencing meaningful GC inefficiency. The heap configuration might not be 100% perfect, but that's really only a concern for people publishing benchmark numbers. If you're satisfied with your throughput and responsiveness, and your trend lines indicate you'll stay satisfied, leave whatever you've got alone.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Does GC Really Matter (In This Situation)?
Posted by Ronald Klop <ro...@base.nl>.
Op woensdag, 23 juni 2010 14:31 schreef "Robinson, Eric" <er...@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.