Skip to content
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

perf(storage-proofs-post): increase parallelism in fallback-post #1384

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

dignifiedquire
Copy link
Contributor

This improves the parallelism during both vanilla prove and vanilla verify.

Copy link
Collaborator

@cryptonemo cryptonemo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for the enum removal

@dignifiedquire dignifiedquire merged commit 56c18bd into master Dec 3, 2020
@dignifiedquire dignifiedquire deleted the feat-fallback-parallelize-prove branch December 3, 2020 15:33
@dignifiedquire
Copy link
Contributor Author

thanks to @robyhugeman666 for reminding me that we can do more here

@robyhugeman666
Copy link

robyhugeman666 commented Dec 4, 2020 via email

|all_valid, is_valid| Ok(all_valid? && is_valid?),
)?;
if !is_valid {
return Ok(false);
Copy link

@free1139 free1139 Dec 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dignifiedquire we also need continue the check and record the fault sectors here to skip them. I had lost the storage power cause some sectors failed in here, but i forgot the detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants