microsoft / NPKit

NCCL Profiling Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does the index in the tracing result mean?

ZhiyiHu1999 opened this issue · comments

Hi, I derived some tracing results but I feel confused about the index of he plot. I wonder what does the numbers (index) 1000 - 1008 and 2000 - 2015 mean. To my comprehension, 1000+ and 2000+ represents different channels. Is that right? And what each index (1000,
1001, ...,1008, 2000, 2001, ..., 2015) represents? Thanks a lot!
image

Events with thread ID >= 1000 are from CPU proxy. Events from channel C is in the thread ID range C * 1000 + i where 0 <= i < 1000. Events from the same channel can overlap, and they're placed in the trace file in a greedy manner, so i doesn't have specific meaning.