You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2014/06/13 23:03:02 UTC

[jira] [Created] (SPARK-2142) Give better indicator of how GC cuts into task time

Sandy Ryza created SPARK-2142:
---------------------------------

             Summary: Give better indicator of how GC cuts into task time
                 Key: SPARK-2142
                 URL: https://issues.apache.org/jira/browse/SPARK-2142
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
            Reporter: Sandy Ryza


The currently reported GC time is a somewhat misleading metric.

If I see a task that has taken 10 minutes with a GC time of 9 minutes, the straightforward interpretation is that GC is making my job 90% slower.  This is true if all that time is spent in a full GC.  But if a GC thread is only running in the background, it might not be impacting my task at all.

What a user really wants to know is whether GC is the cause of their task being slow.  Counting the number of full GCs or measuring the amount of time spent in stop-the-world GCs could be a more useful metric. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)