-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Metrics prioritization fees #34653
Metrics prioritization fees #34653
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #34653 +/- ##
=========================================
- Coverage 81.6% 81.6% -0.1%
=========================================
Files 827 827
Lines 223884 223980 +96
=========================================
+ Hits 182841 182893 +52
- Misses 41043 41087 +44 |
core/src/banking_stage/transaction_scheduler/transaction_state_container.rs
Outdated
Show resolved
Hide resolved
core/src/banking_stage/transaction_scheduler/scheduler_controller.rs
Outdated
Show resolved
Hide resolved
core/src/banking_stage/transaction_scheduler/scheduler_controller.rs
Outdated
Show resolved
Hide resolved
core/src/banking_stage/transaction_scheduler/scheduler_controller.rs
Outdated
Show resolved
Hide resolved
core/src/banking_stage/transaction_scheduler/scheduler_controller.rs
Outdated
Show resolved
Hide resolved
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.
Just a couple more changes, most minor but one which would lead to incorrectly reported metrics for the minimum.
Sorry for taking so long on this round of the review, I think these are the last changes; then we can kick off ci and merge.
core/src/banking_stage/transaction_scheduler/scheduler_controller.rs
Outdated
Show resolved
Hide resolved
.filter_map(|transaction| { | ||
let round_compute_unit_price_enabled = false; // TODO get from working_bank.feature_set | ||
transaction | ||
.get_transaction_priority_details(round_compute_unit_price_enabled) |
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 scanning through all transaction ixs to get the priority. @taozhu-chicago - this is another case motivating the RuntimeTransaction
that carries meta 😢
@godmodegalactus looks like this needs to be rebased or have master merged in - CI is flagging because of a vulnerability in a dependency. |
Fixed |
Merge ? |
Problem
Currently there are not enough metrics about prioritization fees for each thread processing transactions. We need few more metrics to track how prioritization fees are respected by the validator. As we are on the verge of changing the scheduler metrics like these could be very important.
Summary of Changes
Adding a metrics which tracks min and max prioritization fees in the heap before starting to build the block.
Adding a metrics which tracks min and max prioritization fees for transactions that are scheduled for execution.
Fixes #