This shows you the differences between two versions of the page.
ep:teme:01 [2025/04/16 01:09] radu.mantu [2.1. [20p] Set up the network simulation] |
ep:teme:01 [2025/04/17 00:08] (current) radu.mantu |
||
---|---|---|---|
Line 70: | Line 70: | ||
<note warning> | <note warning> | ||
- | Do not try to do this in **wsl**. It's kernel implements network namespaces very poorly and you will have disastrous results. You can however, solve this assignment in a VM. | + | Do not try to do this in **wsl**. Its kernel implements network namespaces very poorly and you will have disastrous results. You can however, solve this assignment in a VM. |
</note> | </note> | ||
Line 91: | Line 91: | ||
Try varying the bandwidths and delays of the **h1-r1** and **h2-r1** links. Best if you keep them symmetric. Record the same metrics that you've used in your previous experiment. | Try varying the bandwidths and delays of the **h1-r1** and **h2-r1** links. Best if you keep them symmetric. Record the same metrics that you've used in your previous experiment. | ||
- | Create two figures, one for the bandwidth-varying experiment, and one for the delay-varying experiment. Create multiple plots for these experiments within the same figure and explain what impact these variations had. Just to clarify, for the "throughput as a function of time" figure, plot each experiment where you vary the delay with **±k * 25ms** (with k = 0, 1, 2, 3, ...) and label them accordingly. Aim for something like [[https://stackoverflow.com/questions/22276066/how-to-plot-multiple-functions-on-the-same-figure|this]]. | + | Create two figures, one for the bandwidth-varying experiment, and one for the delay-varying experiment. Create multiple plots for these experiments within the same figure and explain what impact these variations had. Just to clarify, for the //"throughput as a function of time"// figure, plot each experiment where you vary the delay with **±k * 25ms** (with k = 0, 1, 2, 3, ...) and label them accordingly. Aim for something like [[https://stackoverflow.com/questions/22276066/how-to-plot-multiple-functions-on-the-same-figure|this]]. Also, that value of 25ms is just a suggestion. |
Automate the data acquisition part of this task as much as possible. Include any scripts that you've written / modified in your submission. | Automate the data acquisition part of this task as much as possible. Include any scripts that you've written / modified in your submission. | ||
Line 106: | Line 106: | ||
Your submission must be uploaded to [[https://curs.upb.ro/2024/mod/assign/view.php?id=156520|moodle]] by the **7th of May, 11:59pm** and must contain the following: | Your submission must be uploaded to [[https://curs.upb.ro/2024/mod/assign/view.php?id=156520|moodle]] by the **7th of May, 11:59pm** and must contain the following: | ||
- | - A **pdf report** with all your observations from each task, as well as plots illustrating your experiments. Writing this report in LaTeX is recommended but not obligatory. The plots can be generated in LaTeX from raw data (which you must include). The report should not be longer that 5 pages!!!! | + | - A **pdf report** (max. 5 pages, negotiable) with all your observations from each task, as well as plots illustrating your experiments. Writing this report in LaTeX is recommended but not obligatory. |
- The Netlink Socket Diagnostics tool that you've implemented and used in acquiring runtime data. | - The Netlink Socket Diagnostics tool that you've implemented and used in acquiring runtime data. | ||
- Any scripts used for automating boring / repetitive tasks. | - Any scripts used for automating boring / repetitive tasks. | ||
+ | |||
+ | <note tip> | ||
+ | If you decide to write the report in LaTeX, try [[https://github.com/tectonic-typesetting/tectonic|tectonic]]. It's much leaner than **pdflatex** and will automatically install the packages included in your source files. **tectonic** packages should be available on most distributions. To compile your report, simply: | ||
+ | |||
+ | <code bash> | ||
+ | $ tectonic report.tex | ||
+ | </code> | ||
+ | ---- | ||
+ | The plots can be generated in LaTeX from raw data. | ||
+ | </note> | ||