flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2343) Change default garbage collector in streaming environments
Date Mon, 13 Jul 2015 13:39:05 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624652#comment-14624652

Stephan Ewen commented on FLINK-2343:

In that case, I vote to use G1 in JDK8 and CMS in JDK7?

People who run up-to-date Java should get the G1 then.

> 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

View raw message