SlideServe
Menu
Préférences
© SlideServe · v2026

Assignment #4

theta avatar
11 diapositives · 253 Views · Oct 09, 2014

Assignment #4. TCP+AQM (Continued), Binomial Congestion Control, Experiment Design Due the Sunday Oct 8th, 11:55pm Note: we are giving more time because this is a longer assignment (actually the old assgt 4 & 5 together). Questions. Reno TCP vs. SACK TCP

Assignment #4 - slide 1
01 / 11Assignment #4
1 / 17

Télécharger la présentation

Assignment #4
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Assignment #4 TCP+AQM (Continued), Binomial Congestion Control, Experiment Design Due the Sunday Oct 8th, 11:55pm Note: we are giving more time because this is a longer assignment (actually the old assgt 4 & 5 together).

  2. Questions • Reno TCP vs. SACK TCP • What’s the key difference between them? • What metrics are appropriate for measuring this difference? • Design a test scenario to show the difference. • TCP AIMD Congestion Control vs Binomial CC: • What’s the key difference between them? • What metrics are appropriate for measuring this difference? • [Note: In the next class, we will IMPLEMENT Binomial CCs in ns-2] • RED vs. DropTail • What’s the key difference? • Why RED drops packet randomly? • What’s the major effect if using RED instead of DropTail? Shivkuma@ecse.rpi.edu

  3. Questions • Suppose a number of flows share a single droptail bottleneck • If you change the following parameters, what do you expect? • Buffer size from 10 packets to 1000 packets; • Segment size from 100B to 1KB; • The number of flows from 3 to 10. • Write down what do you expect? Shivkuma@ecse.rpi.edu

  4. Assignment #4 • Validate the experiment in Section 6.5 of tcp-sack paper • Sample code at /home/net/ns/ns-2.26/tcl/test/test-sack • Generate your own ns script based on the sample code DropTail: limited buffer size TCP connection 8Mbps, 0.1ms 0.8Mbps, 100ms src dst router • Generate Sequence # vs. Time graph at the node src; • Compute average throughput at dst. Shivkuma@ecse.rpi.edu

  5. Submission (for this part) • Write ns2 script to measure TCP Reno/SACK performance difference. • Submissions: • Ns2 simulation script; • All graphs and statistics. • Due the Sunday Oct 8th, 11:55pm Shivkuma@ecse.rpi.edu

  6. Experiment Design • Use ExpDesigner to evaluate the influence of several parameters on TCP performance • TCP Reno vs. SACK • Buffer Size: 50 vs. 500 pkts • Segment Size: 100 vs. 1000 bytes • Router AQM: DropTail vs. RED • Suggested performance metrics: • goodput, queue length, bottleneck utilization Shivkuma@ecse.rpi.edu

  7. Code • Download Tao’s ExpDesigner from the course web site: • http://www.ecse.rpi.edu/Homepages/shivkuma/teaching/fall2003/class05/ed.tar • Get-effects.pl is updated (already included in ed.tar)! • How to use? • Untar it into your local machine; • Start farmer/worker using “start_system.sh” for only once; • Complete the ns-2 simulation script file tcp.tcl; • Then “./run”, you will get results for a performance matrics. Shivkuma@ecse.rpi.edu

  8. Binomial Congestion Control • Implement any one binomial congestion control algorithm in ns-2 • Find the c++ source file in ~/ns/ns-2.1b7/tcp.cc • Increase: void TcpAgent::opencwnd() • Decrease: void TcpAgent::slowdown() • Set the appropriate parameters from TCL script to use Binomial CC • Performance matrics: • cwnd vs. time, or • throughput vs. time. Shivkuma@ecse.rpi.edu

  9. Multi Bottleneck Topology • Using the following multiple bottleneck topology • Generate your own ns script based on previous code • cwnd vs. time for the green flow 1Mbps, 5ms DropTail N0 N1 N2 N3 N4 Shivkuma@ecse.rpi.edu

  10. Graduate Students Only • Browse the first 4 chapters of Tao Ye’s PhD Thesis (upto page 55): • http://www.ecse.rpi.edu/Homepages/shivkuma/research/papers/tao-phd-thesis.pdf • Summarize how he applies the ideas of experiment design to network management. • Summarize key differences between various search algorithms he reviews; and between search/optimization and regression modeling done in traditional experiment design Shivkuma@ecse.rpi.edu

  11. Submission • Submissions: • Ns2 simulation script; • All statistics from exp_designer; • Analysis (most important part). • Binomial CC: implementation code + graphs • Grad Students: reading/summaries from Tao’s thesis. • Due the Sunday Oct 8th, 11:55pm Shivkuma@ecse.rpi.edu