Skip to content

Display vote/nonvote txs and add goroutine scheduling info in trace#202

Merged
7layermagik merged 2 commits intodevfrom
palmer/trace-goroutine-scheduler
Feb 6, 2026
Merged

Display vote/nonvote txs and add goroutine scheduling info in trace#202
7layermagik merged 2 commits intodevfrom
palmer/trace-goroutine-scheduler

Conversation

@palmerlao
Copy link
Collaborator

Seeing that a large number of transactions are votes, I decided to break them out into their own category in the trace. Then I saw that most votes are processed in <60 microseconds, but some take 1ms or more. I added goroutine scheduling information and it seems that the vote transactions that are slow are trying to acquire a lock, getting put into the WAITING state by the Go scheduler, and then remaining in RUNNABLE for a long time, before continuing to execute.

image

@7layermagik 7layermagik merged commit a13bc21 into dev Feb 6, 2026
1 check passed
@palmerlao palmerlao deleted the palmer/trace-goroutine-scheduler branch February 7, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants