|
| 1 | +--- |
| 2 | +title: Weekly Summary – March 17, 2025 |
| 3 | +authors: |
| 4 | +- will |
| 5 | +tags: [progress, update, weekly] |
| 6 | +--- |
| 7 | + |
| 8 | +This week, the team made great progress in the Leios protocol development, focusing on improving simulation capabilities and understanding the behavior of the protocol in different network conditions. A comparison of Haskell and Rust simulations across [**18 scenarios**](https://github.com/input-output-hk/ouroboros-leios/blob/main/analysis/sims/2025w12/analysis.ipynb) revealed that Leios protocol scales well to mainnet-size networks. However, the protocol tends to experience congestion once the input-block rate reaches 30 IB/s. |
| 9 | + |
| 10 | +## Simulation comparison |
| 11 | + |
| 12 | +- Compared [**18 scenarios**](https://github.com/input-output-hk/ouroboros-leios/blob/main/analysis/sims/2025w12/analysis.ipynb) between Haskell and Rust simulations at tag [`leios-2025w12`](https://github.com/input-output-hk/ouroboros-leios/releases/tag/leios-2025w12) |
| 13 | +- Recent fixes and adjustments enabled meaningful comparison between simulations |
| 14 | +- Identified differences when comparing the Haskell and Rust results, which are under active investigation. |
| 15 | + |
| 16 | +### Analysis of simulations |
| 17 | + |
| 18 | +- Completed the first simulation of Short Leios for varied IB production rate, IB size, and network topology |
| 19 | +- In the simulations, the Leios protocol scales well to mainnet-size networks |
| 20 | +- Identified congestion in the protocol once the input-block rate reaches 30 IB/s |
| 21 | +- Suggested that allowing IBs larger than current Praos RBs may have advantages in TCP efficiency, network usage, and adapting to fluctuating transaction loads. |
| 22 | + |
| 23 | +| Peak CPU | Mean CPU | |
| 24 | +|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------| |
| 25 | +|  |  | |
| 26 | + |
| 27 | +### HasKell simulation |
| 28 | + |
| 29 | +- Implemented expiration of blocks |
| 30 | + - Blocks are cleared from relay buffer as soon as they should stop diffusing, then cleared from other state as specified |
| 31 | +- Implemented first stab at Full Leios implementation |
| 32 | + - Only lightly tested so far |
| 33 | + - Added `praos-chain-quality` configuration parameter for the `\eta` parameter from the spec. |
| 34 | + |
| 35 | +### Rust simulation |
| 36 | + |
| 37 | +- Implemented first pass at Full Leios, with guesses for some parameters. |
| 38 | + |
| 39 | +### Formal methods |
| 40 | + |
| 41 | +- Short Leios trace verification: For Short Leios, we are modelling the local state evolution of a node |
| 42 | +- Developed the initial trace verifier for Short Leios simulation traces in `leios-trace-verifier`. |
0 commit comments