I've noted that artifactory 3.x (maybe earlier) defaults to G1GC. All my research into the subject shows that CMS *properly tuned* is still the better performing gc option - though I understand there are different goals when tuning for gc (say if shorter young gen gc pauses are desired over throughput) - which G1GC would win out on. Performance tests show that while G1GC does have avg shorter newgen pauses over CMS, the difference is negligible ( a few ms). The problem here is that G1 does a LOT more young gen pauses than CMS, so overall GC pauses for G1 is a much greater cumulative.
I wanted to ask why the change to G1GC as default was made? I know Oracle is working to make G1GC better but I don't believe it is there yet. I guess what I'm looking for is, was G1GC implemented as the default for the benefits of a compacting collector? Is this something newer artifactory versions need or are taking advantage of? Or was it implemented because it is the newest shiny gc option out there? These performance tests results encapsulate my gc claims (if you fancy reading this sort of thing): http://blog.mgm-tp.com/2013/12/benchmarking-g1-and-other-java-7-garbage-collectors/ One last question: As a rule, I always implement -XX:+DisableExplicitGC when using CMS. By allowing an application to manually call GC - it throws off the jvm algorithms used to calculate GC timing which ultimately affects performance. I've seen that artifactory allows a manual request of GC via the administration menus. Will disabling explict gc calls from the application cause any problems with Artifactory? -- View this message in context: http://forums.jfrog.org/Artifactory-3-0-4-performance-tuning-and-G1GC-vs-CMS-tp7579846.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
