|
2 | 2 |
|
3 | 3 | \documentclass[11pt,a4paper]{article} |
4 | 4 |
|
| 5 | +\usepackage[margin=2.5cm]{geometry} |
5 | 6 | \usepackage[dvipsnames]{xcolor} |
6 | 7 | \usepackage{todonotes} |
7 | 8 | \usepackage{regexpatch} |
|
24 | 25 | } |
25 | 26 | \usepackage{subcaption} |
26 | 27 | \usepackage{listings} |
| 28 | +\usepackage{minted} |
27 | 29 | %%\newcommand{\debug}[1]{} |
28 | 30 | \newcommand{\debug}[1]{#1} |
29 | 31 | \newcommand{\scenarioVsIdealFigure}[2]{ |
@@ -149,9 +151,12 @@ \section{Summary} |
149 | 151 | \section{Scenario \ref{sc:most-idealized}} |
150 | 152 | \label{scenario1} |
151 | 153 | The least realistic scenario. Config: |
152 | | -\lstinputlisting[firstline=7]{scenario1/config.yaml} |
153 | | -\todo{remove config once scenario explained} |
154 | | - |
| 154 | +\begin{minted}{yaml} |
| 155 | +relay-strategy: "request-from-all" |
| 156 | +tcp-congestion-control: false |
| 157 | +multiplex-mini-protocols: false |
| 158 | +treat-blocks-as-full: true |
| 159 | +\end{minted} |
155 | 160 | In Figure~\ref{fig:scenario1} we compute ideal times two ways: |
156 | 161 | \begin{itemize} |
157 | 162 | \item \textbf{ideal} -- Uses $3$ latencies for every communication. |
@@ -262,11 +267,11 @@ \section{Scenario \ref{sc:tcp}} |
262 | 267 | \scenarioVsIdealFigure{scenario4-100-cpu}{sc:tcp-100-cpu} |
263 | 268 |
|
264 | 269 | From other simulations we noticed there is a sweet spot of traffic for diffusion to do best, which makes sense with regard to keeping the congestion window open without overwhelming other resources. In particular from Fig.~\ref{fig:scenario4-best-IB-rate} we see IBs do slightly better with these parameters: |
265 | | -\begin{lstlisting} |
| 270 | +\begin{minted}{yaml} |
266 | 271 | ib-body-avg-size-bytes: 163840 |
267 | 272 | leios-stage-length-slots: 60 |
268 | 273 | ib-generation-probability: 10 |
269 | | -\end{lstlisting} |
| 274 | +\end{minted} |
270 | 275 | and a topology where link bandwidth is set to $1024000$ bps, half of previous scenarios. |
271 | 276 | \scenarioVsIdealFigure{scenario4-best-IB-rate}{sc:tcp-opt} |
272 | 277 |
|
|
0 commit comments