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

add spindown parameter #294

Merged
merged 3 commits into from
Sep 17, 2024
Merged

add spindown parameter #294

merged 3 commits into from
Sep 17, 2024

Conversation

carns
Copy link
Member

@carns carns commented Sep 17, 2024

This PR makes it so that once Margo starts to busy spin (because of in flight RPCs or active ULTs in the progress pool) , it will continue to do so for a brief, configurable period of time.

The intent is to make Margo slightly less aggressive about entering an idle mode. It should improve performance particularly for sequential workloads that have small rtt gaps between operations.

Need to performance test before merging but I want to go ahead and open a PR so that it can to through github CI checks.

- once Margo has begun spinning in the progress loop, check configurable
  "spindown" time to see if it should continue for some period of time
  before reverting to normal behavior
@carns carns self-assigned this Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 57.88%. Comparing base (c151895) to head (6654e0d).

Files with missing lines Patch % Lines
src/margo-core.c 78.57% 0 Missing and 3 partials ⚠️
src/margo-init.c 40.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
+ Coverage   57.86%   57.88%   +0.01%     
==========================================
  Files          70       70              
  Lines       10165    10181      +16     
  Branches     1334     1337       +3     
==========================================
+ Hits         5882     5893      +11     
- Misses       3451     3453       +2     
- Partials      832      835       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@carns
Copy link
Member Author

carns commented Sep 17, 2024

Performance results are great.

@carns carns merged commit 9a8f422 into main Sep 17, 2024
7 checks passed
@carns carns deleted the carns/dev-spindown branch September 17, 2024 20:37
@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant