Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Avoid loading partitions for off-chain window posts #1352

Open
Stebalien opened this issue Jan 11, 2021 · 0 comments
Open

Avoid loading partitions for off-chain window posts #1352

Stebalien opened this issue Jan 11, 2021 · 0 comments
Labels
enhancement New feature or request scale Related to chain state or throughput scalability

Comments

@Stebalien
Copy link
Member

If we stored a bitfield recording all partitions with "recovering" power, we could avoid loading any partitions for proofs that neither recover power nor mark sectors as faulty. This would reduce the cost of a window post to:

  1. load actor, miner info, deadlines, current deadline (4).
  2. store everything except the miner info (3).
  3. Loads/stores to save the proof (~1-3).

We'd expect less than 6 stores, less than 7 loads, and no sends.

@Stebalien Stebalien added enhancement New feature or request scale Related to chain state or throughput scalability labels Jan 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request scale Related to chain state or throughput scalability
Projects
None yet
Development

No branches or pull requests

1 participant