Stephan Ewen created FLINK-2343:
-----------------------------------

             Summary: Change default garbage collector in streaming environments
                 Key: FLINK-2343
                 URL: https://issues.apache.org/jira/browse/FLINK-2343
             Project: Flink
          Issue Type: Improvement
          Components: Start-Stop Scripts
    Affects Versions: 0.10
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 0.10


When starting Flink, we don't pass any particular GC related JVM flags to the 
system. That means, it uses the default garbage collectors, which are the bulk 
parallel GCs for both old gen and new gen.

For streaming applications, this results in vastly fluctuating latencies. 
Latencies are much more constant with either the {{CMS}} or {{G1}} GC.

I propose to make the CMS the default GC for streaming setups.

G1 may become the GC of choice in the future, but fro various articles I found, 
it is still somewhat in "beta" status (see for example here: 
http://jaxenter.com/kirk-pepperdine-on-the-g1-for-java-9-118190.html )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to