IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 720 forks source link

locli: thread-based eventlog analysis #4448

Open deepfire opened 2 years ago

deepfire commented 2 years ago

The node uses the GHC lightweight threading in a very extensive way -- our model nodes spawn 20+ threads.

The eventlogs, which we already collect, do have thread switching marks.

We could dramatically improve the high-level CPU spike cost attribution in locli's machine performance analyses, if we extend it to additionally ingest the eventlogs and deduce the per-thread runtime costs.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.