Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ep:teme:01 [2025/04/16 01:07]
radu.mantu [1.3. bpftune]
ep:teme:01 [2025/04/17 00:08] (current)
radu.mantu
Line 67: Line 67:
 On **h3**, run an **iperf3** TCP server. From **h1**, connect to that sever with an **iperf3** client. What throughput did you obtain? On **h3**, run an **iperf3** TCP server. From **h1**, connect to that sever with an **iperf3** client. What throughput did you obtain?
  
-Next, spawn another **iperf3** server on **h3**, but this time make it UDP. Start two simultaneous connections:​ TCP from **h1** to h3 and UDP from **h2** to h3. For the UDP connection, set the bandwidth to 10Mbps from **iperf3**'​s command line arguments. What is the throughout of each experiment?+Next, spawn another **iperf3** server on **h3**, but this time make it UDP. Start two simultaneous connections:​ TCP from **h1** to h3 and UDP from **h2** to h3 (after a few seconds). For the UDP connection, set the bandwidth to 10Mbps from **iperf3**'​s command line arguments. What is the throughout of each experiment?
  
 <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>​
  
ep/teme/01.1744754833.txt.gz · Last modified: 2025/04/16 01:07 by radu.mantu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0