Seeking answer to a GC pattern
Jun Zhuang
jun.zhuang at hobsons.com
Mon Oct 26 19:33:36 UTC 2015
Hi,
When running performance testing for a java web service running on JBOSS, I observed a clear saw-tooth pattern in CPU utilization that closely follows the GC cycles. see below:
[cid:image002.jpg at 01D11003.AD2D2BA0]
[cid:image010.jpg at 01D11003.AD2D2BA0]
Java startup parameters used:
-XX:+TieredCompilation -XX:+PrintTenuringDistribution -Xms2048m -Xmx4096m -XX:MaxPermSize=256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=126 -XX:-UseAdaptiveSizePolicy -XX:+DisableExplicitGC -XX:+AlwaysTenure
With this set of parameters, the young GC pause time ranged from 0.02 to 0.25 secs. When I used 256m for the young gen, the young GC pause time ranged from 0.02 to 0.5 secs. My understanding is that the young GC pause time normally stays fairly stable, I have spent quite some time researching but have yet to find an answer to this behavior. I wonder if people in this distribution list can help me out?
Other related info
* Server Specs: VM with 4 CPUs and 8 Gb mem
* Test setup:
* # of Vusers: 100
* Ramp up: 10 mins
* Pacing: 5 - 7 secs
* I tried with all other available GC algorithms, tenuring thresholds, various sizes of the generations, but the AlwaysTenure parameter seems to work the best so far.
[cid:image011.jpg at 01D11003.AD2D2BA0]
[cid:image012.jpg at 01D11003.AD2D2BA0]
Any input will be highly appreciated.
Sincerely yours,
Jun Zhuang
Sr. Performance QA Engineer | Hobsons
513-746-2288 (work)
513-227-7643 (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20151026/573a027b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 7083 bytes
Desc: image002.jpg
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20151026/573a027b/image002-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 11773 bytes
Desc: image010.jpg
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20151026/573a027b/image010-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.jpg
Type: image/jpeg
Size: 33498 bytes
Desc: image011.jpg
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20151026/573a027b/image011-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.jpg
Type: image/jpeg
Size: 19704 bytes
Desc: image012.jpg
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20151026/573a027b/image012-0001.jpg>
More information about the hotspot-gc-use
mailing list