-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SectorBuilder requires disk space on /tmp partition #3497
Comments
Proofs people: could you please define how much disk space is required, in addition to the obvious space for staging and sealed sectors? @laser @schomatis |
I'm not sure how the full process operates, but normally replication takes 20 sector sizes (one MT per layer, each taking up 2 sectors). |
We can also add this as a configuration option in |
@dignifiedquire (cc @anorth)
This thread surprised me. It is the case that there's yet another place in rust-fil-proofs that writes to disk - but doesn't expose the choice of location to library consumers - which I didn't know about. The environment variable-based approach is a hack, IMHO, and asking Filecoin operators to edit some TOML file (unrelated to the Filecoin node config they manipulate through the CLI) is scarcely better. Both of these approaches require that the node operator too much about the rust-fil-proofs system (3 Git repositories away from the Filecoin node) and provide, generally, a confusing/bad UX. The existing approach of writing to |
@laser do you know if this is now resolved? |
The SectorBuilder currently requires additional diskspace on the partition that
/tmp
is located on.The amount of disk space requires is approximately 22x
$SECTOR_SIZE
for each sealing thread. The sector builder is currently configured with 2 worker threads (so total of 44x$SECTOR_SIZE
).For the
alpha2
network (0.5.6) all miners are sealing 256MiB sectors, the total free disk space required on the/tmp
partition is around 11GiB for each go-filecoin miner running on the host.A proposed workaround is to define the
TMPDIR
environment variable to a location with more diskspace for thego-filecoin daemon
process.Slack discussion: https://filecoinproject.slack.com/archives/CEGB67XJ8/p1568837802058400
The text was updated successfully, but these errors were encountered: