This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
availability-recovery: run CPU intensive work on separate thread #7411
Labels
I10-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
T4-parachains_engineering
This PR/Issue is related to Parachains performance, stability, maintenance.
Currently
reconstructed_data_matches_root
andreconstruct_v1
burn up to 1s of CPU time in the context ofrecovery-task
: https://github.com/paritytech/polkadot/blob/master/node/network/availability-recovery/src/lib.rs#L956 .We should investigate why this takes so much time for only 2.5MB data. Also we need to move this CPU intensive work in a separate thread (spawn blocking/rayon/spawn thread).
First image is
reconstructed_data_matches_root
+reconstruct_v1
, second is justreconstructed_data_matches_root
The text was updated successfully, but these errors were encountered: