Raise or remove SectorsMax #470
Comments
I disagree, the purpose of If there are supposed to be some other limits on sector counts implied by the proof type, that is a new and distinct request that should be motivated on its own terms. @nicola I will close this issue unless you describe a new requirement (but that requirement will probably cause a new constant to be needed). |
From my PR:
Let's call the two requirements SectorsMaxActors (the current SectorsMax) and SectorMaxProof[ProofType]. The number of sector for a miner should be the minimum between the two. The reason for this need is the following: NSE won't be able to support the current SectorsMax without having more than one SNARK proof per deadline. In other not enough challenges that can be done in 48 SNARKs to cover up for the challenges required by NSE. So yes, this is a limitation of proofs that should be accounted for that we found during this Params Audit. (this invalidates this comment: #695 (comment)) |
I'm pretty sure this is the wrong variable. I believe you're looking for "partitions per deadline max". That is, the maximum number of proofs a miner would need to submit in a single deadline. That will get rid of the direct dependency on the proof type as partition size already depends on the proof type. It will also be more accurate because partitions may not be evenly spread out across all deadlines. |
This is the issue that I see: on NSE a miner cannot have 32 << 20 sectors since the total number of sectors proven per deadline is smaller - in other words, you will run out of deadlines with those many sectors. If there is a system in place which guarantees that there is another implicit limit of maximum number of sectors per miner (e.g. if all deadlines are full, new porep is rejected), I am ok with that. I just have not found such check yet! Let me know if this clarifies or if we need to sync on this one. |
This limit (SectorsMax) is a systems limit (how many sectors the chain can handle). It has nothing to do with proofs. I'm saying that if you want to enforce a maximum number of sectors per deadline, we need a maximum number of sectors per deadline. That's a new limit that you'll need to define.We don't have currently have a concept of "full" deadlines. |
I have discussed with @nicola and am re-titling this issue back to discuss raising (or removing) this limit. |
Confirm that my digression has been resolved, this has no tight with proofs today. |
@anorth I recall you saying the referenced constant is distinct from |
From builtin/miner/policy.go:
Unclear what carefully means or whether this TODO entails beyond the param finish but adding for completeness while flushing out todos.
The text was updated successfully, but these errors were encountered: