Skip to content

metrics: don't make threads which submit metrics syscall to wake up#7196

Merged
alessandrod merged 1 commit intoanza-xyz:masterfrom
alessandrod:metrics-dont-sleep
Aug 4, 2025
Merged

metrics: don't make threads which submit metrics syscall to wake up#7196
alessandrod merged 1 commit intoanza-xyz:masterfrom
alessandrod:metrics-dont-sleep

Conversation

@alessandrod
Copy link
Copy Markdown

This thing is causing threads which submit metrics to do syscalls to wake up the metric submit thread. Make the submit thread sleep on a timer so that it doesn't need to be woken up ffs.

Comment thread metrics/src/metrics.rs Outdated
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@5cad63d). Learn more about missing BASE report.
⚠️ Report is 2693 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7196   +/-   ##
=========================================
  Coverage          ?    82.8%           
=========================================
  Files             ?      803           
  Lines             ?   363699           
  Branches          ?        0           
=========================================
  Hits              ?   301248           
  Misses            ?    62451           
  Partials          ?        0           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@steviez steviez left a comment

Choose a reason for hiding this comment

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

Makes sense given that we have so many threads all submitting datapoints

@alessandrod alessandrod merged commit 0c42e18 into anza-xyz:master Aug 4, 2025
41 checks passed
roryharr added a commit to roryharr/agave-sandbox that referenced this pull request Aug 5, 2025
roryharr added a commit to roryharr/agave-sandbox that referenced this pull request Aug 5, 2025
roryharr added a commit to roryharr/agave-sandbox that referenced this pull request Aug 5, 2025
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