Skip to content

Rename and uniquify QUIC thread names#28

Merged
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:quic_thread_name
Mar 5, 2024
Merged

Rename and uniquify QUIC thread names#28
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:quic_thread_name

Conversation

@steviez
Copy link
Copy Markdown

@steviez steviez commented Mar 2, 2024

Problem

The QUIC threads currently share names between TPU and TPU forwards. This obfuscates things when inspecting threads (gdb, perf, etc).

Summary of Changes

  • Rename the QUIC threads in order to make them unique (and consistent with rest of codebase)
    • quic-client ==> solQuicClientRt
    • solQuicServer ==> solQuicTpu + solQuicTpuFwd
    • quic-server ==> solQuicTpuRt + solQuicTpuFwdRt

The Rt denotes that these threads belong to a tokio runtime

@yihau yihau force-pushed the master branch 2 times, most recently from 91aae97 to 3f9a7a5 Compare March 3, 2024 04:31
steviez added 2 commits March 2, 2024 22:56
When viewing in various tools such as gdb and perf, it is not easy to
distinguish which threads are serving which function (TPU or TPU FWD)
@steviez steviez force-pushed the quic_thread_name branch from 47a1bd6 to 4ce3bbe Compare March 3, 2024 04:56
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (3f9a7a5) to head (4ce3bbe).

Additional details and impacted files
@@            Coverage Diff            @@
##           master      #28     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         837      837             
  Lines      225922   225923      +1     
=========================================
- Hits       184955   184936     -19     
- Misses      40967    40987     +20     

Copy link
Copy Markdown

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

Making good use of all 15 characters. Love to see it. LGTM

@steviez steviez merged commit ce34f3f into anza-xyz:master Mar 5, 2024
@steviez steviez deleted the quic_thread_name branch March 5, 2024 18:09
codebender828 pushed a commit to codebender828/agave that referenced this pull request Oct 3, 2024
When viewing in various tools such as gdb and perf, it is not easy to
distinguish which threads are serving which function (TPU or TPU FWD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants