solana/core/benches
Tao Zhu b000d490ce
Cost Model to limit transactions which are not parallelizeable (#16694)
* * Add following to banking_stage:
  1. CostModel as immutable ref shared between threads, to provide estimated cost for transactions.
  2. CostTracker which is shared between threads, tracks transaction costs for each block.

* replace hard coded program ID with id() calls

* Add Account Access Cost as part of TransactionCost. Account Access cost are weighted differently between read and write, signed and non-signed.

* Establish instruction_execution_cost_table, add function to update or insert instruction cost, unit tested. It is read-only for now; it allows Replay to insert realtime instruction execution costs to the table.

* add test for cost_tracker atomically try_add operation, serves as safety guard for future changes

* check cost against local copy of cost_tracker, return transactions that would exceed limit as unprocessed transaction to be buffered; only apply bank processed transactions cost to tracker;

* bencher to new banking_stage with max cost limit to allow cost model being hit consistently during bench iterations
2021-06-01 09:16:17 -05:00
..
banking_stage.rs Cost Model to limit transactions which are not parallelizeable (#16694) 2021-06-01 09:16:17 -05:00
blockstore.rs Re-allow clippy::integer_arithmetic at crate-level 2021-02-17 13:55:08 -07:00
cluster_info.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00
consensus.rs Persistent tower (#10718) 2020-09-19 14:03:54 +09:00
gen_keys.rs Rename solana to solana-core (#5583) 2019-08-21 10:23:33 -07:00
poh.rs PoH batch size calibration (#15717) 2021-03-05 16:01:21 -08:00
poh_verify.rs Simd poh (#10604) 2020-06-16 23:03:26 -07:00
retransmit_stage.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00
shredder.rs removes first_coding_index from erasure recovery code (#16646) 2021-04-23 12:00:37 +00:00
sigverify_stage.rs Clippy cleanup for all targets and nighly rust (also support 1.44.0) (#10445) 2020-06-09 09:38:14 +09:00