Skip to content

Spike: garbage collection in Forest #1708

@LesnyRumcajs

Description

@LesnyRumcajs

Issue summary

Currently, we can't just leave Forest there to run as the DB seems to, more or less linearly, grow. Around 30 GB per day. After ~3 days the volume consisting of mainnet and calibnet is 208 GB big.

197G    ./mainnet/db
197G    ./mainnet
12G     ./calibnet/db
12G     ./calibnet
293M    ./filecoin-proof-parameters
208G    .

image

What we most likely need is a garbage collection mechanism along the lines of the one introduced/being introduced in Lotus. Links below.

No code here. This issue is meant for the discovery of what is the state-of-the-art (Lotus), what is Forest currently doing and what can we improve.

The outcome of this task is a set of new issues, properly described and estimated. There may be some low-hanging fruits there that would at least allow slowing down this increase to a reasonable level.

Other information and links

filecoin-project/lotus#6577
filecoin-project/lotus#9056
filecoin-project/lotus#6474

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceStatus: Needs TriageIssue has unresolved discussions and/or needs to be assigned a priority and assignee

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions