-
Notifications
You must be signed in to change notification settings - Fork 86
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
Update networking page #1606
Update networking page #1606
Conversation
Transaction costsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 5097 | 5.61 | 2.21 | 0.44 |
2 | 5297 | 7.18 | 2.84 | 0.46 |
3 | 5498 | 8.56 | 3.39 | 0.49 |
5 | 5901 | 11.17 | 4.41 | 0.53 |
10 | 6907 | 18.30 | 7.24 | 0.65 |
57 | 16353 | 82.81 | 32.75 | 1.77 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 569 | 10.52 | 4.15 | 0.29 |
2 | 757 | 13.86 | 5.65 | 0.34 |
3 | 939 | 17.33 | 7.20 | 0.38 |
5 | 1323 | 24.65 | 10.44 | 0.48 |
10 | 2257 | 45.22 | 19.36 | 0.75 |
20 | 4124 | 95.99 | 40.76 | 1.40 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 560 | 21.46 | 8.41 | 0.41 |
2 | 114 | 671 | 32.21 | 12.78 | 0.53 |
3 | 169 | 782 | 47.31 | 18.89 | 0.70 |
4 | 227 | 893 | 57.89 | 23.43 | 0.83 |
5 | 281 | 1004 | 77.20 | 31.31 | 1.04 |
6 | 338 | 1116 | 96.13 | 39.18 | 1.26 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 632 | 17.66 | 7.77 | 0.38 |
2 | 764 | 19.01 | 9.03 | 0.40 |
3 | 954 | 20.62 | 10.31 | 0.43 |
5 | 1230 | 23.52 | 12.90 | 0.49 |
10 | 1970 | 31.72 | 19.73 | 0.64 |
50 | 7980 | 97.87 | 74.66 | 1.83 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 658 | 20.03 | 8.99 | 0.41 |
2 | 783 | 21.53 | 10.41 | 0.43 |
3 | 925 | 22.92 | 11.79 | 0.46 |
5 | 1320 | 26.64 | 15.28 | 0.53 |
10 | 1989 | 34.08 | 22.49 | 0.68 |
50 | 8084 | 98.95 | 83.97 | 1.91 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 668 | 25.89 | 11.13 | 0.47 |
2 | 810 | 27.65 | 12.63 | 0.50 |
3 | 948 | 29.38 | 14.13 | 0.53 |
5 | 1266 | 33.44 | 17.54 | 0.60 |
10 | 2056 | 43.54 | 26.17 | 0.78 |
40 | 6603 | 99.26 | 74.24 | 1.78 |
Abort
transaction costs
There is some variation due to the random mixture of initial and already committed outputs.
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 4894 | 13.94 | 5.82 | 0.52 |
2 | 5177 | 29.41 | 12.97 | 0.71 |
3 | 5233 | 41.50 | 18.30 | 0.85 |
4 | 5317 | 53.06 | 23.33 | 0.98 |
5 | 5657 | 80.22 | 35.84 | 1.31 |
6 | 5690 | 94.10 | 41.86 | 1.46 |
FanOut
transaction costs
Involves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
Parties | UTxO | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|---|
5 | 0 | 0 | 4934 | 8.09 | 3.42 | 0.46 |
5 | 1 | 57 | 4968 | 8.83 | 3.96 | 0.47 |
5 | 5 | 284 | 5103 | 13.55 | 6.89 | 0.53 |
5 | 10 | 569 | 5274 | 19.40 | 10.54 | 0.62 |
5 | 20 | 1138 | 5612 | 30.13 | 17.40 | 0.77 |
5 | 30 | 1708 | 5955 | 42.04 | 24.77 | 0.93 |
5 | 40 | 2279 | 6296 | 52.98 | 31.73 | 1.08 |
5 | 50 | 2845 | 6631 | 64.11 | 38.78 | 1.24 |
5 | 81 | 4609 | 7682 | 99.67 | 61.07 | 1.73 |
End-to-end benchmark results
This page is intended to collect the latest end-to-end benchmark results produced by Hydra's continuous integration (CI) system from the latest master
code.
Please note that these results are approximate as they are currently produced from limited cloud VMs and not controlled hardware. Rather than focusing on the absolute results, the emphasis should be on relative results, such as how the timings for a scenario evolve as the code changes.
Generated at 2024-09-09 11:09:01.41076675 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 3000 |
Avg. Confirmation Time (ms) | 4.034639856 |
P99 | 10.566171299999954ms |
P95 | 4.75379ms |
P50 | 3.803088ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 9000 |
Avg. Confirmation Time (ms) | 23.547095904 |
P99 | 118.03701054000001ms |
P95 | 32.57831069999999ms |
P50 | 20.4823015ms |
Number of Invalid txs | 0 |
58f3c85
to
4106be0
Compare
4106be0
to
e7ee637
Compare
e7ee637
to
03e7850
Compare
A short write-up of the findings and important notes about the new network-resiliance tests.
03e7850
to
782f02b
Compare
This is a short writeup of the findings; added to the "networking" page as an investigation.
I think a broader re-write of the page is in order, but can come separately, as it's a bit more work to document all the existing knowledge and implementation details.
Note also that I took the liberty to update the version of Docusaurus.Edit: Nope, not doing this now, as it requires too many changes.Locally, it gives only some additional warnings; nothing errors and it seems to render the same. The main reason for this change is that the new Docusaurus version has a more up-to-date mermaidjs implementation that allows for nicer diagrams, such as this one, ablock-beta
style:Compare that to the exact same diagram in a normal mermaid "graph":