Skip to content

Option to time unbinding - #121

Merged
VictorForouhar merged 10 commits into
masterfrom
unbinding_timing
Sep 18, 2025
Merged

Option to time unbinding#121
VictorForouhar merged 10 commits into
masterfrom
unbinding_timing

Conversation

@VictorForouhar

Copy link
Copy Markdown
Collaborator

Unbinding is one of the most expensive steps when creating subhalo catalogues. At the moment, we only provide the time it took for the slowest MPI rank to unbind all of the (sub)haloes it was assigned. This is not informative enough to understand what is driving the longest unbinding times, which could be further optimised in the future (e.g. #117 ).

This PR will add more fine grained timing information on a subhalo level. The idea is that the information will be sufficient to determine what is driving the largest cost and what could be changed to reduce the times.

@VictorForouhar

Copy link
Copy Markdown
Collaborator Author

First attempt at creating a timing figure... Blue lines are halo-level start and begin times. Black lines are subhalo-level times. Certainly not the most readable!

image

@VictorForouhar

Copy link
Copy Markdown
Collaborator Author

Cool thing is that we can start to look at trends of analyse time vs Nbound!
image

@VictorForouhar

Copy link
Copy Markdown
Collaborator Author

Also something new to see, which is the number of unbinding iterations subhaloes have been subject to. Some of them are quite high!

image

@VictorForouhar
VictorForouhar marked this pull request as ready for review September 18, 2025 12:50
@VictorForouhar
VictorForouhar merged commit 7fbc651 into master Sep 18, 2025
4 checks passed
@VictorForouhar
VictorForouhar deleted the unbinding_timing branch September 18, 2025 12:51
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.

2 participants