solana/ledger/src
Yueh-Hsuan Chiang 0b5ed87220
(LedgerStore) Enable performance sampling in column family get() (#23834)
#### Summary of Changes
This PR enables RocksDB read side performance metrics to report to blockstore_rocksdb_read_perf.
The sampling rate is controlled by an env arg `SOLANA_METRICS_ROCKSDB_PERF_SAMPLES_IN_1K`,
specifies the number of perf samples for every 1000 operations.  The default value is set to 10, meaning
we will report 10 out of 1000 (or 1/100) reads.

The metrics are based on the RocksDB [PerfContext](https://github.com/facebook/rocksdb/blob/main/include/rocksdb/perf_context.h).
It includes many useful metrics including block read time, cache hit rate, and time spent on decompressing the block.
2022-04-01 13:13:32 -07:00
..
blockstore Move test_purge_huge test (#23587) 2022-03-10 15:31:43 -06:00
ancestor_iterator.rs uses Option<Slot> for SlotMeta.parent_slot (#21808) 2021-12-14 18:57:11 +00:00
bank_forks_utils.rs Setup bank hard_forks in load_bank_forks() 2022-03-15 23:08:07 -07:00
bigtable_delete.rs Add `delete` subcommand to `ledger-tool bigtable` (#19931) 2021-09-16 23:37:45 +00:00
bigtable_upload.rs Enforce tx metadata upload with static types (#23028) 2022-02-10 13:28:18 +08:00
bigtable_upload_service.rs Enforce tx metadata upload with static types (#23028) 2022-02-10 13:28:18 +08:00
block_error.rs fix typos in ledge code comments (#23068) 2022-02-10 20:43:44 -07:00
blockstore.rs Poh timing service (#23736) 2022-03-30 09:04:49 -05:00
blockstore_db.rs (LedgerStore) Enable performance sampling in column family get() (#23834) 2022-04-01 13:13:32 -07:00
blockstore_meta.rs uses first_coding_index for erasure meta obtained from coding shreds (#23974) 2022-03-30 13:55:11 +00:00
blockstore_processor.rs remove index hash calculation as an option (#23928) 2022-03-25 15:32:53 -05:00
builtins.rs Skip adding builtins if they will be removed (#23233) 2022-02-18 18:36:59 -08:00
erasure.rs adds back ErasureMeta::first_coding_index field (#21623) 2021-12-10 20:08:04 +00:00
genesis_utils.rs
leader_schedule.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
leader_schedule_cache.rs convert std::sync::mpsc to crossbeam_channel (#22264) 2022-01-11 02:44:46 -08:00
leader_schedule_utils.rs retransmit consecutive leader blocks (#22157) 2022-01-04 00:24:16 -08:00
lib.rs expands lifetime of SlotStats (#23872) 2022-03-25 19:32:22 +00:00
next_slots_iterator.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
rooted_slot_iterator.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
shred.rs uses first_coding_index for erasure meta obtained from coding shreds (#23974) 2022-03-30 13:55:11 +00:00
sigverify_shreds.rs adds bitflags to Packet.Meta 2022-01-04 13:53:40 +00:00
slot_stats.rs expands lifetime of SlotStats (#23872) 2022-03-25 19:32:22 +00:00
staking_utils.rs removes unused code from staking_utils (#19189) 2021-08-13 02:42:41 +00:00