Report on Transport Protocols over Mismatched-rate Layer-1 Circuits with 802.3x Flow Control

Size: px
Start display at page:

Download "Report on Transport Protocols over Mismatched-rate Layer-1 Circuits with 802.3x Flow Control"

Transcription

1 Report on Transport Protocols over Mismatched-rate Layer-1 Circuits with 82.3x Flow Control Helali Bhuiyan, Mark McGinley, Tao Li, Malathi Veeraraghavan University of Virginia {helali, mem5qf, taoli, Observation point 1Gbps Buffer 155Mbps Sender Receiver Fig. 2: Scenario Setup Fig. 1: Generic Gigabit Ethernet LIM I. INTRODUCTION This report describes our work detailing the operation and performance of TCP-based transport protocols (Reno, BIC, and CTCP) on Layer-1 circuits, in which a Gigabit Ethernet port on an end host has been directly mapped to a SONET circuit of lower rate (e.g., a 155 Mbps OC3). The switch uses IEEE 82.3x flow control to prevent the sender from overwhelming the switch s buffer. Current equipment such as Multiservice Provisioning Platforms (MSPPs) can act as virtual-circuit/circuit gateways (G/Ws) that offers both Ethernet and SONET line interface modules (LIMs) with a SONET-based switch fabric. An Ethernet LIM has Ethernet ports on the front end (the left edge of Stage One in Fig. 1) and SONET (virtual) ports on the back end (the right edge of Stage Three in Fig. 1) through which the card is connected to the backplane. The backplane thus brings SONET signals from all interface cards, both Ethernet and SONET, to the switch fabric card where the signals are crossconnected according to programmed configuration information. Generic Framing Procedure (GFP) and virtual concatenation (VCAT) [1] technologies are implemented in the Ethernet interface cards to map Ethernet frames into SONET frames. For a matched-rate circuit, a 1 Gbps (GbE) port would be cross-connected to a 7-OC3c SONET signal. Configuration of a mismatched-rate circuit is allowed, e.g., a GbE port can be mapped to an OC3c SONET signal. Regardless of whether the circuit is a matched- or mismatched-rate circuit, since the whole port is mapped to a SONET signal, these type of circuits are referred to as port-mapped or Layer-1 circuits. In a mismatched-rate circuit, Ethernet frames may arrive at an Ethernet port at a rate faster than the rate of the SONET circuit to which this port is crossconnected. We consider the case when Pause frames are generated to stop the sender, in accordance with 82.3x flow control. Using VCAT, we create a virtual-concatenation group (VCG) on the back-end of the Ethernet LIM. This groups multiple timeslots to form a VCG (on the LIMs back end), onto which front-end Ethernet traffic from a port is mapped. In Fig. 1, the VCGs are realized in Stage Two. For the SN16, these VCGs have a 2MB buffer. The Pause ON Threshold is configured to 1 MB and the Pause OFF Threshold is configured to 2 KB. The rate mismatch between a GbE port and an OC3 circuit causes this VCG buffer to fill. By using Pause frames, the switch prevents this buffer from completely filling, which would cause packet loss. We will discuss the impact of Pause frames on TCP in the following section. II. TCP BEHAVIOR IN CIRCUITS In Fig. 2, we have a sender directly connected to a switch through GbE interface. We set up an OC3 (155 Mbps) circuit from the switch to the receiver host. The round-trip time () between the sender and the receiver is 8 ms. We have the following parameters in this setup, Standard packet size of 15 bytes Time to emit a single 15 byte packet by a 1GbE NIC is 12us Time to forward a single packet at OC3 rate is 8us The BDP of the link is 1 packets TCP ssthresh is set to 64KB or 42 packets When a TCP connection is set up between the sender and the receiver, the TCP sender starts with the slow-start phase, where congestion window () is initially set to 1 (or 2) packet(s). During slow start, the is increased by one packet after receiving each ACK back from the receiver. Hence, increases in an exponential rate. Fig. 3 explains the slow-start phase. The top line of Fig. 3 shows the packets transmitted by the sender over time. The

2 Serving: 1 Queued: None Serving: 2 Queued: 3 Queued: None Serving: 5 Queued: 6, 7 Serving: 11 Queued: 12, 13, 14, Data frame sent ACK seen by Sender 1 12us trigger ACK Two packets outstanding Four packets outstanding 8 us ACK2 ACK3 ACK4 ACK5 ACK6 ACK7 Time (a) Time = 4ms (b) Time = 6ms Fig. 3: Explanation of Slow Start 5+1/5 bottom line shows the ACK packets received by the sender over time. Each packet transmitted by the sender is numbered is the the order they transmitted. We number the ACK packets as ACKn, where n is the data packet being ACKed. Initially, is set to 1 and packet 1 is sent at time. ACK1 arrives at the sender after one. This causes the to increase to 2, at which point the TCP sender sends packets 2 and 3 back-to-back. Since the transmission time for a 15 byte packet is 8us at the OC3 rate, packet 2 and 3 arrives at the receiver 8us apart. Therefore, ACK2 and ACK3 are also received 8us apart at the sender. After receiving ACK2, is increased to 3 and TCP sender sends two new packets, 4 and 5, back-to-back (as packet 3 is still outstanding). While packet 4 is being forwarded by the switch, packet 5 will be queued inside the switch buffer. Similarly, when ACK3 arrives after 8us, grows to 4 and packets 6 and 7 are sent. As packet 5 is being served by the switch at this time, packet 6 and 7 will be queued. A similar analysis can be done for packet 8 through 15. This behavior, that x if the size of the congestion window is x, 2 packets will be queued inside the switch, is explained by Savage et. al in [2]. During slow start, every successfully acknowledged packet increases the windowsize by one packet. Thus, the sender transmits two packets for every new acknowledgment. Since the acknowledgments are generated at the bottleneck rate, this implies that the sender is bursting data at twice the bottleneck rate, leading to the formation of a queue at the bottleneck link [3]. When the sender window is W 2 packets, the sender gets W 2 acknowledgements with a spacing of one time unit between consecutive acknowledgments. In response, the sender transmits two packets for each acknowledgment or a total of W packets in W 2 time units. Since the bottleneck can forward only W 2 packets in W 2 time units, the other half of the packets are queued. Therefore, during slow start, a sender window size of W builds up a queue of size W 2 at the bottleneck router. Note that, during one period, if the congestion window is less than or equal to the BDP in packets, then packets will not build up in the buffer. That is, at the start of a new period, all the previous packets will have been transmitted out of the buffer. However, when the congestion window is greater than the BDP in packets, the amount of packets in the buffer builds up according to the above description / (c) Time = 8ms (d) Time = 8ms + 8us 1 99 (e) Time = 12ms Fig. 4: Congestion Avoidance. < BDP Since the ssthresh is set to 42 packets, TCP will enter into the congestion avoidance phase once grows past 42. During congestion avoidance, increases by 1/ packets as each ACK packet is received. In other words, is increased by one packet after each. To understand TCP s behavior in congestion avoidance phase, we use Figures 4 and 5. In Fig. 4, we explain the case when is below the BDP of the link. Fig. 5 explains the case when reaches the BDP and exceeds the BDP. In both figures, packets are numbered in the order they are sent. At time, packet 1 is sent. Then we show states of the system at specific times, shown below each figure. Larger packets above the line are data packets sent by the sender, and shorter packets below the line are ACK packets. ACK packets are numbered to the packet which they acknowledge. In Fig. 4, we assume that the is set to 5 packets, which is exactly half of the BDP, and all packets and ACKs from previous s are processed. After 4ms, packet 1 arrives at the receiver (Fig. 4a). Since the number of outstanding packets in Fig. 4b is 5, the sender sits idle. ACK1 for the first packet arrives at the sender after 8ms (Fig. 4c), which allows the sender to send packet. Similarly, the following ACKs permit the sender to send more packets. Once ACK5 is received, is increased to exactly. This allows the sender to send packet 1 and 11 back-to-back. Packet 11 gets queued inside the switch buffer while packet 1 is being forwarded. Hence, the buffer grows to 1 momentarily, but drops to again once packet 11 is forwarded. Therefore, the switch buffer momentarily queues one packet only when grows to the next integer. This behavior continues until

3 (a) Time = 8ms (b) Time = 12ms (c) Time = 16ms (d) Time = 16ms + 8us (e) Time = 24ms Fig. 5: Congestion Avoidance. = BDP grows to BDP of the link. In Fig. 5, we explain what happens when the is equal to BDP, which is 1 packets. When is equal or larger than the BDP, TCP sends packets at a streaming rate, or continuously without idle periods waiting for ACKs. We assume that packet 1 is the first packet when is 1 and sent at time. Figures 5a and 5b show the system state after 8 and 12ms. Once ACK1 arrives after 8ms (Fig. 5c), the grows to the next integer 11. Hence, the sender can send packets 199 and 2 back-to-back, but packet 2 will be queued. Similarly, ACK11 allows the sender to send packet 21, which is queued as packet 2 is being forwarded by the switch (Fig 5d). Likewise, each incoming ACK will allow the sender, being in a streaming state, to send one more packet, which will be queued. So, there will be always one packet queued inside the switch buffer until grows to 12, at which time there will be always 2 packets queued inside the switch buffer (Fig. 5e). In other words, during congestion avoidance phase, there will be always ( BDP ) number of packets queued inside the switch buffer. As ACK packets are being received by the sender, the congestion window keeps growing. Eventually, for long flows, there will be packet loss once congestion window grows beyond the capacity of the end-to-end path between the end hosts. The capacity of an end-to-end path consists of two components, BDP of the path Buffer space inside the bottleneck switch TABLE I: Packet Loss Switch Buffer = 1MB, Circuit Rate = 155 Mbps Switch Circuit BDP Buffer Rate for loss (Pkts) (Mbps) (ms) (Pkts) (Pkts) The BDP of a path is simply the product of the round-trip time and the circuit rate C, or RT T C. The buffer space B inside a switch is not easy to find. In most cases, this value is proprietary. If B is known, the value at which packet loss will occur can be found by the following equation, loss > BDP + B or, loss RT T C > B (1) Based on Equation 1, Table I shows the congestion window values at which packet loss will occur for a 1MB switch buffer and typical wide-area round-trip times. Having switch buffer space B smaller than the BDP of the end-to-end path does not impact the achievable maximum throughput, as long as packet losses do not occur. A switch buffer will cause low throughput when it is lower than the difference between the congestion window and BDP of the end-to-end path (Equation 1). Following a packet loss, TCP reduces the congestion window to half. A reduced congestion window that drops below the BDP of the path reduces the throughput. In order to prevent packet loss from buffer overflow, Ethernet switches and NICs use IEEE 82.3x Ethernet Flow Control or Link Level Flow Control (LLFC). A switch sends Pause frames back to the sender (NIC or another switch) when the buffer occupancy reaches a threshold. Each switch buffer maintains two thresholds, a Pause ON threshold and a Pause OFF threshold. A switch buffer sends Pause frames if the Pause On threshold is crossed. Within each Pause frame, a time field specifies the time period during which the sender should not transmit any packets. At the end of the specified time period, or after receiving a Pause frame with zero in the time field, the sender resumes normal transmission of packets. A switch sends the Pause frame with zero in the time field when the buffer size falls below the Pause OFF threshold. Let us look at the impact of Pause frames on TCP. An application writes the data into the TCP send buffer by calling the write() system call. The TCP layer assembles a packet when data is available in the send buffer. Each packet is pushed down to the IP layer for transmission. The IP layer enqueues each packet in an output queue (qdisc) associated with the appropriate NIC. The size of the qdisc can be modified by assigning a value to the txqueuelen variable associated with each NIC card. If the output queue is full, the attempt to enqueue a packet generates a local-congestion event, which is propagated upward to the TCP layer. The TCP congestion-control algorithm then enters into the Congestion

4 Window Reduced (CWR) state, and reduces the congestion window by one every other ACK (known as rate halving). The only scenario in which TCP will continue to enqueue packets while the NIC does not transmit them is if Pause frames have caused the NIC to stop transmitting. Therefore, the relationship between the at which the CWR state is reached, the txqueuelen, and the Pause ON threshold in packets (P auseon) is given by the following equation, CW R > RT T C + P auseon + txqueuelen (2). Therefore, using TCP over circuits can have detrimental effects on the achievable throughput if the congestion window grows in an uncontrolled way. However, if TCP buffers are properly tuned, losses can be avoided. The maximum number of outstanding packets in TCP is the minimum of the congestion window and the receiver s advertised window, or min(, rwnd). Hence, if the TCP receive buffer is set so that the number of outstanding packets does not cross the capacity of the end-to-end path, packet losses will not occur. On the other hand, to achieve maximum throughput, TCP buffers should be at least equal to the BDP of the end-to-end path. However, setting exactly equal to the BDP of the path may not result in maximum throughput. When the congestion window is exactly equal to the BDP, TCP is in streaming state. Every incoming ACK packet releases a new packet. Therefore, to keep the end-to-end path full of packets at all time during this streaming state, a TCP sender has to respond to an ACK immediately. Due to multitasking on end host, it is advisable to set TCP buffers higher than the BDP of the end-to-end path. A larger congestion window will cause packets to be queued inside the switch buffer. While the end host does not respond immediately to an ACK, queued packets inside the switch will keep flowing, fully using the circuit bandwidth. III. CTCP Starting with Linux , congestion control algorithms can be dynamically loaded in as kernel modules. We have developed a TCP congestion control module called CTCP. In CTCP, a configurable parameter sets the congestion window value, which remains unchanged for the duration of the connection, allowing the window-based flow control dictate the data-transfer pattern. If the idle period is larger than one retransmission timeout, TCP resets the congestion window to the restart window value, which in practice is 1 segment [4]. CTCP eliminates this feature. Further, by specifying the congestion window value, we cap the number of unacknowledged packets allowable, enforcing a strict upper limit on the resources (buffer space, bandwidth, host memory, etc.) a CTCP flow will use. A. Experimental Setup IV. EXPERIMENTS Fig. 6 shows the connection configuration for a Layer-1 circuit. We connected two end hosts, Zelda1 and Wuneng, to Gigabit Ethernet (GigE) interfaces of Sycamore SN16 Zelda1 Number of PAUSE Frames GigE SN16 Reno - OC3 BIC - OC3 Reno - OC12 BIC - OC12 SONET Interface = 8.85ms SN16 GigE SONET Interface Fig. 6: Layer-1 Circuit Setup PAUSE Frame Count Wuneng Transfer Size (MB) Fig. 7: Pause Frame Count switches. We set up a SONET circuit between the two Sycamore switches. The Ethernet ports are then mapped to this SONET circuit. We did memory-to-memory data transfers of variable sizes from Zelda1 to Wuneng using Reno, BIC, or CTCP as the transport protocol. We also varied the SONET circuit rate (OC3 and OC12). For each of these transfers, we record the instantaneous throughput every 1 ms, and the congestion window () and round-trip time () every 5 ms. We also captured the entire transmission using tcpdump. The roundtrip time between these two hosts is 8.85 ms. The txqueuelen is set to 1 packets. The SN16 switches have a Pause ON threshold of 1 MB and a Pause OFF threshold of 2 KB. B. Results In Fig. 7, we plot the number of Pause frames received by the sender against the transfer size for Reno and BIC. For the OC3 circuit rate, the number of Pause frames for both Reno and BIC increase at a steady rate. In case of the OC12 rate, the number of Pause frames seen by BIC increases at a lower rate, whereas Reno sees little or no Pause frame. In all circuit rates, CTCP sees no Pause frame. We analyzed the steady increase rate of the number of Pause frames by looking at the lengths of the Pause ON periods, Pause OFF periods, and the number of Pause frames seen in each of these Pause ON periods (Fig. 8). During the Pause ON periods, the sender NIC sits idle, while the switch drains data from its buffer at the SONET circuit rate. For the OC3 rate (Fig. 8a), the average length of the Pause ON period is.27967s, during which time the switch drains 529 KB of

5 A B C.27967s.4965s Pause ON Pause OFF Pause ON (a) Circuit Rate = OC3 (155 Mbps) 22 Throughput Throughput over OC3 - Reno A B C.698s.1167s 2 18 Pause ON Pause OFF Pause ON (b) Circuit Rate = OC12 (622 Mbps) Fig. 8: Pause Frame data. This causes the switch buffer to fall below the Pause OFF threshold. As the sender NIC resumes transmission after the Pause ON period, it transmits data at a 1 Gbps rate during the following Pause OFF period. This causes data to be queued in the switch buffer at (1 155) Mbps rate, resulting in 2 KB of data queued in.4965 seconds. Hence, the switch crosses the Pause ON Threshold again, and enters into the Pause ON period. The number of Pause frames generated during a Pause ON period is 16 for OC3 rate, or for every ( ) = seconds 16 Pause frames are generated. In other words, for each 623 KB of data forwarded by the switch, 16 Pause frames are generated. This gives an estimated 2629 Pause frames for a 1 MB transfer, where the actual number from Fig. 7 is A similar analysis can be done for the OC12 rate (Fig. 8b). Since the difference between the NIC rate and the OC12 circuit rate is smaller, the switch takes less time to fall below the Pause OFF threshold. Hence, the number of Pause frames is lower for an OC12 circuit than the OC3 circuit. At such high circuit rate, the sender sometimes fails to transmit data at the available bandwidth due to multitasking. Therefore, in some instances, BIC incurs less (or no) Pause frames. Being less aggressive than BIC, Reno incurs only occasional Pause frames at this rate. In Figures 9, 1, and 11, we plot throughput, congestion window (), and round-trip time () for a 1 GB transfer over an OC3 circuit using Reno, BIC, and CTCP. Due to regular Pause ON and OFF periods, the throughput graph for Reno (Fig. 9a) shows drops at regular interval. The average throughput of the entire 1GB transmission is 142 Mbps for all transport protocols. As explained in Sec. II, the congestion window plot (Fig. 9b) for Reno after the initial slow-start period, and at regular intervals in BIC (Fig. 1b), drops after crossing 175 as TCP enters CWR state. In our experiment, the NIC transmit-queue length (txqueuelen) is set to 1 packets, the switch buffer can hold 7 packets (1 MB Pause ON Threshold) before entering into Pause ON period, and there are approximately 5 packets on the wire, a local congestion event is received from the NIC buffer when the congestion window crosses 175 packets. Hence, both Reno and BIC drop their congestion windows to half once reached above 175 packets. Following the drop, Reno enters the congestion avoidance state, and increases the congestion window by only one packet Throughput (Mbps) (ms) (a) Throughput Reno over OC (b) CWND Reno over OC (c) Fig. 9: Reno over OC3-1MB Transfer

6 24 Throughput Throughput over OC3 - BIC 22 Throughput Throughput over OC3 - CTCP Throughput (Mbps) Throughput (Mbps) (a) Throughput (a) Throughput 18 BIC over OC CTCP over OC (b) CWND (b) CWND 16 BIC over OC3 19 CTCP over OC (ms) 8 (ms) (c) (c) Fig. 1: BIC over OC3-1MB Transfer Fig. 11: CTCP over OC3-1MB Transfer

7 in each. Being more aggressive than Reno, BIC quickly recovers from this drop. If the bandwidth-delay product (BDP) of a path is large, this slow increase of the congestion window will hurt the overall throughput [5]. The number of queued packets in the NIC buffer and the switch buffer causes the to buildup. When these buffers are full, each new packet will be queued behind a maximum 17 packets. For an OC3 circuit, the service time for a standard 15B packet is 77us. Hence, a packet may experience a maximum queueing delay of 17 77us or 131ms. Therefore, the maximum seen in Reno (Fig. 9c) and BIC (Fig. 1c) is as large as ( ) 14ms. V. CONCLUSIONS We can draw two primary conclusions from this work involving port-mapped circuits, where a port s traffic is mapped to a single, dedicated Layer-1 circuit. First, using Layer-1 circuits allows us to achieve high throughput but, since all the traffic entering a port is treated identically, port-mapped circuits are suitable only if two end hosts are directly connected to the circuit switch. Second, we can see the benefits of CTCP: lossless transfer while maintaining a steady and achieving the full throughput. With BIC and RENO, unless we use the send or receive buffers to prohibit the number of outstanding packets from exceeding the ncap, there will be an increase in the and the flow will experience losses, even if the maximum throughput is still achieved. REFERENCES [1] T. Armstrong and S. S. Gorshe, Eds., IEEE Commun. Mag., Special issue on Generic Framing Procedure (GFP) and Data over SONET/SDH and OTN, vol. 4, no. 5, May 22. [2] A. Aggarwal, S. Savage, and T. Anderson, Understanding the performance of TCP pacing, in Proceedings of the 2 IEEE INFOCOM Conference, Tel-Aviv, Israel, Mar 2. [3] C. Partridge, ACK spacing for high bandwidth-delay paths with insufficient buffering, Work in Progress, IETF Internet Draft draft-rfced-infopartridge-1.txt, [4] M. Allman, V. Paxson, and W. Stevens, TCP Congestion Control, IETF RFC 2581, Apr [5] S. Floyd, HighSpeed TCP for large congestion windows, Feb. 23. [Online]. Available:

A TRANSPORT PROTOCOL FOR DEDICATED END-TO-END CIRCUITS

A TRANSPORT PROTOCOL FOR DEDICATED END-TO-END CIRCUITS A TRANSPORT PROTOCOL FOR DEDICATED END-TO-END CIRCUITS MS Thesis Final Examination Anant P. Mudambi Computer Engineering University of Virginia December 6, 2005 Outline Motivation CHEETAH Background UDP-based

More information

CTCP (Circuit TCP) v1.0

CTCP (Circuit TCP) v1.0 Outline C (Circuit ) v1.0 Helali Bhuiyan and Malathi Veeraraghavan {helali,mv5g}@virginia.edu Purpose of C Requirements to run C code C Components C Operation C details C Usage Usage of C across an Internet

More information

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

Transport Layer PREPARED BY AHMED ABDEL-RAOUF Transport Layer PREPARED BY AHMED ABDEL-RAOUF TCP Flow Control TCP Flow Control 32 bits source port # dest port # head len sequence number acknowledgement number not used U A P R S F checksum Receive window

More information

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Transmission Control Protocol. ITS 413 Internet Technologies and Applications Transmission Control Protocol ITS 413 Internet Technologies and Applications Contents Overview of TCP (Review) TCP and Congestion Control The Causes of Congestion Approaches to Congestion Control TCP Congestion

More information

Chapter 4. Routers with Tiny Buffers: Experiments. 4.1 Testbed experiments Setup

Chapter 4. Routers with Tiny Buffers: Experiments. 4.1 Testbed experiments Setup Chapter 4 Routers with Tiny Buffers: Experiments This chapter describes two sets of experiments with tiny buffers in networks: one in a testbed and the other in a real network over the Internet2 1 backbone.

More information

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Fast Retransmit Problem: coarsegrain TCP timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Packet 1 Packet 2 Packet 3 Packet 4 Packet 5 Packet 6 Sender Receiver

More information

CS321: Computer Networks Congestion Control in TCP

CS321: Computer Networks Congestion Control in TCP CS321: Computer Networks Congestion Control in TCP Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Causes and Cost of Congestion Scenario-1: Two Senders, a

More information

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control : Computer Networks Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control TCP performance We ve seen how TCP the protocol works Sequencing, receive window, connection setup and teardown And

More information

image 3.8 KB Figure 1.6: Example Web Page

image 3.8 KB Figure 1.6: Example Web Page image. KB image 1 KB Figure 1.: Example Web Page and is buffered at a router, it must wait for all previously queued packets to be transmitted first. The longer the queue (i.e., the more packets in the

More information

Congestion control in TCP

Congestion control in TCP Congestion control in TCP If the transport entities on many machines send too many packets into the network too quickly, the network will become congested, with performance degraded as packets are delayed

More information

Transmission Control Protocol (TCP)

Transmission Control Protocol (TCP) TETCOS Transmission Control Protocol (TCP) Comparison of TCP Congestion Control Algorithms using NetSim @2017 Tetcos. This document is protected by copyright, all rights reserved Table of Contents 1. Abstract....

More information

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput Topics TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput 2 Introduction In this chapter we will discuss TCP s form of flow control called a sliding window protocol It allows

More information

TCP based Receiver Assistant Congestion Control

TCP based Receiver Assistant Congestion Control International Conference on Multidisciplinary Research & Practice P a g e 219 TCP based Receiver Assistant Congestion Control Hardik K. Molia Master of Computer Engineering, Department of Computer Engineering

More information

ECE 461 Internetworking. Problem Sheet 6

ECE 461 Internetworking. Problem Sheet 6 ECE 461 Internetworking Problem Sheet 6 Problem 1. Consider the state of a sliding window at the sending side of a TCP connections as shown in Figure 1. (Each number corresponds to one byte).. (a) Explain

More information

ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3

ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3 Research Article ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3 Address for Correspondence 1 Asst. Professor, Department of Electronics

More information

A Survey on Quality of Service and Congestion Control

A Survey on Quality of Service and Congestion Control A Survey on Quality of Service and Congestion Control Ashima Amity University Noida, U.P, India batra_ashima@yahoo.co.in Sanjeev Thakur Amity University Noida, U.P, India sthakur.ascs@amity.edu Abhishek

More information

Fall 2012: FCM 708 Bridge Foundation I

Fall 2012: FCM 708 Bridge Foundation I Fall 2012: FCM 708 Bridge Foundation I Prof. Shamik Sengupta Instructor s Website: http://jjcweb.jjay.cuny.edu/ssengupta/ Blackboard Website: https://bbhosted.cuny.edu/ Intro to Computer Networking Transport

More information

SharkFest'17 US. Understanding Throughput & TCP Windows. A Walk-Through of the Factors that can limit TCP Throughput Performance

SharkFest'17 US. Understanding Throughput & TCP Windows. A Walk-Through of the Factors that can limit TCP Throughput Performance SharkFest'17 US Understanding Throughput & TCP Windows A Walk-Through of the Factors that can limit TCP Throughput Performance Kary Rogers Director, Staff Engineering Riverbed Technology Agenda TCP ownership

More information

TCP Congestion Control

TCP Congestion Control TCP Congestion Control What is Congestion The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

TCP Congestion Control

TCP Congestion Control What is Congestion TCP Congestion Control The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

Title Problems of TCP in High Bandwidth-Delay Networks Syed Nusrat JJT University, Rajasthan, India Abstract:

Title Problems of TCP in High Bandwidth-Delay Networks Syed Nusrat JJT University, Rajasthan, India Abstract: Title Problems of TCP in High Bandwidth-Delay Networks Syed Nusrat JJT University, Rajasthan, India Abstract: The Transmission Control Protocol (TCP) [J88] is the most popular transport layer protocol

More information

TCP and BBR. Geoff Huston APNIC. #apricot

TCP and BBR. Geoff Huston APNIC. #apricot TCP and BBR Geoff Huston APNIC The IP Architecture At its heart IP is a datagram network architecture Individual IP packets may be lost, re-ordered, re-timed and even fragmented The IP Architecture At

More information

CS/ECE 438: Communication Networks Spring Problem Set 7. Title: Congestion control and Performance Analysis

CS/ECE 438: Communication Networks Spring Problem Set 7. Title: Congestion control and Performance Analysis Problem Set 7 Title: Congestion control and Performance Analysis Due: start of class, Wednesday, May 2 nd Recommended Reading: Section 6. All problems carry equal weight. To receive full credit, show all

More information

Performance Comparison of TFRC and TCP

Performance Comparison of TFRC and TCP ENSC 833-3: NETWORK PROTOCOLS AND PERFORMANCE CMPT 885-3: SPECIAL TOPICS: HIGH-PERFORMANCE NETWORKS FINAL PROJECT Performance Comparison of TFRC and TCP Spring 2002 Yi Zheng and Jian Wen {zyi,jwena}@cs.sfu.ca

More information

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste Outline 15-441 Computer Networking Lecture 18 TCP Performance Peter Steenkiste Fall 2010 www.cs.cmu.edu/~prs/15-441-f10 TCP congestion avoidance TCP slow start TCP modeling TCP details 2 AIMD Distributed,

More information

Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways

Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways Haowei Bai AES Technology Centers of Excellence Honeywell Aerospace 3660 Technology Drive, Minneapolis, MN 5548 E-mail: haowei.bai@honeywell.com

More information

PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER

PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER Vilma Tomço, 1 Aleksandër Xhuvani 2 Abstract: The purpose of this work is

More information

TCP Congestion Control in Wired and Wireless networks

TCP Congestion Control in Wired and Wireless networks TCP Congestion Control in Wired and Wireless networks Mohamadreza Najiminaini (mna28@cs.sfu.ca) Term Project ENSC 835 Spring 2008 Supervised by Dr. Ljiljana Trajkovic School of Engineering and Science

More information

ADVANCED COMPUTER NETWORKS

ADVANCED COMPUTER NETWORKS ADVANCED COMPUTER NETWORKS Congestion Control and Avoidance 1 Lecture-6 Instructor : Mazhar Hussain CONGESTION CONTROL When one part of the subnet (e.g. one or more routers in an area) becomes overloaded,

More information

8. TCP Congestion Control

8. TCP Congestion Control 8. TCP Congestion Control 1 TCP Congestion Control Slow-start increase Multiplicative decrease Congestion avoidance Measurement of variation Exponential timer backoff 2002 Yanghee Choi 2 Congestion Control

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2014 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control Chapter 6 What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control OSI Model Hybrid Model Software outside the operating system Software inside

More information

Communication Networks

Communication Networks Communication Networks Spring 2018 Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) April 30 2018 Materials inspired from Scott Shenker & Jennifer Rexford Last week on Communication Networks We started

More information

100 Mbps. 100 Mbps S1 G1 G2. 5 ms 40 ms. 5 ms

100 Mbps. 100 Mbps S1 G1 G2. 5 ms 40 ms. 5 ms The Influence of the Large Bandwidth-Delay Product on TCP Reno, NewReno, and SACK Haewon Lee Λ, Soo-hyeoung Lee, and Yanghee Choi School of Computer Science and Engineering Seoul National University San

More information

RED behavior with different packet sizes

RED behavior with different packet sizes RED behavior with different packet sizes Stefaan De Cnodder, Omar Elloumi *, Kenny Pauwels Traffic and Routing Technologies project Alcatel Corporate Research Center, Francis Wellesplein, 1-18 Antwerp,

More information

ADVANCED TOPICS FOR CONGESTION CONTROL

ADVANCED TOPICS FOR CONGESTION CONTROL ADVANCED TOPICS FOR CONGESTION CONTROL Congestion Control The Internet only functions because TCP s congestion control does an effective job of matching traffic demand to available capacity. TCP s Window

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2014 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts

F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts Pasi Sarolahti Nokia Research Center pasi.sarolahti@nokia.com Markku Kojo, Kimmo Raatikainen University of Helsinki Department of Computer

More information

TCP Congestion Control

TCP Congestion Control 1 TCP Congestion Control Onwutalobi, Anthony Claret Department of Computer Science University of Helsinki, Helsinki Finland onwutalo@cs.helsinki.fi Abstract This paper is aimed to discuss congestion control

More information

Chapter III. congestion situation in Highspeed Networks

Chapter III. congestion situation in Highspeed Networks Chapter III Proposed model for improving the congestion situation in Highspeed Networks TCP has been the most used transport protocol for the Internet for over two decades. The scale of the Internet and

More information

Documents. Configuration. Important Dependent Parameters (Approximate) Version 2.3 (Wed, Dec 1, 2010, 1225 hours)

Documents. Configuration. Important Dependent Parameters (Approximate) Version 2.3 (Wed, Dec 1, 2010, 1225 hours) 1 of 7 12/2/2010 11:31 AM Version 2.3 (Wed, Dec 1, 2010, 1225 hours) Notation And Abbreviations preliminaries TCP Experiment 2 TCP Experiment 1 Remarks How To Design A TCP Experiment KB (KiloBytes = 1,000

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2015 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

Recap. TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness

Recap. TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness Recap TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness 81 Feedback Signals Several possible signals, with different

More information

Bandwidth Allocation & TCP

Bandwidth Allocation & TCP Bandwidth Allocation & TCP The Transport Layer Focus Application Presentation How do we share bandwidth? Session Topics Transport Network Congestion control & fairness Data Link TCP Additive Increase/Multiplicative

More information

Assignment 7: TCP and Congestion Control Due the week of October 29/30, 2015

Assignment 7: TCP and Congestion Control Due the week of October 29/30, 2015 Assignment 7: TCP and Congestion Control Due the week of October 29/30, 2015 I d like to complete our exploration of TCP by taking a close look at the topic of congestion control in TCP. To prepare for

More information

Improved Selective Acknowledgment Scheme for TCP

Improved Selective Acknowledgment Scheme for TCP Improved Selective Acknowledgment Scheme for TCP Rajkumar Kettimuthu and William Allcock Argonne National Laboratory, Globus Alliance Argonne, IL 60439, USA kettimut, allcock @mcs.anl.gov Abstract A selective

More information

Impact of Short-lived TCP Flows on TCP Link Utilization over 10Gbps High-speed Networks

Impact of Short-lived TCP Flows on TCP Link Utilization over 10Gbps High-speed Networks Impact of Short-lived TCP Flows on TCP Link Utilization over Gbps High-speed Networks Lin Xue, Chui-hui Chiu, and Seung-Jong Park Department of Computer Science, Center for Computation & Technology, Louisiana

More information

TCP Performance. EE 122: Intro to Communication Networks. Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim

TCP Performance. EE 122: Intro to Communication Networks. Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim TCP Performance EE 122: Intro to Communication Networks Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks

More information

Improving TCP Performance over Wireless Networks using Loss Predictors

Improving TCP Performance over Wireless Networks using Loss Predictors Improving TCP Performance over Wireless Networks using Loss Predictors Fabio Martignon Dipartimento Elettronica e Informazione Politecnico di Milano P.zza L. Da Vinci 32, 20133 Milano Email: martignon@elet.polimi.it

More information

ENSC 835 project (2002) TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

ENSC 835 project (2002) TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang ENSC 835 project (2002) TCP performance over satellite links Kenny, Qing Shao Qshao@cs.sfu.ca Grace, Hui Zhang Hzhange@cs.sfu.ca Road map Introduction to satellite communications Simulation implementation

More information

Internet Networking recitation #10 TCP New Reno Vs. Reno

Internet Networking recitation #10 TCP New Reno Vs. Reno recitation #0 TCP New Reno Vs. Reno Spring Semester 200, Dept. of Computer Science, Technion 2 Introduction Packet Loss Management TCP Reno (RFC 258) can manage a loss of at most one packet from a single

More information

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources Congestion Source 1 Source 2 10-Mbps Ethernet 100-Mbps FDDI Router 1.5-Mbps T1 link Destination Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets

More information

Flow and Congestion Control Marcos Vieira

Flow and Congestion Control Marcos Vieira Flow and Congestion Control 2014 Marcos Vieira Flow Control Part of TCP specification (even before 1988) Goal: not send more data than the receiver can handle Sliding window protocol Receiver uses window

More information

TCP and BBR. Geoff Huston APNIC

TCP and BBR. Geoff Huston APNIC TCP and BBR Geoff Huston APNIC Computer Networking is all about moving data The way in which data movement is controlled is a key characteristic of the network architecture The Internet protocol passed

More information

TCP Congestion Control

TCP Congestion Control 6.033, Spring 2014 TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina Sharing the Internet How do you manage resources in a huge system like the Internet, where users with different

More information

CSE 573S Protocols for Computer Networks (Spring 2005 Final Project)

CSE 573S Protocols for Computer Networks (Spring 2005 Final Project) CSE 573S Protocols for Computer Networks (Spring 2005 Final Project) To Investigate the degree of congestion control synchronization of window-based connections bottlenecked at the same link Kumar, Vikram

More information

ECE 610: Homework 4 Problems are taken from Kurose and Ross.

ECE 610: Homework 4 Problems are taken from Kurose and Ross. ECE 610: Homework 4 Problems are taken from Kurose and Ross. Problem 1: Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 248. Suppose

More information

Network Management & Monitoring

Network Management & Monitoring Network Management & Monitoring Network Delay These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (http://creativecommons.org/licenses/by-nc/3.0/) End-to-end

More information

Modeling the Goodput of TCP NewReno in Cellular Environments

Modeling the Goodput of TCP NewReno in Cellular Environments Modeling the Goodput of TCP NewReno in Cellular Environments Sushant Sharma, Donald. Gillies, u-chun Feng Corporate R&D, Qualcomm San Diego, CA Synergy Lab, Virginia Tech Blacksburg, VA Abstract In this

More information

TCP and BBR. Geoff Huston APNIC

TCP and BBR. Geoff Huston APNIC TCP and BBR Geoff Huston APNIC Computer Networking is all about moving data The way in which data movement is controlled is a key characteristic of the network architecture The Internet protocol passed

More information

TCP and BBR. Geoff Huston APNIC

TCP and BBR. Geoff Huston APNIC TCP and BBR Geoff Huston APNIC The IP Architecture At its heart IP is a datagram network architecture Individual IP packets may be lost, re-ordered, re-timed and even fragmented The IP Architecture At

More information

Host Solutions Group Technical Bulletin August 30, 2007

Host Solutions Group Technical Bulletin August 30, 2007 Summary ISCSI PERFORMANCE CONSIDERATIONS Host Solutions Group Technical Bulletin August 30, 2007 Meeting throughput and response time requirements in iscsi SANs requires considering both component and

More information

ENSC 835 project TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

ENSC 835 project TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang ENSC 835 project TCP performance over satellite links Kenny, Qing Shao Qshao@cs.sfu.ca Grace, Hui Zhang Hzhange@cs.sfu.ca Road map Introduction to satellite communications Simulation implementation Window

More information

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments 24 Telfor Journal, Vol. 6, No. 1, 214. Cross-layer TCP Performance Analysis in IEEE 82.11 Vehicular Environments Toni Janevski, Senior Member, IEEE, and Ivan Petrov 1 Abstract In this paper we provide

More information

Wireless TCP Performance Issues

Wireless TCP Performance Issues Wireless TCP Performance Issues Issues, transport layer protocols Set up and maintain end-to-end connections Reliable end-to-end delivery of data Flow control Congestion control Udp? Assume TCP for the

More information

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018 CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala October 30, 2018 Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet

More information

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007 CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007 Question 344 Points 444 Points Score 1 10 10 2 10 10 3 20 20 4 20 10 5 20 20 6 20 10 7-20 Total: 100 100 Instructions: 1. Question

More information

CS644 Advanced Networks

CS644 Advanced Networks What we know so far CS644 Advanced Networks Lecture 6 Beyond TCP Congestion Control Andreas Terzis TCP Congestion control based on AIMD window adjustment [Jac88] Saved Internet from congestion collapse

More information

ISSN: Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions.

ISSN: Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions. ISSN:2320-0790 A New TCP Algorithm to reduce the number of retransmissions in Wireless Networks A Beulah, R Nita Marie Ann Assistant Professsor, SSN College of Engineering, Chennai PG Scholar, SSN College

More information

Exercises TCP/IP Networking With Solutions

Exercises TCP/IP Networking With Solutions Exercises TCP/IP Networking With Solutions Jean-Yves Le Boudec Fall 2009 3 Module 3: Congestion Control Exercise 3.2 1. Assume that a TCP sender, called S, does not implement fast retransmit, but does

More information

Problems and Solutions for the TCP Slow-Start Process

Problems and Solutions for the TCP Slow-Start Process Problems and Solutions for the TCP Slow-Start Process K.L. Eddie Law, Wing-Chung Hung The Edward S. Rogers Sr. Department of Electrical and Computer Engineering University of Toronto Abstract--In this

More information

TCP Review. Carey Williamson Department of Computer Science University of Calgary Winter 2018

TCP Review. Carey Williamson Department of Computer Science University of Calgary Winter 2018 TCP Review Carey Williamson Department of Computer Science University of Calgary Winter 2018 Credit: Much of this content came courtesy of Erich Nahum (IBM Research) The TCP Protocol Connection-oriented,

More information

MEASURING PERFORMANCE OF VARIANTS OF TCP CONGESTION CONTROL PROTOCOLS

MEASURING PERFORMANCE OF VARIANTS OF TCP CONGESTION CONTROL PROTOCOLS MEASURING PERFORMANCE OF VARIANTS OF TCP CONGESTION CONTROL PROTOCOLS Harjinder Kaur CSE, GZSCCET, Dabwali Road, Bathinda, Punjab, India, sidhuharryab@gmail.com Gurpreet Singh Abstract CSE, GZSCCET, Dabwali

More information

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday Lecture 15: TCP over wireless networks Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday TCP - recap Transport layer TCP is the dominant protocol TCP provides in-order reliable byte stream abstraction

More information

Congestion Control. Tom Anderson

Congestion Control. Tom Anderson Congestion Control Tom Anderson Bandwidth Allocation How do we efficiently share network resources among billions of hosts? Congestion control Sending too fast causes packet loss inside network -> retransmissions

More information

Appendix B. Standards-Track TCP Evaluation

Appendix B. Standards-Track TCP Evaluation 215 Appendix B Standards-Track TCP Evaluation In this appendix, I present the results of a study of standards-track TCP error recovery and queue management mechanisms. I consider standards-track TCP error

More information

Reliable Transport II: TCP and Congestion Control

Reliable Transport II: TCP and Congestion Control Reliable Transport II: TCP and Congestion Control Stefano Vissicchio UCL Computer Science COMP0023 Recap: Last Lecture Transport Concepts Layering context Transport goals Transport mechanisms and design

More information

CS4700/CS5700 Fundamentals of Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks CS4700/CS5700 Fundamentals of Computer Networks Lecture 15: Congestion Control Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Alan Mislove amislove at ccs.neu.edu

More information

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

ECEN Final Exam Fall Instructor: Srinivas Shakkottai ECEN 424 - Final Exam Fall 2013 Instructor: Srinivas Shakkottai NAME: Problem maximum points your points Problem 1 10 Problem 2 10 Problem 3 20 Problem 4 20 Problem 5 20 Problem 6 20 total 100 1 2 Midterm

More information

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers Overview 15-441 Computer Networking TCP & router queuing Lecture 10 TCP & Routers TCP details Workloads Lecture 10: 09-30-2002 2 TCP Performance TCP Performance Can TCP saturate a link? Congestion control

More information

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005 Name: SID: Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005 There are 10 questions in total. Please write your SID

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.11 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and

More information

CSE 123A Computer Networks

CSE 123A Computer Networks CSE 123A Computer Networks Winter 2005 Lecture 14 Congestion Control Some images courtesy David Wetherall Animations by Nick McKeown and Guido Appenzeller The bad news and the good news The bad news: new

More information

Managing Caching Performance and Differentiated Services

Managing Caching Performance and Differentiated Services CHAPTER 10 Managing Caching Performance and Differentiated Services This chapter explains how to configure TCP stack parameters for increased performance ant throughput and how to configure Type of Service

More information

Computer Networks Spring 2017 Homework 2 Due by 3/2/2017, 10:30am

Computer Networks Spring 2017 Homework 2 Due by 3/2/2017, 10:30am 15-744 Computer Networks Spring 2017 Homework 2 Due by 3/2/2017, 10:30am (please submit through e-mail to zhuoc@cs.cmu.edu and srini@cs.cmu.edu) Name: A Congestion Control 1. At time t, a TCP connection

More information

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP CS 5520/ECE 5590NA: Network Architecture I Spring 2008 Lecture 13: UDP and TCP Most recent lectures discussed mechanisms to make better use of the IP address space, Internet control messages, and layering

More information

CSCI Topics: Internet Programming Fall 2008

CSCI Topics: Internet Programming Fall 2008 CSCI 491-01 Topics: Internet Programming Fall 2008 Transport Layer Derek Leonard Hendrix College October 22, 2008 Original slides copyright 1996-2007 J.F Kurose and K.W. Ross 1 Chapter 3: Roadmap 3.1 Transport-layer

More information

Congestion / Flow Control in TCP

Congestion / Flow Control in TCP Congestion and Flow Control in 1 Flow Control and Congestion Control Flow control Sender avoids overflow of receiver buffer Congestion control All senders avoid overflow of intermediate network buffers

More information

UNIT 2 TRANSPORT LAYER

UNIT 2 TRANSPORT LAYER Network, Transport and Application UNIT 2 TRANSPORT LAYER Structure Page No. 2.0 Introduction 34 2.1 Objective 34 2.2 Addressing 35 2.3 Reliable delivery 35 2.4 Flow control 38 2.5 Connection Management

More information

Design of Network Dependent Congestion Avoidance TCP (NDCA-TCP) for Performance Improvement in Broadband Networks

Design of Network Dependent Congestion Avoidance TCP (NDCA-TCP) for Performance Improvement in Broadband Networks International Journal of Principles and Applications of Information Science and Technology February 2010, Vol.3, No.1 Design of Network Dependent Congestion Avoidance TCP (NDCA-TCP) for Performance Improvement

More information

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli)

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli) TCP CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli) 1 Sources Fall and Stevens, TCP/IP Illustrated Vol. 1, 2nd edition Congestion Avoidance

More information

CSCI-1680 Transport Layer III Congestion Control Strikes Back Rodrigo Fonseca

CSCI-1680 Transport Layer III Congestion Control Strikes Back Rodrigo Fonseca CSCI-1680 Transport Layer III Congestion Control Strikes Back Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti, Ion Stoica Last Time Flow Control Congestion Control

More information

TCP Congestion Control : Computer Networking. Introduction to TCP. Key Things You Should Know Already. Congestion Control RED

TCP Congestion Control : Computer Networking. Introduction to TCP. Key Things You Should Know Already. Congestion Control RED TCP Congestion Control 15-744: Computer Networking L-4 TCP Congestion Control RED Assigned Reading [FJ93] Random Early Detection Gateways for Congestion Avoidance [TFRC] Equation-Based Congestion Control

More information

CS3600 SYSTEMS AND NETWORKS

CS3600 SYSTEMS AND NETWORKS CS3600 SYSTEMS AND NETWORKS NORTHEASTERN UNIVERSITY Lecture 24: Congestion Control Prof. Alan Mislove (amislove@ccs.neu.edu) Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica,

More information

A transport-layer approach for achieving predictable throughput for Internet applications

A transport-layer approach for achieving predictable throughput for Internet applications Seventh International Conference on Networking A transport-layer approach for achieving predictable throughput for Internet applications Go Hasegawa, Kana Yamanegi and Masayuki Murata Graduate School of

More information

CS Transport. Outline. Window Flow Control. Window Flow Control

CS Transport. Outline. Window Flow Control. Window Flow Control CS 54 Outline indow Flow Control (Very brief) Review of TCP TCP throughput modeling TCP variants/enhancements Transport Dr. Chan Mun Choon School of Computing, National University of Singapore Oct 6, 005

More information

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica EE MITERM EXM: 00-0- Scott Shenker, Ion Stoica Last name Student I First name Login: ee- Please circle the last two letters of your login. a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e

More information

Lecture 15: Transport Layer Congestion Control

Lecture 15: Transport Layer Congestion Control Lecture 15: Transport Layer Congestion Control COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose

More information

The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat

The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat BITAG TWG Boulder, CO February 27, 2013 Kathleen Nichols Van Jacobson Background The persistently full buffer problem, now called bufferbloat,

More information

TCP Congestion Control 65KB W

TCP Congestion Control 65KB W TCP Congestion Control 65KB W TO 3DA 3DA TO 0.5 0.5 0.5 0.5 3 3 1 SS SS CA SS CA TCP s Congestion Window Maintenance TCP maintains a congestion window (cwnd), based on packets Sender s window is limited

More information