You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2022/11/24 06:53:00 UTC

[jira] [Created] (FLINK-30185) Provide the flame graph to the subtask level

Rui Fan created FLINK-30185:
-------------------------------

             Summary: Provide the flame graph to the subtask level
                 Key: FLINK-30185
                 URL: https://issues.apache.org/jira/browse/FLINK-30185
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / REST, Runtime / Web Frontend
            Reporter: Rui Fan
             Fix For: 1.17.0
         Attachments: image-2022-11-24-14-49-42-845.png

FLINK-13550 supported for CPU FlameGraphs in web UI.

As Flink doc mentioned:

https://nightlies.apache.org/flink/flink-docs-master/docs/ops/debugging/flame_graphs/#sampling-process
{code:java}
Note: Stack trace samples from all threads of an operator are combined together. If a method call consumes 100% of the resources in one of the parallel tasks but none in the others, the bottleneck might be obscured by being averaged out.

There are plans to address this limitation in the future by providing “drill down” visualizations to the task level. {code}
 

The flame graph at the subtask level is very useful when a small number of subtasks are bottlenecked. So we should provide the flame graph to the subtask level

 

!image-2022-11-24-14-49-42-845.png!

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)