Async poh verify (#6353)

* Async poh verify

* Up ticks_per_s to 160

GPU poh verify needs shorter poh sequences or it takes forever to
verify. Keep slot time the same at 400ms.

* Fix stats

* Don't halt on ticks

* Increase retries for local_cluster tests and make repairman test serial
This commit is contained in:
sakridge
2019-10-23 12:11:04 -07:00
committed by GitHub
parent 35cc74ef25
commit 03d29a8311
10 changed files with 142 additions and 87 deletions

View File

@ -2,11 +2,11 @@
// The default tick rate that the cluster attempts to achieve. Note that the actual tick
// rate at any given time should be expected to drift
pub const DEFAULT_TICKS_PER_SECOND: u64 = 10;
pub const DEFAULT_TICKS_PER_SECOND: u64 = 160;
// At 10 ticks/s, 4 ticks per slot implies that leader rotation and voting will happen
// At 160 ticks/s, 64 ticks per slot implies that leader rotation and voting will happen
// every 400 ms. A fast voting cadence ensures faster finality and convergence
pub const DEFAULT_TICKS_PER_SLOT: u64 = 4;
pub const DEFAULT_TICKS_PER_SLOT: u64 = 64;
// 1 Epoch = 400 * 8192 ms ~= 55 minutes
pub const DEFAULT_SLOTS_PER_EPOCH: u64 = 8192;