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

testground/tests: block reconstruction for 32/64 square size blocks #96

Closed
4 tasks done
Tracked by #21
Bidon15 opened this issue Oct 17, 2022 · 1 comment · Fixed by #97
Closed
4 tasks done
Tracked by #21

testground/tests: block reconstruction for 32/64 square size blocks #96

Bidon15 opened this issue Oct 17, 2022 · 1 comment · Fixed by #97
Assignees
Labels
experiment Experiments to find out either the tech is suitable for our needs testground related to testground

Comments

@Bidon15
Copy link
Member

Bidon15 commented Oct 17, 2022

We need to run experiments to know how long will it take for the full node(s) to reconstruct a block from a set of Light Nodes

In this scenario we are not having an assumption of withholding attacks

Pre-Requisite

Block Square Size
I
Light Nodes amount
J
32 350
64 1412

HW Resources setup for Block Square Size == 32

We already know that we can count on 172 cores CPU and 700 GB of RAM to allocate for testable nodes
Hence, our network setup/HW allocation will look like this:

  1. 5 Validators with each having 3 CPU and 4 Gb
  2. 5 Bridge Nodes with each having 3 CPU and 4 Gb
  3. 350 Light Nodes with each having 0.3 CPU and 1 Gb

Full Node Setup/HW Allocation

  • Case 1: 1 Full Node only having 37 CPU 256 Gb
  • Case 2: 2 Full Nodes with each 16 CPU and 128 Gb
  • Case 3: 3 Full Nodes with each 12 CPU and 64 Gb
  • Case 4: 4 Full Nodes with each 8 CPU and 32 Gb

Network Bandwidth:

  • Validator/Bridge/Full: 320Mib -- 50ms
  • Light: 100Mib -- 50ms

Network Topology

All Cases

For Cases 1-4 we enforce Full Nodes to blacklist all Bridge Nodes' multiaddresses to not receive any shares from them

Case 2:

175 Light nodes can share to 1 Full Node
2 Full Nodes can communicate between one another as they are trusted peers to each other

Case 3:

115 Light nodes can share to 1 Full Node
3 Full Nodes can communicate between one another as they are trusted peers to each other

Case 4:

87 Light nodes can share to 1 Full Node
4 Full Nodes can communicate between one another as they are trusted peers to each other

@Bidon15 Bidon15 added experiment Experiments to find out either the tech is suitable for our needs testground related to testground labels Oct 17, 2022
@Bidon15 Bidon15 self-assigned this Oct 17, 2022
@Bidon15 Bidon15 moved this to TODO in Celestia Node Oct 17, 2022
@Bidon15 Bidon15 moved this from TODO to In Progress in Celestia Node Oct 17, 2022
@derrandz
Copy link
Contributor

@derrandz to add bandwidth estimates from the calculator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experiment Experiments to find out either the tech is suitable for our needs testground related to testground
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants