Skip to content

Commit 2a936db

Browse files
authored
TW review of the weekly updates (#307)
1 parent 947b33e commit 2a936db

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

site/news/2025-04-14-weekly-progress-summary.md

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,62 @@ authors:
55
tags: [progress, update, weekly]
66
---
77

8-
This week, the team achieved significant milestones in both the Haskell and Rust simulations, improved cost estimates, and conducted comprehensive analyses of transaction lifecycle and Full Leios simulations.
8+
This week, the team made substantial progress in both the Haskell and Rust simulations, refined cost estimates, and carried out detailed analyses of the transaction lifecycle and Full Leios simulations.
99

1010
### Simulation improvements
1111

1212
#### Haskell simulation
13-
- Completed first draft of new mini protocols for leios diffusion
14-
- Protocols modeled after BlockFetch and node-to-node Tx-Submission from ouroboros-network
15-
- IB-relay, EB-relay, Vote-relay for header diffusion and body announcements
16-
- IB-fetch, EB-fetch for body diffusion
17-
- CatchUp protocol for older blocks
18-
- See `simulation/docs/network-spec` for complete protocol details
19-
- Renamed `short-leios` command to `leios` since it now covers full variant as well
20-
- `short-leios` is kept as alias for compatibility
13+
- Completed the first draft of new mini protocols for Leios diffusion
14+
- Modeled protocols after block-fetch and node-to-node transaction submission from `ouroboros-network`
15+
- Included IB relay, EB relay, and vote relay for header diffusion and body announcements
16+
- Included IB fetch and EB fetch for body diffusion
17+
- Worked on the CatchUp protocol for older blocks
18+
- See `simulation/docs/network-spec` for full protocol details
19+
- Renamed `short-leios` command to `leios` as it now covers the full variant as well
20+
- `short-leios` is kept as alias for compatibility.
2121

2222
#### Rust simulation
23-
- Fixed conformance with shared trace format
24-
- Fixed bug with voting logic which was preventing EBs from receiving enough votes to get on-chain
25-
- Updated visualization to use smaller trace files to prepare for hosting on docs site
23+
- Fixed conformance issues with the shared trace format
24+
- Fixed a bug in the voting logic that prevented EBs from receiving enough votes to be included on-chain
25+
- Updated visualizations to use smaller trace files in preparation for hosting on the documentation site.
2626

27-
### Revisions to cost dashboard
27+
### Revisions to the cost dashboard
2828

2929
The [cost dashboard](https://leios.cardano-scaling.org/cost-estimator/) was updated with lower and more realistic IO estimates.
3030

31-
### Analysis of transaction lifecycle
31+
### Transaction lifecycle analysis
3232

33-
The Jupyter notebook [Analysis of transaction lifecycle](https://github.com/input-output-hk/ouroboros-leios/blob/leios-2025w17/analysis/tx-to-block.ipynb) estimates the delay imposed by each of the seven stages of Full Leios as a transaction moves from memory pool to being referenced by a Praos block.
33+
The Jupyter notebook [Analysis of transaction lifecycle](https://github.com/input-output-hk/ouroboros-leios/blob/leios-2025w17/analysis/tx-to-block.ipynb) estimates the delay introduced at each of the seven stages of Full Leios as a transaction progresses from the memory pool to being referenced by a Praos block.
3434

3535
Key findings from the analysis:
36-
1. There seems little advantage to moving to stage lengths less than 10 slots
37-
2. The number of shards should be kept small enough so that the IB rate per shard is high relative to the stage length
36+
1. Reducing stage lengths below 10 slots offers little benefit
37+
2. The number of shards should remain low enough to maintain a high IB rate per shard relative to the stage length
3838
3. Low EB rates result in many orphaned IBs
39-
4. Realistic parameter settings result in an approximately two-minute delay between transaction submission and its referencing by an RB
39+
4. With realistic parameters, the delay from transaction submission to its inclusion in an RB is approximately two minutes.
4040

4141
Potential next steps:
42-
- Translating this model into Delta QSD to include network effects
43-
- Comparing this model's results to output of the Rust simulator
44-
- Elaborating the model to represent the memory-pool and ledger variants under consideration
42+
- Translate the model into Delta QSD to capture network effects
43+
- Compare the model’s output with results from the Rust simulator
44+
- Extend the model to account for different memory pool and ledger variants under evaluation.
4545

4646
### Simulation and analysis of Full Leios
4747

4848
The team conducted comprehensive simulations using both Haskell and Rust simulators at tag [leios-2025w16](https://github.com/input-output-hk/ouroboros-leios/releases/tag/leios-2025w16). The simulations covered 648 scenarios of Full and Short Leios with varied parameters:
49+
4950
- IB production rate
5051
- IB size
5152
- EB production rate
5253
- Stage length
53-
- CPU constraints
54+
- CPU constraints.
5455

5556
Two new output files were generated:
56-
1. Summary of network, disk, and CPU resource usage over the course of the simulation
57-
2. Vertices and edges of the "Leios graph" showing linkages between transactions, IBs, EBs, RBs, and votes (can be visualized as an interactive web page)
57+
1. A summary of network, disk, and CPU resource usage over the course of the simulation
58+
2. The vertices and edges of the Leios graph, showing linkages between transactions, IBs, EBs, RBs, and votes (can be visualized as an interactive web page).
5859

5960
Key findings:
60-
- Agreement between Rust and Haskell simulations is generally quite close
61-
- The Haskell simulation experiences network congestion at 16 IB/s, but the Rust simulation does not
62-
- The Rust simulation uses more CPU at high IB rates than the Haskell simulation
63-
- The Rust simulation sometimes does not produce enough votes to certify an EB
61+
- The Rust and Haskell simulations show generally close agreement
62+
- The Haskell simulation encounters network congestion at 16 IB/s, while the Rust simulation does not
63+
- The Rust simulation consumes more CPU at high IB rates than the Haskell simulation
64+
- In some cases, the Rust simulation does not produce enough votes to certify an EB.
6465

65-
Detailed results are available in the Jupyter notebook [analysis/sims/2025w16/analysis.ipynb](https://github.com/input-output-hk/ouroboros-leios/blob/leios-2025w17/analysis/sims/2025w16/analysis.ipynb).
66+
Detailed results are available in the Jupyter notebook [analysis/sims/2025w16/analysis.ipynb](https://github.com/input-output-hk/ouroboros-leios/blob/leios-2025w17/analysis/sims/2025w16/analysis.ipynb).

0 commit comments

Comments
 (0)