-
Notifications
You must be signed in to change notification settings - Fork 332
gui: leader schedule + peer vote info #6610
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
base: main
Are you sure you want to change the base?
Conversation
2abfe85
to
edcb8e0
Compare
src/discof/tower/fd_tower_tile.c
Outdated
fd_ghost_ele_t const * anc = fd_ghost_query_const( ctx->ghost, &msg->reset_block_id ); | ||
for( ulong i=0UL; i<FD_TOWER_VOTE_MAX; i++ ) { | ||
if( FD_UNLIKELY( !anc ) ) break; | ||
if( FD_LIKELY( 3 * anc->replay_stake > 2 * ctx->epoch->total_stake ) ) { |
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.
For optimistic confirmation you want to include gossiped votes as well, which I don't think ghost does
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.
I'll leave this out for now
b96b0bc
to
e6a1975
Compare
5172cd7
to
263977d
Compare
e6a1975
to
64dbdce
Compare
263977d
to
f2cdc72
Compare
ff25b75
to
57ebccb
Compare
f2cdc72
to
b6e9384
Compare
57ebccb
to
054f398
Compare
d0a4e40
to
e4827eb
Compare
Steady state bandwidth, no compression. Peak bandwidth can momentarily jump to 250Mbps due to high peer traffic from gossip at valiadtor boot. Otherwise everything seems reasonable. Total incoming bandwidth: 1.43 Mbps
Incoming bandwidth for ('gossip', 'network_stats') : 0.68 Mbps
Incoming bandwidth for ('slot', 'live_shreds') : 0.45 Mbps
Incoming bandwidth for ('summary', 'live_tile_timers') : 0.20 Mbps
Incoming bandwidth for ('summary', 'live_txn_waterfall') : 0.06 Mbps
Incoming bandwidth for ('peers', 'update') : 0.03 Mbps
Incoming bandwidth for ('summary', 'live_tile_primary_metric') : 0.02 Mbps
Incoming bandwidth for ('slot', 'update') : 0.01 Mbps
Incoming bandwidth for ('summary', 'estimated_tps') : 0.00 Mbps
Incoming bandwidth for ('gossip', 'peers_size_update') : 0.00 Mbps
Total incoming bandwidth: 1.46 Mbps
Incoming bandwidth for ('gossip', 'network_stats') : 0.67 Mbps
Incoming bandwidth for ('slot', 'live_shreds') : 0.39 Mbps
Incoming bandwidth for ('summary', 'live_tile_timers') : 0.20 Mbps
Incoming bandwidth for ('summary', 'live_txn_waterfall') : 0.06 Mbps
Incoming bandwidth for ('summary', 'live_tile_primary_metric') : 0.02 Mbps
Incoming bandwidth for ('slot', 'update') : 0.02 Mbps
Incoming bandwidth for ('peers', 'update') : 0.02 Mbps
Incoming bandwidth for ('summary', 'estimated_tps') : 0.00 Mbps
Incoming bandwidth for ('summary', 'completed_slot') : 0.00 Mbps
Incoming bandwidth for ('summary', 'turbine_slot') : 0.00 Mbps
Incoming bandwidth for ('summary', 'root_slot') : 0.00 Mbps |
8b290d1
to
daab8f5
Compare
slot_info->nonvote_failed_txn_count = fd_bank_nonvote_failed_txn_count_get( bank ); | ||
slot_info->transaction_count = fd_bank_txn_count_get( bank ) - ( !!parent_bank ? fd_bank_txn_count_get( parent_bank ) : 0UL ); | ||
slot_info->nonvote_txn_count = fd_bank_nonvote_txn_count_get( bank ) - ( !!parent_bank ? fd_bank_nonvote_txn_count_get( parent_bank ) : 0UL ); | ||
slot_info->failed_txn_count = fd_bank_failed_txn_count_get( bank ) - ( !!parent_bank ? fd_bank_failed_txn_count_get( parent_bank ) : 0UL ); |
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.
I'm guessing this is already accounted for in the runtime, but as a heads up
failed_txn_count
and nonvote_failed_txn_count
are NOT cumulative in Agave, but they seem to be here.
daab8f5
to
270c05d
Compare
int vote_eq = peer->has_vote_info | ||
&& !memcmp( peer->vote_account.uc, votes_sorted[ i ].vote_account.uc, sizeof(fd_pubkey_t) ) | ||
&& peer->stake ==votes_sorted[ i ].stake | ||
// && peer->last_vote_slot ==votes_sorted[ i ].last_vote_slot |
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.
This is the steady state bandwidth if I uncomment these lines (though the gossip table updating live does look cool).
// && peer->last_vote_slot ==votes_sorted[ i ].last_vote_slot
// && peer->last_vote_timestamp ==votes_sorted[ i ].last_vote_timestamp
// && peer->epoch_credits ==votes_sorted[ i ].epoch_credits
Incoming bandwidth for ('peers', 'update') : 35.52 Mbps
Incoming bandwidth for ('gossip', 'network_stats') : 0.68 Mbps
Incoming bandwidth for ('slot', 'live_shreds') : 0.41 Mbps
Incoming bandwidth for ('summary', 'live_tile_timers') : 0.20 Mbps
Incoming bandwidth for ('summary', 'live_txn_waterfall') : 0.06 Mbps
Incoming bandwidth for ('summary', 'live_tile_primary_metric') : 0.02 Mbps
Incoming bandwidth for ('slot', 'update') : 0.02 Mbps
Incoming bandwidth for ('gossip', 'peers_size_update') : 0.01 Mbps
Incoming bandwidth for ('summary', 'estimated_tps') : 0.00 Mbps
Incoming bandwidth for ('summary', 'completed_slot') : 0.00 Mbps
Incoming bandwidth for ('summary', 'turbine_slot') : 0.00 Mbps
Incoming bandwidth for ('summary', 'root_slot') : 0.00 Mbps
Total incoming bandwidth: 36.93 Mbps
Incoming bandwidth for ('peers', 'update') : 23.86 Mbps
Incoming bandwidth for ('gossip', 'network_stats') : 0.67 Mbps
Incoming bandwidth for ('slot', 'live_shreds') : 0.44 Mbps
Incoming bandwidth for ('summary', 'live_tile_timers') : 0.20 Mbps
Incoming bandwidth for ('summary', 'live_txn_waterfall') : 0.05 Mbps
Incoming bandwidth for ('summary', 'live_tile_primary_metric') : 0.02 Mbps
Incoming bandwidth for ('slot', 'update') : 0.01 Mbps
Incoming bandwidth for ('gossip', 'peers_size_update') : 0.00 Mbps
Incoming bandwidth for ('summary', 'estimated_tps') : 0.00 Mbps
Total incoming bandwidth: 25.28 Mbps
b70f322
to
a7bd96c
Compare
a7bd96c
to
28c1766
Compare
Performance Measurements ⏳
|
No description provided.