-
Notifications
You must be signed in to change notification settings - Fork 526
Performance issue using abortableSource() #1420
Copy link
Copy link
Closed
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upkind/discussionTopical discussion; usually not changes to codebaseTopical discussion; usually not changes to codebaseneed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upkind/discussionTopical discussion; usually not changes to codebaseTopical discussion; usually not changes to codebaseneed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Type
Projects
Status
🎉Done
Version:
0.39.2
Platform:
Linux 5.15.0-25-generic Update libp2p-spdy to version 0.9.0 🚀 #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Subsystem:
Severity:
High
Description:
The
abortableSource()api is used across libp2p stacks and it takes more than 7.5% of lodestar cpu time, which causes the I/O lag issue in lodestar. I think this is too much considering this is not a core feature when running a node in lodestar.I suggest we need to find a more efficient
abortablepattern and apply it everywherecc @wemeetagain @mpetrunic @dapplion
Steps to reproduce the error:
Run lodestar, monitor metrics and take a profile from there