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

Trace: comm_summary and comm_over_time #91

Merged
merged 10 commits into from
Nov 14, 2023
Merged

Trace: comm_summary and comm_over_time #91

merged 10 commits into from
Nov 14, 2023

Conversation

hsirkar
Copy link
Collaborator

@hsirkar hsirkar commented Apr 5, 2023

  • comm_summary computes total message count/volume sent and received per process

image

  • comm_over_time computes total message count/volume sent over time

image

comm_matrix = self.comm_matrix(output=output)

# Get total sent and received for each process
sent = comm_matrix.sum(axis=1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall a recent discussion about sends and receives being on the incorrect axes. Is this line related to that? Are we certain this is correct?

pipit/trace.py Outdated
# Filter by send or receive events
events = self.events[
self.events["Name"].isin(
["MpiSend", "MpiIsend"] if kind == "send" else ["MpiRecv", "MpiIrecv"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the naming always "MpiSend", or can it occasionally be written as "MPISend"? Do we need to handle that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it should be the same in all the readers so it shouldn't be a problem.

@bhatele
Copy link
Member

bhatele commented Nov 10, 2023

We need to think about why we have an additional "MPISend" event within the "MPI_Send" event and if we can remove it.

@bhatele bhatele merged commit cdada37 into develop Nov 14, 2023
8 checks passed
@bhatele bhatele deleted the comm-analysis branch November 14, 2023 23:29
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

Successfully merging this pull request may close these issues.

3 participants