mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Restructured from flat .tex/.pdf files into per-paper subdirectories. Added Antje Worring as co-author on all papers. Synced PDFs to pdfs/ for download site.
56 lines
1.5 KiB
TeX
56 lines
1.5 KiB
TeX
\section{Benchmarks}
|
|
\label{sec:benchmarks}
|
|
|
|
\subsection{Full State Sync}
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\caption{Full state sync benchmarks on Lux C-Chain (48M accounts, 42 GB state).}
|
|
\label{tab:bench_full}
|
|
\begin{tabular}{lrrrr}
|
|
\toprule
|
|
\textbf{Configuration} & \textbf{Bandwidth} & \textbf{Peers} & \textbf{Time} & \textbf{Throughput} \\
|
|
\midrule
|
|
Low (home) & 25 Mbps & 4 & 78 min & 9.2 MB/s \\
|
|
Medium (VPS) & 100 Mbps & 8 & 28 min & 25.7 MB/s \\
|
|
High (datacenter) & 1 Gbps & 16 & 8 min & 89.6 MB/s \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{table}
|
|
|
|
\subsection{Incremental Sync}
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\caption{Incremental sync benchmarks (100 Mbps, 8 peers).}
|
|
\label{tab:bench_incr}
|
|
\begin{tabular}{lrrrr}
|
|
\toprule
|
|
\textbf{Staleness} & \textbf{State Changes} & \textbf{Diff Size} & \textbf{Sync Time} & \textbf{vs.\ Full} \\
|
|
\midrule
|
|
10 min & 8,000 & 1.3 MB & 0.5 s & 3{,}360x faster \\
|
|
1 hour & 50,000 & 8 MB & 3 s & 560x faster \\
|
|
1 day & 500,000 & 80 MB & 25 s & 67x faster \\
|
|
1 week & 2,000,000 & 320 MB & 90 s & 19x faster \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{table}
|
|
|
|
\subsection{Comparison with Full Replay}
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\caption{State sync vs.\ full historical replay (100 Mbps).}
|
|
\label{tab:vs_replay}
|
|
\begin{tabular}{lrr}
|
|
\toprule
|
|
\textbf{Method} & \textbf{Time} & \textbf{Data Downloaded} \\
|
|
\midrule
|
|
Full replay (from genesis) & 14+ hours & 200+ GB (all blocks) \\
|
|
State sync (full) & 28 min & 43 GB (state + proofs) \\
|
|
Incremental (1 day behind) & 25 s & 80 MB \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\end{table}
|
|
|