Ouroborous Leios cost estimator

v0.4, video tutorial

Explore the costs and benefits of Ouroborous Leios

WARNING: This is a very preliminary tool for estimating the costs of running Leios nodes. At this point, it is really just useful for structuring thinking about Leios costs and making some very rough calculations for guiding further study. The Leios R&D task aims to refine both the inputs to models like this and the cost model itself. Also note that the design of the Leios protocol itself is under revision. Ask questions on Discord or report problems on GitHub.

Leios inputs
Leios protocol Variant
Phases phase/pipeline
Phase length slot/phase
IB rate IB/slot
EB rate EB/pipeline
Mean votes vote/pipeline
Certificate rate cert/pipeline
Leios assumptions Transaction rate tx/s
IB Size kB/IB
IO IO/IB
Build vCPU*ms/IB
Verify vCPU*ms/IB
EB IB reference kB/IB
Size kB/EB
IO IO/EB
Build vCPU*ms/EB
Verify vCPU*ms/EB
Vote Size kB/vote
IO IO/vote
Build vCPU*ms/vote
Verify vCPU*ms/vote
Certificate Size kB/cert
IO IO/cert
Build vCPU*ms/cert
Verify vCPU*ms/cert
Other inputs
Praos protocol Slot length slot/s
Active slot coefficient RB/slot
Praos assumptions Transaction rate tx/s
RB Size kB/RB
IO IO/RB
Build vCPU*ms/RB
Verify vCPU*ms/RB
Current ledger size GB
Costs


vCPU USD/vCPU/month
Storage USD/GB/month
IOPS USD/(IO/s)/month
Network egress USD/GB
Discount rate Amortize? %/year
Stakepools Block producers nodes
Relays nodes
Upstream peer equivalents nodes
Downstream peer equivalents nodes
Design factor for spikes %/100
Fraction of stake %
Retained fees %
Scenario assumptions Transaction Mean size kB/tx
Verify vCPU*ms/tx
Fee per byte ADA/kB
Storage compression %
Price of ada USD/ADA
Estimates
Resources Compute ? vCPU/month
Disk ? GB/month
IOPS ? IO/s/month
Network egress ? GB/month
Network interface ? Gb/s/month
Costs Compute ? USD/month
Disk (amortized) ? USD/month
IOPS ? USD/month
Network egress ? USD/month
Total ? USD/month
Metrics Cost per transaction ? USD/tx
? ADA/tx
Retained fees ? USD/month
Retained fees − cost ? USD/month
Retained fees ÷ cost ? %