SlideShare a Scribd company logo
1 of 28
By 
Name: Nirav Bhojani 
Roll No: 14MCEI05
 TCP TAHOE 
 RENO 
 NEW RENO 
 SACK 
 TCP VEGAS
 Congestion control algorithm 
 Slow Start Phase: 
 Sender sets cwnd to 1 and for each ACK 
received it increase cwnd by 1. 
 It follows until packets are loosed and then 
we decrease sending rate and set cwnd to 1 
and start again 
 Detects packet loss by timeouts
 Tahoe uses Additive Increase Multiplicative 
Decrease 
 After timeouts, it sets cwnd to 1 and 
threshold value(ssthresh) to half of cwnd and 
starts slow start until it reaches threshold 
value. After that it increments linearly until it 
encounters packet loss
 Takes a complete timeout interval to detect a 
packet loss 
 every time a packet is lost it waits for a 
timeout and the pipeline is emptied.
 Retains slow start and retransmit timer of 
Tahoe 
 In Fast Retransmit, after receiving 3 duplicate 
acks, it denotes that segment was lost 
 And enters into Fast-Recovery
1. When third duplicate ack is received 
• Set ssthresh = cwnd/2 
• Retransmit missing segment 
• Set cwnd = ssthresh +3 
2. After getting duplicate acks, increment cwnd 
by 1 
3. When next ack arrives which acknowledges 
new data then set cwnd = ssthresh
 Performs very well when the packet losses are 
small 
 When there are multiple packet losses then 
detects only one packet loss in one RTT 
 If the window is very small and when the loss 
occurs then we would never receive enough 
duplicate acknowledgements for a fast 
retransmit and we would have to wait for a 
timeout
 Detects multiple packet losses and thus is 
much more efficient that RENO in the event of 
multiple packet losses. 
 it differs from RENO in that it doesn’t exit 
fast-recovery until all the data which was out 
standing at the time it entered fast recovery 
is acknowledged.
 it notes the maximums segment which is 
outstanding and when a fresh ACK is received 
then there are two cases: 
1. If it ACK’s all the segments which were 
outstanding when we entered fast recovery 
then it exits fast recovery and sets CWD to 
ssthresh and continues congestion avoidance 
like Tahoe. 
2. If the ACK is a partial ACK then it deduces that 
the next segment in line was lost and it re-transmits 
that segment and sets the number of 
duplicate ACKS received to zero.
 New-Reno suffers from the fact that it takes 
one RTT to detect each packet loss. When the 
ACK for the first retransmitted segment is 
received only then can we deduce which other 
segment was lost.
 Extension of TCP Reno 
 Retains slow-start and fast retransmit parts 
of RENO 
 Requires that segments should be 
acknowledged selectively. Thus each ACK has 
a block which describes which segments are 
being acknowledged.
 When the sender enters fast recovery, it 
initializes a variable pipe which is an estimate of 
how much data is outstanding in the network, 
and it also set CWND to half the current size. 
Every time it receives an ACK it reduces the pipe 
by 1 and every time it retransmits a segment it 
increments it by 1. Whenever the pipe goes 
smaller than the CWND window it checks which 
segments are un received and send them. If there 
are no such segments outstanding then it sends 
a new packet. Thus more than one lost segment 
can be sent in one RTT.
 The biggest problem with SACK is that 
currently selective acknowledgements are not 
provided by the receiver. To implement SACK 
we will need to implement selective 
acknowledgment which is not a very easy 
task.
 Proactive measure to encounter congestion 
 It does not depend solely on packet loss as a 
sign of congestion. It detects congestion 
before the packet losses occur. 
 Three major changes induced by Vegas are: 
1. New Re-Transmission Mechanism 
2. Congestion avoidance 
3. Modified Slow-start
 It keeps track of when each segment was 
sent and it also calculates an estimate of the 
RTT by keeping track of how long it takes for 
the acknowledgment to get back. Whenever a 
duplicate acknowledgement is received it 
checks to see if the (current time - segment 
transmission time) > RTT estimate; if it is 
then it immediately retransmits the segment 
without waiting for 3 duplicate 
acknowledgements or a coarse timeout.
 To catch any other segments that may have 
been lost prior to the retransmission, when a 
non duplicate acknowledgment is received, if 
it is the first or second one after a fresh 
acknowledgement then it again checks the 
timeout values and if the segment time since 
it was sent exceeds the timeout value then it 
re-transmits the segment without waiting for 
a duplicate acknowledgment. Thus in this way 
Vegas can detect multiple packet losses.
 It does not use the loss of segment to signal that 
there is congestion. It determines congestion by 
a decrease in sending rate as compared to the 
expected rate, as result of large queues building 
up in the routers. Thus whenever the calculated 
rate is too far away from the expected rate it 
increases transmissions to make use of the 
available bandwidth, whenever the calculated rate 
comes too close to the expected value it 
decreases its transmission to prevent over 
saturating the bandwidth. Thus Vegas doesn’t 
waste bandwidth by transmitting at too high a 
data rate and creating congestion.
 Vegas increases exponentially only every 
other RTT, between that it calculates the 
actual sending through put to the expected 
and when the difference goes above a certain 
threshold it exits slow start and enters the 
congestion avoidance phase.
 TCP Vegas is definitely better than 
1. Tahoe: 
 It can detect and retransmit lost packet much 
sooner than timeouts in Tahoe. 
 It also has fewer re-transmissions since it 
doesn’t empty the whole pipe whenever it loses 
packets. 
 It is better at congestion avoidance and its 
modified congestion avoidance and slow start 
algorithms measure incipient congestion and 
very accurately measures the available bandwidth 
and therefore use network resources efficiently 
and don’t contribute to congestion.
2. Reno: 
 More than half of the timeouts of Reno are 
prevented by Vegas as it detects and re-transmits 
more than one lost packet before 
timeout occurs. 
 It doesn’t have to always wait for 3 duplicate 
packets so it can retransmit sooner.
3. New-Reno: 
 It prevents many of timeouts of New-Reno as 
it doesn’t need to wait for 3 duplicate ACK’s 
before it retransmits a lost packet. 
 Its congestion avoidance mechanisms to 
detect incipient congestion are very efficient 
and utilize network resources much more 
efficiently. 
 Because of its modified congestion avoidance 
and slow start algorithm there are fewer 
retransmits.
4. SACK 
 In its estimation of incipient congestion, and its 
efficient estimation of congestion by measuring 
change in throughput rather than packet loss. 
This would result in a better utilization of 
bandwidth and lesser congestion. 
 Also it appears more stable than SACK. The 
reason for this being that SACK uses packet 
losses to denote congestion. So that the sender 
continually increase sending rate until there is 
congestion. 
 Another advantage of TCP Vegas or rather the 
disadvantage of SACK is that it is not very easy to 
incorporate SACK in the current TCP.
 https://www.hep.ucl.ac.uk/~ytl/tcpip/backgr 
ound/tahoe-reno.html 
 https://sites.google.com/site/networksprojec 
twiki/bit10/compnetworks/tcp-performance-in- 
high-speed-long-distance-networks/ 
working-oftcp-tahoe-newreno-and- 
vegas 
 https://inst.eecs.berkeley.edu/~ee122/fa05/ 
projects/Project2/SACKRENEVEGAS.pdf 
 Chapter 12 from High Speed Networks and 
Intranets by William Stallings
Analysis of TCP variants
Analysis of TCP variants

More Related Content

What's hot

SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSIDDARAMAIAHMC
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security ArchitectureBharathiKrishna6
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure callSunita Sahu
 
Secure Socket Layer (SSL)
Secure Socket Layer (SSL)Secure Socket Layer (SSL)
Secure Socket Layer (SSL)Samip jain
 
Go back-n protocol
Go back-n protocolGo back-n protocol
Go back-n protocolSTEFFY D
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
 
Classical encryption techniques
Classical encryption techniquesClassical encryption techniques
Classical encryption techniquesDr.Florence Dayana
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link controlVishal kakade
 
Digital Certified Mail (PPT)
Digital Certified Mail (PPT)Digital Certified Mail (PPT)
Digital Certified Mail (PPT)Matthew Chang
 
Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionSaikrishna Tanguturu
 
Simplex stop and_wait_protocol
Simplex stop and_wait_protocolSimplex stop and_wait_protocol
Simplex stop and_wait_protocolMusfira Ameer
 
Csma protocols
Csma protocolsCsma protocols
Csma protocolsManal Shah
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket LayerNaveen Kumar
 

What's hot (20)

SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
 
Distributed Transaction
Distributed TransactionDistributed Transaction
Distributed Transaction
 
TCP timers.ppt
TCP timers.pptTCP timers.ppt
TCP timers.ppt
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security Architecture
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure call
 
Secure Socket Layer (SSL)
Secure Socket Layer (SSL)Secure Socket Layer (SSL)
Secure Socket Layer (SSL)
 
Go back-n protocol
Go back-n protocolGo back-n protocol
Go back-n protocol
 
Three way handshake
Three way handshakeThree way handshake
Three way handshake
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Computer Networks: Quality of service
Computer Networks: Quality of serviceComputer Networks: Quality of service
Computer Networks: Quality of service
 
Classical encryption techniques
Classical encryption techniquesClassical encryption techniques
Classical encryption techniques
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
Digital Certified Mail (PPT)
Digital Certified Mail (PPT)Digital Certified Mail (PPT)
Digital Certified Mail (PPT)
 
Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
 
Simplex stop and_wait_protocol
Simplex stop and_wait_protocolSimplex stop and_wait_protocol
Simplex stop and_wait_protocol
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Csma protocols
Csma protocolsCsma protocols
Csma protocols
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket Layer
 

Similar to Analysis of TCP variants

Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasComparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasIOSR Journals
 
Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasComparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasIOSR Journals
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion AvoidanceRam Dutt Shukla
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot LayerMaulik Patel
 
High Performance Networking with Advanced TCP
High Performance Networking with Advanced TCPHigh Performance Networking with Advanced TCP
High Performance Networking with Advanced TCPDilum Bandara
 
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfNetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfoptokunal1
 
Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Justin Frankel
 
Analytical Research of TCP Variants in Terms of Maximum Throughput
Analytical Research of TCP Variants in Terms of Maximum ThroughputAnalytical Research of TCP Variants in Terms of Maximum Throughput
Analytical Research of TCP Variants in Terms of Maximum ThroughputIJLT EMAS
 
Ch 18 intro to network layer - section 3
Ch 18   intro to network layer - section 3Ch 18   intro to network layer - section 3
Ch 18 intro to network layer - section 3Hossam El-Deen Osama
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Chandra Meena
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 

Similar to Analysis of TCP variants (20)

Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasComparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
 
Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and VegasComparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
Comparison of TCP congestion control mechanisms Tahoe, Newreno and Vegas
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion Avoidance
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot Layer
 
High Performance Networking with Advanced TCP
High Performance Networking with Advanced TCPHigh Performance Networking with Advanced TCP
High Performance Networking with Advanced TCP
 
A Performance Comparison of TCP Protocols
A Performance Comparison of TCP Protocols A Performance Comparison of TCP Protocols
A Performance Comparison of TCP Protocols
 
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdfNetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
NetWork Design Question2.) How does TCP prevent Congestion Dicuss.pdf
 
Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Tcp performance simulationsusingns2
Tcp performance simulationsusingns2
 
Mcseminar
McseminarMcseminar
Mcseminar
 
Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
 
Analytical Research of TCP Variants in Terms of Maximum Throughput
Analytical Research of TCP Variants in Terms of Maximum ThroughputAnalytical Research of TCP Variants in Terms of Maximum Throughput
Analytical Research of TCP Variants in Terms of Maximum Throughput
 
Transport layer
Transport layerTransport layer
Transport layer
 
Retransmission Tcp
Retransmission TcpRetransmission Tcp
Retransmission Tcp
 
Ch 18 intro to network layer - section 3
Ch 18   intro to network layer - section 3Ch 18   intro to network layer - section 3
Ch 18 intro to network layer - section 3
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Mc unit 4-jwfiles
Mc unit 4-jwfilesMc unit 4-jwfiles
Mc unit 4-jwfiles
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Wmc assi 1
Wmc assi 1Wmc assi 1
Wmc assi 1
 

Recently uploaded

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptxrouholahahmadi9876
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...jabtakhaidam7
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...vershagrag
 

Recently uploaded (20)

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 

Analysis of TCP variants

  • 1. By Name: Nirav Bhojani Roll No: 14MCEI05
  • 2.  TCP TAHOE  RENO  NEW RENO  SACK  TCP VEGAS
  • 3.  Congestion control algorithm  Slow Start Phase:  Sender sets cwnd to 1 and for each ACK received it increase cwnd by 1.  It follows until packets are loosed and then we decrease sending rate and set cwnd to 1 and start again  Detects packet loss by timeouts
  • 4.  Tahoe uses Additive Increase Multiplicative Decrease  After timeouts, it sets cwnd to 1 and threshold value(ssthresh) to half of cwnd and starts slow start until it reaches threshold value. After that it increments linearly until it encounters packet loss
  • 5.
  • 6.  Takes a complete timeout interval to detect a packet loss  every time a packet is lost it waits for a timeout and the pipeline is emptied.
  • 7.  Retains slow start and retransmit timer of Tahoe  In Fast Retransmit, after receiving 3 duplicate acks, it denotes that segment was lost  And enters into Fast-Recovery
  • 8. 1. When third duplicate ack is received • Set ssthresh = cwnd/2 • Retransmit missing segment • Set cwnd = ssthresh +3 2. After getting duplicate acks, increment cwnd by 1 3. When next ack arrives which acknowledges new data then set cwnd = ssthresh
  • 9.
  • 10.  Performs very well when the packet losses are small  When there are multiple packet losses then detects only one packet loss in one RTT  If the window is very small and when the loss occurs then we would never receive enough duplicate acknowledgements for a fast retransmit and we would have to wait for a timeout
  • 11.  Detects multiple packet losses and thus is much more efficient that RENO in the event of multiple packet losses.  it differs from RENO in that it doesn’t exit fast-recovery until all the data which was out standing at the time it entered fast recovery is acknowledged.
  • 12.  it notes the maximums segment which is outstanding and when a fresh ACK is received then there are two cases: 1. If it ACK’s all the segments which were outstanding when we entered fast recovery then it exits fast recovery and sets CWD to ssthresh and continues congestion avoidance like Tahoe. 2. If the ACK is a partial ACK then it deduces that the next segment in line was lost and it re-transmits that segment and sets the number of duplicate ACKS received to zero.
  • 13.  New-Reno suffers from the fact that it takes one RTT to detect each packet loss. When the ACK for the first retransmitted segment is received only then can we deduce which other segment was lost.
  • 14.  Extension of TCP Reno  Retains slow-start and fast retransmit parts of RENO  Requires that segments should be acknowledged selectively. Thus each ACK has a block which describes which segments are being acknowledged.
  • 15.  When the sender enters fast recovery, it initializes a variable pipe which is an estimate of how much data is outstanding in the network, and it also set CWND to half the current size. Every time it receives an ACK it reduces the pipe by 1 and every time it retransmits a segment it increments it by 1. Whenever the pipe goes smaller than the CWND window it checks which segments are un received and send them. If there are no such segments outstanding then it sends a new packet. Thus more than one lost segment can be sent in one RTT.
  • 16.  The biggest problem with SACK is that currently selective acknowledgements are not provided by the receiver. To implement SACK we will need to implement selective acknowledgment which is not a very easy task.
  • 17.  Proactive measure to encounter congestion  It does not depend solely on packet loss as a sign of congestion. It detects congestion before the packet losses occur.  Three major changes induced by Vegas are: 1. New Re-Transmission Mechanism 2. Congestion avoidance 3. Modified Slow-start
  • 18.  It keeps track of when each segment was sent and it also calculates an estimate of the RTT by keeping track of how long it takes for the acknowledgment to get back. Whenever a duplicate acknowledgement is received it checks to see if the (current time - segment transmission time) > RTT estimate; if it is then it immediately retransmits the segment without waiting for 3 duplicate acknowledgements or a coarse timeout.
  • 19.  To catch any other segments that may have been lost prior to the retransmission, when a non duplicate acknowledgment is received, if it is the first or second one after a fresh acknowledgement then it again checks the timeout values and if the segment time since it was sent exceeds the timeout value then it re-transmits the segment without waiting for a duplicate acknowledgment. Thus in this way Vegas can detect multiple packet losses.
  • 20.  It does not use the loss of segment to signal that there is congestion. It determines congestion by a decrease in sending rate as compared to the expected rate, as result of large queues building up in the routers. Thus whenever the calculated rate is too far away from the expected rate it increases transmissions to make use of the available bandwidth, whenever the calculated rate comes too close to the expected value it decreases its transmission to prevent over saturating the bandwidth. Thus Vegas doesn’t waste bandwidth by transmitting at too high a data rate and creating congestion.
  • 21.  Vegas increases exponentially only every other RTT, between that it calculates the actual sending through put to the expected and when the difference goes above a certain threshold it exits slow start and enters the congestion avoidance phase.
  • 22.  TCP Vegas is definitely better than 1. Tahoe:  It can detect and retransmit lost packet much sooner than timeouts in Tahoe.  It also has fewer re-transmissions since it doesn’t empty the whole pipe whenever it loses packets.  It is better at congestion avoidance and its modified congestion avoidance and slow start algorithms measure incipient congestion and very accurately measures the available bandwidth and therefore use network resources efficiently and don’t contribute to congestion.
  • 23. 2. Reno:  More than half of the timeouts of Reno are prevented by Vegas as it detects and re-transmits more than one lost packet before timeout occurs.  It doesn’t have to always wait for 3 duplicate packets so it can retransmit sooner.
  • 24. 3. New-Reno:  It prevents many of timeouts of New-Reno as it doesn’t need to wait for 3 duplicate ACK’s before it retransmits a lost packet.  Its congestion avoidance mechanisms to detect incipient congestion are very efficient and utilize network resources much more efficiently.  Because of its modified congestion avoidance and slow start algorithm there are fewer retransmits.
  • 25. 4. SACK  In its estimation of incipient congestion, and its efficient estimation of congestion by measuring change in throughput rather than packet loss. This would result in a better utilization of bandwidth and lesser congestion.  Also it appears more stable than SACK. The reason for this being that SACK uses packet losses to denote congestion. So that the sender continually increase sending rate until there is congestion.  Another advantage of TCP Vegas or rather the disadvantage of SACK is that it is not very easy to incorporate SACK in the current TCP.
  • 26.  https://www.hep.ucl.ac.uk/~ytl/tcpip/backgr ound/tahoe-reno.html  https://sites.google.com/site/networksprojec twiki/bit10/compnetworks/tcp-performance-in- high-speed-long-distance-networks/ working-oftcp-tahoe-newreno-and- vegas  https://inst.eecs.berkeley.edu/~ee122/fa05/ projects/Project2/SACKRENEVEGAS.pdf  Chapter 12 from High Speed Networks and Intranets by William Stallings

Editor's Notes

  1. Thus it gets around the problem faced by Reno of not being able to detect lost packets when it had a small window and it didn’t receive enough duplicate ACK’s.