Skip to content

Commit 395e3ca

Browse files
authored
Experiments on Leios variants at tag leios-2025w26 (#429)
* Designed variants experiment * Updated trace processor to handle the no-IB variant * Analyzed variants experiment * Updated logbook
1 parent a78de5b commit 395e3ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6633
-9
lines changed

Logbook.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Leios logbook
22

3+
## 2025-06-27
4+
5+
### Simulation analysis of nine candidate variants of Leios
6+
7+
This new set of simulations examined three basic variants and three sharding strategies.
8+
9+
- Basic
10+
- Full
11+
- Full without IBs
12+
- Full with transaction references
13+
- Sharding
14+
- Unsharded
15+
- Sharded
16+
- Overcollateralized 1x (i.e., each tx has a probability of being included in two shards instead of one)
17+
18+
The network and CPU metrics for all of the variants were acceptable, but they had different spatial and temporal efficiencies.
19+
20+
| Variant | Sharding | Spatial Efficiency | Time to Ledger |
21+
|-------------------------|-----------------------|-------------------:|---------------:|
22+
| full | unsharded | 52.307% | 64.404s |
23+
| full | sharded | 92.043% | 137.362s |
24+
| full | overcollateralized 1x | 89.097% | 94.155s |
25+
| full without IBs | unsharded | 79.050% | 43.057s |
26+
| full without IBs | sharded | 79.052% | 43.052s |
27+
| full without IBs | overcollateralized 1x | 79.053% | 43.053s |
28+
| full with-tx references | unsharded | 95.999% | 63.763s |
29+
| full with-tx references | sharded | 96.466% | 137.324s |
30+
| full with-tx references | overcollateralized 1x | 96.413% | 94.112s |
31+
32+
See [analysis/sims/2025w26/analysis-variants-sharding.ipynb](analysis/sims/2025w26/analysis-variants-sharding.ipynb) for full details.
33+
34+
![Spatial efficiency of nine Leios variants](analysis/sims/2025w26/plots/vars/spatial-efficiency.svg)
35+
36+
![Temporal efficiency of nine Leios variants](analysis/sims/2025w26/plots/vars/reach-rb-tx.svg)
37+
338
## 2025-06-24
439

540
### Conflict experiment on simplest Leios variant

analysis/sims/2025w26/ReadMe.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Analyses at tag `leios-2025w26`
2+
3+
- Simplest variant of Leios: [analysis-simple-conflicts.ipynb](analysis-simple-conflicts.ipynb)
4+
- Nine proposed variants of Leios: [analysis-variants-sharding.ipynb](analysis-variants-sharding.ipynb)

analysis/sims/2025w26/analysis-variants-sharding.ipynb

Lines changed: 2785 additions & 0 deletions
Large diffs are not rendered by default.

analysis/sims/2025w26/combine-results.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33

44
set -e
55

6-
mkdir -p results/cxs
7-
8-
for d in cxs
6+
for d in vars
97
do
8+
mkdir -p results/$d
109
for f in cpus lifecycle resources receipts
1110
do
1211
DIR=$(find $d -type f -name $f.csv.gz \( -not -empty \) -printf %h\\n -quit)

analysis/sims/2025w26/plots/vars/reach-rb-tx.svg

Lines changed: 780 additions & 0 deletions
Loading
Lines changed: 173 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
sed -e 's/Label/Variant,Sharding/' \
4+
-e 's/full-/full,/' \
5+
-e 's/noib-/full-without-ibs,/' \
6+
-e 's/txrf-/full-with-tx-references,/' \
7+
-e 's/shard/sharded/' \
8+
-e 's/simpl/unsharded/' \
9+
-e 's/overc/overcollateralized-1/' \
10+
-i vars/*/case.csv
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Simulator,Variant,Sharding
2+
Rust,full,overcollateralized-1

0 commit comments

Comments
 (0)