Training Workbook Template

Training Workbook Template

<p>Setting up and Operating a PERT Technical Session 1</p><p>Training Workbook Technical Session 1 Technical Session 1 Training Workbook</p><p>Issue 1.0</p><p>© DANTE 2007</p><p>All trademarks are acknowledged.</p><p>Every effort has been made to ensure that the information contained in this document is true and correct at the time of going to press. However, the networks, systems, products, processes, specifications and content in general described in this document are subject to continuous development and DANTE is entitled to change them at any time and to expand on them. DANTE cannot accept liability for any loss or damage of any nature whatsoever arising or resulting from the use of or reliance on information or particulars in this document. </p><p>All names and other data used in examples are fictitious.</p><p>The information contained in this document is of a general nature. Should you require further advice for your particular business requirements, please refer to the contact details below.</p><p>No part of this document may be reproduced by any means, other than with the express written permission of the copyright holder.</p><p>DANTE refers to Delivery of Advanced Network Technology to Europe Limited or any of its wholly owned subsidiaries. Table of Contents</p><p>Table of Contents...... 3 Table of Slides...... 4 Introduction...... 6 Aim of the Workbook...... 7 Course Objectives...... 8 Course Outline...... 9 Module 6 – Network Performance and User Expectations...... 10 Module 7 – Bulk Transfers Under TCP...... 34 Case Study: Finding out how to Tune Your Laptop’s TCP Stack...... 46 Case Study: Explore Performance Over two Contrasting Paths...... 75</p><p>© DANTE 2007 Page 3 of 77 Table of Slides What Factors Shape User Expectations?...... 11 Users’ Perception of Performance...... 12 The ‘Wizard Gap’...... 13 What Factors Really Shape Performance?...... 14 One-Way Delay (1)...... 15 One-Way Delay (2)...... 16 One-Way Delay (3)...... 17 Improving Delay...... 18 Round Trip Time (1)...... 19 Round Trip Time (2)...... 20 Round Trip Time (3)...... 21 Delay Variation: An Example...... 22 Delay Variation: Definition and Implications...... 23 Packet Reordering (1)...... 24 Packet Reordering (2)...... 25 Packet Loss (1)...... 26 Packet Loss (2)...... 27 Packet Loss (3)...... 28 Packet Loss (4)...... 29 Packet Loss (5)...... 30 Maximum Transmission Unit (1)...... 31 Maximum Transmission Unit (2)...... 32 Maximum Transmission Unit (3)...... 33 Overview of Bulk Transfers...... 35 Window-Based Transmission...... 36 How Does Window-Based Transmission Work?...... 37 The Sliding Window...... 38 Window Size and Throughput...... 39 Links, Paths and Pipes...... 40 Window Size Calculation...... 41 How is the Window Size Determined?...... 42 Window Size and Performance...... 43 Tuning Your Host for Maximum Transmission Rates (1)...... 44</p><p>Page 4 of 77 © DANTE 2007 Tuning Your Host for Maximum Transmission Rates (2)...... 45 The Goals of Early TCP (1)...... 47 The Goals of Early TCP (2)...... 48 ‘Congestion Collapse’ in the Late 1980s...... 49 Why did Congestion Collapse Occur?...... 50 Why did Congestion Collapse Occur? (2)...... 51 Introduction of Congestion Controls...... 52 Avoiding Congestion: the Congestion Window...... 53 Slow Start...... 54 Congestion Collapse Fixed...... 55 Digression: Self-Clocking...... 56 Congestion Avoidance and the Slow Start Threshold...... 57 Slow start, the Slow Start Threshold and Congestion Avoidance: an Example...58 Dealing with Congestion: Principles...... 59 TCP’s Response to Congestion...... 60 Fast Retransmit and Fast Recovery...... 61 The Window Closes Aggressively in Response to Retransmission Timeout...... 62 The Window Closes Less in Response to Duplicate ACKs...... 63 Problems with TCP Congestion Control...... 64 Trouble With the Elephants (1)...... 65 Trouble With the Elephants (2)...... 66 High-Speed TCP Variants...... 67 Explicit Congestion Control Protocols (1)...... 68 Explicit Congestion Control Protocols (2)...... 69 Implicit Congestion Control Protocols (1)...... 70 Implicit Congestion Control Protocols (2)...... 71 Network Tuning for Better Congestion Control (1)...... 72 Network Tuning for Better Congestion Control (2)...... 73 Network Tuning for Better Congestion Control (3)...... 74</p><p>© DANTE 2007 Page 5 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Introduction</p><p>Page 6 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Aim of the Workbook</p><p>This workbook is designed for use in conjunction with the Technical Session 1 workshop.</p><p>The course is structured so that the facilitator presents functionality using slides. Where relevant and possible, the participants then have the opportunity to complete exercises to consolidate their learning. A training environment has been set up with training data provided, allowing participants to practice in a safe environment.</p><p>The aim of the workbook is to be a working document, reinforcing the information presented by the facilitator. Each delegate will have a copy of this workbook, which can be taken away and can be referred to at a later date. It is not designed to provide a detailed explanation of all aspects of a technology or application.</p><p>For further information about GÉANT2 training courses, mail [email protected].</p><p>© DANTE 2007 Page 7 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Course Objectives</p><p>By the end of this course, you will be able to:</p><p> Describe the rationale for and the structure and ethos of a federated PERT.</p><p> Set up local PERTs within a federated PERT structure.</p><p> Describe the methodologies used to investigate performance issues.</p><p> Use a variety of tools to investigate performance issues.</p><p>You will also have the opportunity to provide feedback about the evolution of the PERT and its systems.</p><p>Page 8 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Course Outline</p><p>First Technical Session</p><p> Module 6 – Network Performance and User Expectations</p><p> Module 7 – Bulk Transfers Under TCP</p><p>© DANTE 2007 Page 9 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Module 6 – Network Performance and User Expectations</p><p>Page 10 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>What Factors Shape User Expectations?</p><p>Notes:</p><p>© DANTE 2007 Page 11 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Users’ Perception of Performance</p><p>Notes:</p><p>Page 12 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The ‘Wizard Gap’</p><p>Notes:</p><p>© DANTE 2007 Page 13 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>What Factors Really Shape Performance?</p><p>Notes:</p><p>Page 14 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>One-Way Delay (1)</p><p>Notes:</p><p>© DANTE 2007 Page 15 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>One-Way Delay (2)</p><p>Notes:</p><p>Page 16 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>One-Way Delay (3)</p><p>Notes:</p><p>© DANTE 2007 Page 17 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Improving Delay</p><p>Notes:</p><p>Page 18 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Round Trip Time (1)</p><p>Notes:</p><p>© DANTE 2007 Page 19 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Round Trip Time (2)</p><p>Notes:</p><p>Page 20 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Round Trip Time (3)</p><p>Notes:</p><p>© DANTE 2007 Page 21 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Delay Variation: An Example</p><p>Notes:</p><p>Page 22 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Delay Variation: Definition and Implications</p><p>Notes:</p><p>© DANTE 2007 Page 23 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Reordering (1)</p><p>Notes:</p><p>Page 24 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Reordering (2)</p><p>Notes:</p><p>© DANTE 2007 Page 25 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Loss (1)</p><p>Notes:</p><p>Page 26 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Loss (2)</p><p>Notes:</p><p>© DANTE 2007 Page 27 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Loss (3)</p><p>Notes:</p><p>Page 28 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Loss (4)</p><p>Notes:</p><p>© DANTE 2007 Page 29 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Packet Loss (5)</p><p>Notes:</p><p>Page 30 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Maximum Transmission Unit (1)</p><p>Notes:</p><p>© DANTE 2007 Page 31 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Maximum Transmission Unit (2)</p><p>Notes:</p><p>Page 32 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Maximum Transmission Unit (3)</p><p>Notes:</p><p>© DANTE 2007 Page 33 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Module 7 – Bulk Transfers Under TCP</p><p>Page 34 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Overview of Bulk Transfers</p><p>Notes:</p><p>© DANTE 2007 Page 35 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Window-Based Transmission</p><p>Notes:</p><p>Page 36 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>How Does Window-Based Transmission Work?</p><p>Notes:</p><p>© DANTE 2007 Page 37 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The Sliding Window</p><p>Notes:</p><p>Page 38 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Window Size and Throughput</p><p>Notes:</p><p>© DANTE 2007 Page 39 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Links, Paths and Pipes</p><p>Notes:</p><p>Page 40 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Window Size Calculation</p><p>Notes:</p><p>© DANTE 2007 Page 41 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>How is the Window Size Determined?</p><p>Notes:</p><p>Page 42 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Window Size and Performance</p><p>Notes:</p><p>© DANTE 2007 Page 43 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Tuning Your Host for Maximum Transmission Rates (1)</p><p>Notes:</p><p>Page 44 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Tuning Your Host for Maximum Transmission Rates (2)</p><p>Notes:</p><p>© DANTE 2007 Page 45 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Case Study: Finding out how to Tune Your Laptop’s TCP Stack</p><p>Firstly, check your computer’s current configuration.</p><p>Examine the information in the PERT Knowledge Base (PERT KB) about your operating system. (see http://kb.pert.geant2.net/PERTKB/EndSystemTuning). Using this information, find out how much throughput you can expect on a path with 100ms RTT in the best case (transmit and receive).</p><p>How would you tune your laptop to sustain 100Mbps at 120ms RTT (send and receive)?</p><p>Page 46 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The Goals of Early TCP (1)</p><p>Notes:</p><p>© DANTE 2007 Page 47 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The Goals of Early TCP (2)</p><p>Notes:</p><p>Page 48 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>‘Congestion Collapse’ in the Late 1980s</p><p>Notes:</p><p>© DANTE 2007 Page 49 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Why did Congestion Collapse Occur?</p><p>Notes:</p><p>Page 50 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Why did Congestion Collapse Occur? (2)</p><p>Notes:</p><p>© DANTE 2007 Page 51 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Introduction of Congestion Controls</p><p>Notes:</p><p>Page 52 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Avoiding Congestion: the Congestion Window</p><p>Notes:</p><p>© DANTE 2007 Page 53 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Slow Start</p><p>Notes:</p><p>Page 54 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Congestion Collapse Fixed</p><p>Notes:</p><p>© DANTE 2007 Page 55 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Digression: Self-Clocking</p><p>Notes:</p><p>Page 56 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Congestion Avoidance and the Slow Start Threshold</p><p>Notes:</p><p>© DANTE 2007 Page 57 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Slow start, the Slow Start Threshold and Congestion Avoidance: an Example</p><p>Notes:</p><p>Page 58 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Dealing with Congestion: Principles</p><p>Notes:</p><p>© DANTE 2007 Page 59 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>TCP’s Response to Congestion</p><p>Notes:</p><p>Page 60 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Fast Retransmit and Fast Recovery</p><p>Notes:</p><p>© DANTE 2007 Page 61 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The Window Closes Aggressively in Response to Retransmission Timeout</p><p>Notes:</p><p>Page 62 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>The Window Closes Less in Response to Duplicate ACKs</p><p>Notes:</p><p>© DANTE 2007 Page 63 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Problems with TCP Congestion Control</p><p>Notes:</p><p>Page 64 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Trouble With the Elephants (1)</p><p>Notes:</p><p>© DANTE 2007 Page 65 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Trouble With the Elephants (2)</p><p>Notes:</p><p>Page 66 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>High-Speed TCP Variants</p><p>Notes:</p><p>© DANTE 2007 Page 67 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Explicit Congestion Control Protocols (1)</p><p>Notes:</p><p>Page 68 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Explicit Congestion Control Protocols (2)</p><p>Notes:</p><p>© DANTE 2007 Page 69 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Implicit Congestion Control Protocols (1)</p><p>Notes:</p><p>Page 70 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Implicit Congestion Control Protocols (2)</p><p>Notes:</p><p>© DANTE 2007 Page 71 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Network Tuning for Better Congestion Control (1)</p><p>Notes:</p><p>Page 72 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Network Tuning for Better Congestion Control (2)</p><p>Notes:</p><p>© DANTE 2007 Page 73 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Network Tuning for Better Congestion Control (3)</p><p>Notes:</p><p>Page 74 of 77 © DANTE 2007 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Case Study: Explore Performance Over two Contrasting Paths</p><p>1a) Assume a path with constant RTT and constant packet loss rate p << 1 with periodic loss, i.e. every sequence of 1/p packets of size MSS is followed by one lost packet. Calculate the average throughput during congestion avoidance if the receiver acknowledges every packet.</p><p> Hint: the congestion window oscillates between the maximum value W and W/2 in a "sawtooth" pattern with period W/2 RTT. The throughput is given by T = data per cycle/time of cycle and can be expressed as a function of p, RTT and MSS.</p><p>Solution: T = MSS/RTT * sqrt(3/(2*p))</p><p>1b) Compare the result to that of a window-limited transfer T = window/RTT</p><p>2) Give an intuitive explanation why a short path can tolerate much higher loss rates than a long path.</p><p>© DANTE 2007 Page 75 of 77 Technical Session 1: Training Workbook Module 7 – Bulk Transfers Under TCP</p><p>Page 76 of 77 © DANTE 2007 DANTE Limited Tel: +44 (0) 1223 371300 City House Fax: +44 (0) 1223 371371 126 – 130 Hills Road Web: www.DANTE.net Cambridge CB2 1PQ UK</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    77 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us