-
Notifications
You must be signed in to change notification settings - Fork 4.6k
eliminate lock on record #15929
eliminate lock on record #15929
Conversation
2e081c7
to
1551093
Compare
Here are some rough metrics: |
e187541
to
408fb97
Compare
Codecov Report
@@ Coverage Diff @@
## master #15929 +/- ##
=========================================
- Coverage 79.9% 79.9% -0.1%
=========================================
Files 409 409
Lines 107723 107864 +141
=========================================
+ Hits 86153 86247 +94
- Misses 21570 21617 +47 |
e879417
to
8739fd0
Compare
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.
Can we also add performance information from a gcp bench-tps run and see where we are in terms of slot time under load and just the TPS. Can run it on gcp manually or through the same configuration as #performance-results
Want to mark ready-for-review if that's the case? |
a54782a
to
234b4a8
Compare
last perf run: this pr: |
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.
lgtm
* eliminate lock on record * use same error as MaxHeightReached * clippy * review feedback * refactor should_tick code * pr feedback (cherry picked from commit 57ba86c)
This reverts commit 57ba86c.
* eliminate lock on record * use same error as MaxHeightReached * clippy * review feedback * refactor should_tick code * pr feedback (cherry picked from commit 57ba86c) Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
Problem
PohRecorder.Record requires a PohRecorder mutex lock. This results in contention with poh. Poh locking delays cause drift.
Summary of Changes
Create a new PohRecorder 'Recorder' which can use non-blocking channels to record transactions in poh.
Fixes #