You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/10/15 08:11:39 UTC

[GitHub] [cloudstack] sureshanaparti commented on pull request #4407: packaging: enable Parallel Collector GC for management server

sureshanaparti commented on pull request #4407:
URL: https://github.com/apache/cloudstack/pull/4407#issuecomment-708980393


   @rhtyd Good to see change in the GC for management server process. Even though Parallel GC is the fastest, there are some side effects of using Parallel GC.
   
   - Parallel GC is the default GC in Java 8, which is changed to G1 from Java 9 [1], due to higher GC pauses.
   - All application threads are stopped during GC, can impact response time / latency. Check some use cases for Parallel GC here [2].
   
   [1] http://openjdk.java.net/jeps/248
   [2] https://www.informit.com/articles/article.aspx?p=2496621&seqNum=2
   
   I think, it is better to control such pause times using option "-XX:MaxGCPauseMillis", when we opt for Parallel GC.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org