-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Separate tpu vote port #20007
Separate tpu vote port #20007
Conversation
I'd add Line 690 in f579f73
|
added, thanks |
Codecov Report
@@ Coverage Diff @@
## v1.6 #20007 +/- ##
=========================================
- Coverage 82.4% 82.4% -0.1%
=========================================
Files 426 426
Lines 119288 119433 +145
=========================================
+ Hits 98338 98432 +94
- Misses 20950 21001 +51 |
0fe5501
to
d7d0edb
Compare
1eeee7a
to
3243acc
Compare
a97f63e
to
58cc200
Compare
58cc200
to
ed703d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also expose the tpu votes port in the dockerfile?
core/src/banking_stage.rs
Outdated
} else { | ||
// Disable forwarding of vote transactions, as votes are gossiped | ||
(verified_vote_receiver.clone(), false) | ||
let (verified_receiver, enable_forwarding) = match i.cmp(&(num_threads - 2)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compare match is pretty convoluted, how about 0
is the gossip vote receiver, 1
is the tpu vote receiver and the rest of the indices are for normal banking threads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@taozhu-chicago ping on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this: d3f16f3
added |
821978b
to
55db1d1
Compare
55db1d1
to
f07ee32
Compare
f07ee32
to
0870fff
Compare
Merged in v1.7 |
Problem
Votes can get effectively de-prioritized in the regular transaction queue.
Summary of Changes
Add a special vote-only TPU port.
Fixes #