charmplusplus / projections

Performance Analysis Tool for Charm++
Apache License 2.0
5 stars 3 forks source link

Projections shows idle time for offloaded work from OpenMP pragmas #56

Open pplimport opened 6 years ago

pplimport commented 6 years ago

Original author: Joseph Hutter Original issue: https://charm.cs.illinois.edu/redmine/issues/1928


Projections does not monitor time spent on stolen tasks. See CPU time analysis on VTune vs Projections.

Screenshot from 2018-06-04 13-59-39 Screenshot from 2018-06-04 14-00-05

ericjbohm commented 5 years ago

Original date: 2018-06-04 19:15:14


this is for a benchmark that uses openmp, no time is attributed in timeline. Whereas a timeline style view from vtune shows high utilization for the worker threads.

stwhite91 commented 5 years ago

Original date: 2018-06-08 11:31:32


src/conv-core/conv-taskQ.{h,C} has tracing code in it, so I'm not sure why that wouldn't show up in Projections. Can you see if the tracing output files for each PE has events with the following numbers in them?

#define TASKQ_CREATE_EVENTID 145
#define TASKQ_WORK_EVENTID 147
#define TASKQ_STEAL_EVENTID 149
#define TASKQ_QUEUE_STEAL_EVENTID 151
pplimport commented 5 years ago

Original author: Joseph Hutter Original date: 2018-06-08 14:27:55


in the sts file: EVENT 145 taskq create work EVENT 147 taskq work EVENT 149 taskq steal EVENT 151 taskq from queue steal END

pplimport commented 5 years ago

Original author: Joseph Hutter Original date: 2018-06-08 16:41:23


Joseph Hutter wrote:

in the sts file: EVENT 145 taskq create work EVENT 147 taskq work EVENT 149 taskq steal EVENT 151 taskq from queue steal END but theres nothing per PE, this only shows up in the sts file