<aside> ❗ The Filecoin network can optimistically onboard only 7.4PiB/day deal data. At the current moment, the aggregation is dysfunctional. If it worked, it could increase the data onboarding capability only by 11%. The real onboarding capability is probably the ~6PiB/day we observe in the network. For the network to grow following the baseline function, the onboarding rate has to exceed 56PiB per day.
</aside>
Average Sector onboarding cost without deals:
27.7e6 (PreCommitBatch per sector) + 103e6 (ProveCommit) = 130.7e6 gas
Average Sector onboarding cost with a single deal:
20e6 (PreCommitBatch per sector) + 103e6 (ProveCommit) + 204e6 (PublishStorageDeals per 1 deal) = 334.7e6 gas
Ideal gas available in a single day:
24*60*2 * 5 * 5e9 = 72e12
optimistic empirical correction for imperfect message packing:
72e12 * 21/25 = 60.5e12
Max daily sector onboarding in the current network, assuming no other gas usage than what is necessary for onboarding:
without deals: 60.5e12 / 130e6 = 378e3
which is 14PiB/day assuming 32GiB sectors.
with deals: 60.5e12 / 334e6 = 180e3
, which is 5.51PiB/day with 32GiB sectors or 8.26 PiB/day assuming a 50/50 split of 32 and 64GiB sectors (which is the split we observe). Right now, the network onboards ~6PiB/day.
These numbers must be lowered by gas consumed by maintenance (WindowPoSt consumes ~10% of chain bandwidth) and other operations that happen on-chain, lowering the onboarding capacity to 12.6PiB/day and 7.4PiB/day correspondingly (assuming only 10% WindowPoSt).
Aggregation is dysfunctional due to the additional sector and deal activation costs, making aggregating more expensive than single-sector onboarding.
Our onboarding capability is 12.6PiB/day for CC and 7.4PiB/day for sectors with data. The real onboarding capability is probably the ~6PiB/day we observe in the network.
Aggregation is completely unused due to a protocol bug when single onboarding delegates parts of the accounting to cron. This makes aggregation more expensive than single onboarding (170M for aggregate onboarding vs. 100M for single proof commit). This is being worked on as part of DDO.