Skip to content

Commit f7d839f

Browse files
committed
docs(cip): replace logical time periods with physical; minor fixes
1 parent eb1c1a6 commit f7d839f

File tree

1 file changed

+31
-32
lines changed

1 file changed

+31
-32
lines changed

CIP-0164/README.md

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ availability:
437437

438438
| Characteristic | Symbol | Description | Observed Range by Simulations |
439439
| -------------------------------------------------------------------- | :---------------------------: | --------------------------------------------------------------------------------------------------------------------------- | :---------------------------: |
440-
| <a id="delta-hdr" href="#delta-hdr"></a>Header propagation | $\Delta_\text{hdr}$ | Time for constant size headers (< 1,500 bytes) to propagate network-wide | <1 slot |
441-
| <a id="delta-rb" href="#delta-rb"></a>RB diffusion | $\Delta_\text{RB}$ | Complete ranking block propagation and adoption time | <5 slots |
442-
| <a id="delta-eb-H" href="#delta-eb-H"></a>EB optimistic diffusion | $\Delta_\text{EB}^{\text{O}}$ | EB **diffusion** time (transmission + processing) under favorable network conditions | 1-3 slots |
443-
| <a id="delta-eb-A" href="#delta-eb-A"></a>EB worst-case transmission | $\Delta_\text{EB}^{\text{W}}$ | EB **transmission** time for certified EBs starting from >25% network coverage (processing already completed during voting) | 15-20 slots |
440+
| <a id="delta-hdr" href="#delta-hdr"></a>Header propagation | $\Delta_\text{hdr}$ | Time for constant size headers (< 1,500 bytes) to propagate network-wide | < 1 second |
441+
| <a id="delta-rb" href="#delta-rb"></a>RB diffusion | $\Delta_\text{RB}$ | Complete ranking block propagation and adoption time | < 5 seconds |
442+
| <a id="delta-eb-H" href="#delta-eb-H"></a>EB optimistic diffusion | $\Delta_\text{EB}^{\text{O}}$ | EB **diffusion** time (transmission + processing) under favorable network conditions | 1-3 seconds |
443+
| <a id="delta-eb-A" href="#delta-eb-A"></a>EB worst-case transmission | $\Delta_\text{EB}^{\text{W}}$ | EB **transmission** time for certified EBs starting from >25% network coverage (processing already completed during voting) | 15-20 seconds |
444444

445445
<em>Table 1: Network Characteristics</em>
446446

@@ -462,8 +462,8 @@ availability:
462462

463463
| Characteristic | Symbol | Description | Observed Range by Simulations |
464464
| ------------------------------------------------------------------------ | :----------------------: | --------------------------------------------------------------- | :---------------------------: |
465-
| <a id="delta-reapply" href="#delta-reapply"></a>EB reapplication | $\Delta_\text{reapply}$ | Certified EB reapplication with minimal checks and UTxO updates | <1 slot |
466-
| <a id="delta-applytxs" href="#delta-applytxs"></a>Transaction validation | $\Delta_\text{applyTxs}$ | Standard Praos transaction validation time for RB processing | ~1 slot |
465+
| <a id="delta-reapply" href="#delta-reapply"></a>EB reapplication | $\Delta_\text{reapply}$ | Certified EB reapplication with minimal checks and UTxO updates | < 1 second |
466+
| <a id="delta-applytxs" href="#delta-applytxs"></a>Transaction validation | $\Delta_\text{applyTxs}$ | Standard Praos transaction validation time for RB processing | ~1 second |
467467

468468
<em>Table 2: Ledger Characteristics</em>
469469

@@ -1666,8 +1666,8 @@ $$
16661666
$$
16671667

16681668
**_Voting failure:_** An unlucky set of VRF evaluations might result in
1669-
insufficient voters being selected for a given EB, thus making it
1670-
impossible to certify that EB.
1669+
insufficient voters being selected for a given EB, thus making it impossible to
1670+
certify that EB.
16711671

16721672
$$
16731673
p_\text{noquorum} = \text{probability of sufficient voters to achieve a quorum for a given EB}
@@ -1768,13 +1768,13 @@ of transactions, in data that must be stored permanently as the ledger history.
17681768
<div align="center">
17691769
<a name="table-6" id="table-6"></a>
17701770

1771-
| Throughput [TxMB/s] | TPS at 1500 B/tx | Conditions | Mempool to EB [s] | Mempool to ledger [s] | Space efficiency [%] |
1772-
| ------------------: | ---------------: | --------------- | ----------------: | --------------------: | -------------------: |
1773-
| 0.050 | 33.3 | light load | 17.5 | 54.0 | 93.9 |
1774-
| 0.100 | 66.7 | moderate load | 18.0 | 54.9 | 95.8 |
1775-
| 0.150 | 100.0 | heavy load | 21.1 | 58.9 | 96.3 |
1776-
| 0.200 | 142.9 | congestion | 130.1 | 171.6 | 95.7 |
1777-
| 0.250 | 166.7 | over capacity | 238.8 | 282.4 | 94.3 |
1771+
| Throughput [TxMB/s] | TPS at 1500 B/tx | Conditions | Mempool to EB [s] | Mempool to ledger [s] | Space efficiency [%] |
1772+
| ------------------: | ---------------: | ------------- | ----------------: | --------------------: | -------------------: |
1773+
| 0.050 | 33.3 | light load | 17.5 | 54.0 | 93.9 |
1774+
| 0.100 | 66.7 | moderate load | 18.0 | 54.9 | 95.8 |
1775+
| 0.150 | 100.0 | heavy load | 21.1 | 58.9 | 96.3 |
1776+
| 0.200 | 142.9 | congestion | 130.1 | 171.6 | 95.7 |
1777+
| 0.250 | 166.7 | over capacity | 238.8 | 282.4 | 94.3 |
17781778

17791779
<em>Table 6: Leios efficiency at different throughputs</em>
17801780

@@ -1978,11 +1978,11 @@ block is being generated or validated. A more nuanced model of CPU usage in the
19781978
simulators would account for Plutus execution explicitly, but the linear models
19791979
described above are used to account for Plutus workloads implicitly. The
19801980
following plot of simulation results limit each node to 4 vCPU cores and suggest
1981-
that workloads of 10<sup>13</sup> Plutus execution steps per EB may be feasible: this is
1982-
500 times the current Cardano mainnet limit of 2×10<sup>10</sup> steps for Praos blocks. The
1983-
subsequent plot shows the 4 vCPUs becoming progressively more saturated with
1984-
heavier Plutus execution. Although these results suggest that Leios's
1985-
_block-level_ Plutus budget can safely be 2000 billion steps, it is
1981+
that workloads of 10<sup>13</sup> Plutus execution steps per EB may be feasible:
1982+
this is 500 times the current Cardano mainnet limit of 2×10<sup>10</sup> steps
1983+
for Praos blocks. The subsequent plot shows the 4 vCPUs becoming progressively
1984+
more saturated with heavier Plutus execution. Although these results suggest
1985+
that Leios's _block-level_ Plutus budget can safely be 2000 billion steps, it is
19861986
important to remember that this is for conditions where honest nodes faithfully
19871987
and promptly diffuse the transactions requiring the relatively expensive phase 2
19881988
(Plutus) validation: adversarial nodes could attempt to delay diffusion of
@@ -2043,12 +2043,15 @@ consider the following example based on simulated network measurements:
20432043

20442044
**Given Network Characteristics:**
20452045

2046-
- $\Delta_\text{hdr} = 1$ slot, $\Delta_\text{RB} = 5$ slots (Cardano mainnet
2047-
assumption for Praos security)
2048-
- $\Delta_\text{EB}^{\text{O}} = 7$ slots (EB diffusion: transmission +
2049-
processing), $\Delta_\text{EB}^{\text{W}} = 15$ slots (EB transmission time
2050-
for certified EBs)
2051-
- $\Delta_\text{reapply} = 1$ slot (EB reapplication time)
2046+
Based on the [network timing measurements](#network-characteristics):
2047+
2048+
- $\Delta_\text{hdr} = 1$ second, $\Delta_\text{RB} = 5$ seconds - Cardano
2049+
mainnet assumption for Praos security
2050+
- $\Delta_\text{EB}^{\text{O}} = 3$ seconds - EB diffusion: transmission +
2051+
processing
2052+
- $\Delta_\text{EB}^{\text{W}} = 15$ seconds - EB transmission time for
2053+
certified EBs
2054+
- $\Delta_\text{reapply} = 1$ second - EB reapplication time
20522055

20532056
**Timing Parameter Calibration:**
20542057

@@ -2155,8 +2158,8 @@ number of voters increases, so larger committee sizes might be permitted for
21552158
broader SPO participation and higher security. The committee size should be
21562159
large enough that fluctuations in committee membership do not create an
21572160
appreciable probability of an adversarial quorum when the adversarial stake is
2158-
just under 50%. The quorum size should be kept just large enough above 50% so that
2159-
those same fluctuations do not prevent an honest quorum. Larger committees
2161+
just under 50%. The quorum size should be kept just large enough above 50% so
2162+
that those same fluctuations do not prevent an honest quorum. Larger committees
21602163
require more network traffic, of course.
21612164

21622165
<a name="operating-costs"></a>**Operating costs**
@@ -2170,10 +2173,6 @@ pricing of ten common hyperscale and discount cloud providers. The cost of a
21702173
10,000-node Leios network can be computed from the cost per node. Storage costs
21712174
increase each month as the ledger becomes larger.
21722175

2173-
Throughput Average-size transactions Small transactions Per-node operation Per-node storage 10k-node network<br/>(first year) 10k-node network<br/>(first year)
2174-
<chr> <chr> <chr> <chr> <chr> <chr> <chr>
2175-
2176-
21772176
<div align="center">
21782177
<a name="table-8" id="table-8"></a>
21792178

0 commit comments

Comments
 (0)