Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpreting Perfetto trace visualization #684

Open
lucaslingle opened this issue Jan 16, 2024 · 2 comments
Open

Interpreting Perfetto trace visualization #684

lucaslingle opened this issue Jan 16, 2024 · 2 comments
Assignees

Comments

@lucaslingle
Copy link

When collecting a trace using the Jax profiler, the Perfetto UI shows an expanded view and a compact view.
For example, in the attached screenshot, I have expanded the view for device:TPU:7 only.

Notably, the compact view looks very different, and appears to show a 1-second-long period of inactivity on all the TPUs between 00:00:01 and 00:00:02, whereas the expanded view does not.

What does this compact view in Perfetto purport to show? Thanks for any insights you can provide.

Screen Shot 2024-01-08 at 7 45 32 PM
@stevegolton
Copy link
Member

Hey @lucaslingle

It should represent a histogram of the density of slices from all tracks within the category, but I agree it looks like this isn't working as expected. This may well be a bug.

I'll look into it and get back to you.

@chromy
Copy link
Contributor

chromy commented Jan 17, 2024

Seems like maybe a span_join issue? (tracked internally at b/320660297)

@chromy chromy assigned chromy and stevegolton and unassigned chromy Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants