[jboss-user] [Performance Tuning] - Re: Cpu 100% and GC is running
Peter Johnson
do-not-reply at jboss.com
Fri Jan 6 11:20:01 EST 2012
Peter Johnson [http://community.jboss.org/people/peterj] created the discussion
"Re: Cpu 100% and GC is running"
To view the discussion, visit: http://community.jboss.org/message/645089#645089
--------------------------------------------------------------
As for setting the survivor ratio, look at the GC data you posted. What is the ratio of the young generation size before GC and the largest size after GC? The after GC size is entirely within a survivor space. I would assume a max survivor space size of about 1.5 times the largest after GC size you see (1.5 x 36MB ~= 50MB), then 1278MB / 50MB ~= 25, which is what I would set the ratio to.
You need to also set the tenuruing threshold. These white papers might help:
Java Garbage Collection Statistical Analysis 101
Java Garbage Collection Performance Analysis 201
at http://www.cmg.org/cgi-bin/search.cgi?q=java+peter+johnson&x=30&y=10 http://www.cmg.org/cgi-bin/search.cgi?q=java+peter+johnson&x=30&y=10
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645089#645089]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120106/5318cba2/attachment.html
More information about the jboss-user
mailing list