-
Notifications
You must be signed in to change notification settings - Fork 15
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
Performance of Poseidon #3
Comments
Multiplying by MDS Matrix in the Constraint system Adding the simplify method seems to have sped this up and we are now able to use the prescribed amount of rounds. Will keep it open, once extensive tests are ran, confirming that this is no longer a problem |
Performance results on the constraint system Statement : "Given y, I know the pre-image x such that y = h(x)" where Proving time is 222.996317ms Benchmark can be simulated on the following branch: https://github.com/dusk-network/Hades252/tree/bench_pre_image To prove the blind bid statement that we use in the consensus: Proving time is 854.326017ms Benchmark can be simulated on the following branch: https://github.com/dusk-network/Hades252/tree/bench_blindbid CPU : 2.2 GHz Intel Core i7 |
Multiplying by MDS Matrix in the Constraint system
Currently, proof generation takes more than 60 seconds, when we use the prescribed parameters:
I believe I have tracked it down to the Matrix multiplication segment. Adding two LC's concatenates both vectors together. The matrix multiplication by a vector of a 9x9 matrix will produce at least 81 terms in the Linear combination.
The multiplication is done (Partial_rounds+Full_rounds) times so we have at least 72 * 81 = 6237 terms.
This would be the minimum assuming that we started with each LC having one term.
The text was updated successfully, but these errors were encountered: