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

Generation of Leios node resource usage data from validated Haskell prototype #146

Open
Saizan opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels

Comments

@Saizan
Copy link
Contributor

Saizan commented Jan 20, 2025

Goals

  1. Run simulations for different orders of magnitude of throughput scenarios, providing network and CPU usage events and/or metrics useful for calculating running node costs. Compare data to the high-level cost estimator tool.
  2. Demonstrate adherence to the Short Leios protocol, also with the help of the formal specification.
  3. Within reason, incorporate new protocol variations from research workstream.

We believe the next two would be valuable goals, but we would like some feedback 📢

  1. Document mini-protocols design and solicit review from the Cardano Networking team.
  2. Build confidence in simulation results by comparison to an idealized diffusion model: we would see how close the simulation gets by disabling features the model ignores, and then measure the impact of re-enabling each feature.

Definition of done

Numbered to match the goals:

  1. Simulation trace contains events for the CPU usages of interest (cryptography operations and block validation) as specified in configuration, and also events for messages exchanged between nodes.
  2. Simulation trace contains Node activity events that can be compared to the state transitions of the formal specification, and conformance can be demonstrated through analysis and/or testing.
  3. Ongoing task.
  4. Draft of technical report comparable to mini-protocols section of the report for the current cardano-node.
  5. Written report describing the idealized diffusion model and the sources of discrepancy with the simulation.
@Saizan Saizan added draft help wanted Extra attention is needed PI Goal labels Jan 20, 2025
@Saizan Saizan self-assigned this Jan 20, 2025
@Saizan Saizan changed the title Generation of Node Resource Usage Data from Validated Haskell Prototype Generation of Leios node resource usage data from validated Haskell prototype Jan 20, 2025
@njd42
Copy link

njd42 commented Jan 21, 2025

This sounds like a very sensible and valuable approach. Creating idealised models helps with general socialisation as well as establishing reasonable 'stretch goals' during development.

Sharing the mini-protocols with the network team would be a good source of peer review

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

No branches or pull requests

3 participants