SlideShare a Scribd company logo
1 of 11
Download to read offline
TCP Westwood
End-to-End Congestion Control for Wired/Wireless Networks




                                            By
                                            Guillem C. Mayol
                                            Adrian Viala
                                            Dídac Montero
                                            Mateu Seguí
TCP Westwood: Main features

¤  Improves the performances of TCP Reno over leaky and
    dynamically loaded canal as wireless networks (small
    improve for wired network)
   ¤  TCPW in not very sensitive to random errors.

¤  TCPW fully complies with end-to-end TCP design principle.
   ¤  Not requires inspection of TCP packets at intermediate nodes.
   ¤  BW estimated by continuously monitoring ACKs.

¤  Friendliness with TCP variants, such as Reno.
   ¤  TCPW is a reactive process.

¤  TCPW convergence to fair share.
TCP Westwood: How works?
¤  TCPW works as TCP Reno but with smallest changes.

¤  After 3 ACK losses
   ¤  ssthresh = (BWE * RTTmin)/seg_size;
   ¤  If (cwin > ssthresh) cwin = ssthresh;

¤  Timeout expiration
   ¤  ssthresh = (BWE * RTTmin)/seg_size; (min 2)   3 ACK losses
   ¤  cwin = 1;




                              Timeout
TCP Westwood: How works?




Image source: http://c3lab.poliba.it/index.php/Westwood
delivered to the destination.                                       equal to τ/2 is necessary. But, since the ACK
                             We discuss the use of the information in (2) in section 2.3.     chronous, the sampling frequency constraint c
                          For now, let assume that an ACK is received at the source at        anteed. Thus, to guarantee the Nyquist constr
                          time tk , notifying that dk bytes have been received at the TCP     lish that if a time τ/m (m         2) has elapsed
                          receiver. We can measure the following sample bandwidth             received ACK without receiving any new AC
                          used by that connection as bk = dk / k , where k = tk −tk−1         ter assumes the reception of a virtual null sa
                          and tk−1 is the time the previous ACK was received.                 The situation is shown in figure 1, where tk
                             Since congestion occurs whenever the low-frequency input         an ACK is received, tk+j are the arrival time

   TCP Westwood: End-to-End
                          traffic rate exceeds the link capacity [15] we employ a low-         samples, with tk+j +1 − tk+j = τ/m for j
                          pass filter to average sampled measurements and to obtain the        and bk+j = 0 for j = 0, n − 1 are th
                          low-frequency components of the available bandwidth. No-            ples. Then, bk+n = dk+n / k+n is the bandw

   bandwidth measurement I
                          tice that this averaging is also useful in filtering out the noise   tk+n .
                          due to delayed acknowledgments.                                         It is desirable that after a long time witho
                             In our early design and experimentation, we used a filter         because no new data were sent), the filter ac

¤  BW estimated (BWE) by monitoring the TCP ACKs
                          similar to the one used for RTT estimation in TCP. We de-           vative fashion, progressively decreasing the b
                          termined that such an exponential filter with constant coeffi-        mation as time elapses without new samples.
                          cients is not capable of efficiently filtering out high-frequency     the operation of the TCPW filter when there is
                                                                   Transmitted Bytes
                          components of the bandwidth measurements. We propose the            sence of ACKs after a time t = tk . As can be
            dk     dk
       bk =    =          ;
BW
            Δ k tk − tk−1

      Interarrival ACKs           ACK received at source
delivered to the destination.                                       equal to τ/2 is necessary. But, since the ACK
                          We discuss the use of the information in (2) in section 2.3.     chronous, the sampling frequency constraint c
                       For now, let assume that an ACK is received at the source at        anteed. Thus, to guarantee the Nyquist constr
                       time tk , notifying that dk bytes have been received at the TCP     lish that if a time τ/m (m         2) has elapsed
                       receiver. We can measure the following sample bandwidth             received ACK without receiving any new AC
                       used by that connection as bk = dk / k , where k = tk −tk−1         ter assumes the reception of a virtual null sa
                       and tk−1 is the time the previous ACK was received.                 The situation is shown in figure 1, where tk
                          Since congestion occurs whenever the low-frequency input         an ACK is received, tk+j are the arrival time

   TCP Westwood: End-to-End
                       traffic rate exceeds the link capacity [15] we employ a low-         samples, with tk+j +1 − tk+j = τ/m for j
                       pass filter to average sampled measurements and to obtain the        and bk+j = 0 for j = 0, n − 1 are th
                       low-frequency components of the available bandwidth. No-            ples. Then, bk+n = dk+n / k+n is the bandw

   bandwidth measurement II
                       tice that this averaging is also useful in filtering out the noise   tk+n .
                       due to delayed acknowledgments.                                         It is desirable that after a long time witho
                          In our early design and experimentation, we used a filter         because no new data were sent), the filter ac
                       similar to the one used for RTT estimation in TCP. We de-           vative fashion, progressively decreasing the b
                       termined that such an exponential filter with constant coeffi-        mation as time elapses without new samples.
¤  TCPW uses a low pass filter to average sampled
                       cients is not capable of efficiently filtering out high-frequency
                       components of the bandwidth measurements. We propose the
                                                                                           the operation of the TCPW filter when there is
                                                                                           sence of ACKs after a time t = tk . As can be
    measurements and to obtain low-freq. components of the
    available bandwidth.      BW (Actual)     ACK received at source
     BWE

ˆ = α b + (1− α )( bk + bk−1 ) α k = 2τ − Δ k
bk    ˆ
     k k−1     k
                       2             2τ + Δ k
 Last BWE
                   τ =1/cut-off freq.                                                           Interarrival ACKs

¤  When interarrival ACKs increases (losses?) the most
    important values are the two most recent BW calculated,
    otherwise the Last BWE has more weight.
TCP Westwood: End-to-End
bandwidth measurement III
TCP Westwood: End-to-End
bandwidth measurement IV
TCP Westwood: performance with
       lossy link & fair share
¤  Avg. throughput versus
    number of Reno connections
    over good and lossy link.




                                 "   Convergence toward fair
                                     bandwidth sharing when
                                     connection A started firstly
TCP Westwood: performance
TCP Westwood: performance

More Related Content

What's hot

MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionPrem Sanil
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)ArunChokkalingam
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor networkdeawoo Kim
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network LayerRahul Hada
 
LTE Architecture
LTE ArchitectureLTE Architecture
LTE ArchitectureManje Gowda
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsnDeepaDasarathan
 
Bringing AI research to wireless communication and sensing
Bringing AI research to wireless communication and sensingBringing AI research to wireless communication and sensing
Bringing AI research to wireless communication and sensingQualcomm Research
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication ProtocolsPradeep Kumar TS
 
6-IoT protocol.pptx
6-IoT protocol.pptx6-IoT protocol.pptx
6-IoT protocol.pptxPratik Gohel
 
Power Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksPower Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksMshari Alabdulkarim
 
Internet of thing (IoT and cloud convergence opportunitis and challenges
 Internet of thing (IoT and cloud convergence opportunitis and challenges  Internet of thing (IoT and cloud convergence opportunitis and challenges
Internet of thing (IoT and cloud convergence opportunitis and challenges Dr.-Ing Abdur Rahim Biswas
 
Features of mobile ip
Features of mobile ipFeatures of mobile ip
Features of mobile ippriya Nithya
 

What's hot (20)

MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol Introduction
 
Wtls
WtlsWtls
Wtls
 
GPRS INTERFACES
GPRS INTERFACESGPRS INTERFACES
GPRS INTERFACES
 
IoT and m2m
IoT and m2mIoT and m2m
IoT and m2m
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor network
 
6lowpan
6lowpan6lowpan
6lowpan
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
LTE Architecture
LTE ArchitectureLTE Architecture
LTE Architecture
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsn
 
Single sidebands ssb lathi
Single sidebands ssb   lathiSingle sidebands ssb   lathi
Single sidebands ssb lathi
 
Bringing AI research to wireless communication and sensing
Bringing AI research to wireless communication and sensingBringing AI research to wireless communication and sensing
Bringing AI research to wireless communication and sensing
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication Protocols
 
6-IoT protocol.pptx
6-IoT protocol.pptx6-IoT protocol.pptx
6-IoT protocol.pptx
 
Power Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor NetworksPower Saving in Wireless Sensor Networks
Power Saving in Wireless Sensor Networks
 
Mobile ipv6
Mobile ipv6Mobile ipv6
Mobile ipv6
 
Internet of thing (IoT and cloud convergence opportunitis and challenges
 Internet of thing (IoT and cloud convergence opportunitis and challenges  Internet of thing (IoT and cloud convergence opportunitis and challenges
Internet of thing (IoT and cloud convergence opportunitis and challenges
 
Wireless networking
Wireless networkingWireless networking
Wireless networking
 
Features of mobile ip
Features of mobile ipFeatures of mobile ip
Features of mobile ip
 

Viewers also liked

Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcpsamarai_apoc
 
Lecture 4: TCP and TFRC
Lecture 4: TCP and TFRCLecture 4: TCP and TFRC
Lecture 4: TCP and TFRCWei Tsang Ooi
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion controlShubham Jain
 
Dial의 이해
Dial의 이해Dial의 이해
Dial의 이해남억 김
 
CS5229 Lecture 5: TCP and TRFC
CS5229 Lecture 5: TCP and TRFCCS5229 Lecture 5: TCP and TRFC
CS5229 Lecture 5: TCP and TRFCWei Tsang Ooi
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control anuragjagetiya
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptxNaveen Dubey
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
TCP- Transmission Control Protocol
TCP-  Transmission Control Protocol TCP-  Transmission Control Protocol
TCP- Transmission Control Protocol Akhil .B
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion AvoidanceRam Dutt Shukla
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
wimax Ppt for seminar
wimax Ppt for seminarwimax Ppt for seminar
wimax Ppt for seminarPratik Anand
 

Viewers also liked (18)

Analysis of TCP variants
Analysis of TCP variantsAnalysis of TCP variants
Analysis of TCP variants
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
 
Lecture 4: TCP and TFRC
Lecture 4: TCP and TFRCLecture 4: TCP and TFRC
Lecture 4: TCP and TFRC
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
Cubic
CubicCubic
Cubic
 
Research paper
Research paperResearch paper
Research paper
 
Dial의 이해
Dial의 이해Dial의 이해
Dial의 이해
 
CS5229 Lecture 5: TCP and TRFC
CS5229 Lecture 5: TCP and TRFCCS5229 Lecture 5: TCP and TRFC
CS5229 Lecture 5: TCP and TRFC
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
TCP- Transmission Control Protocol
TCP-  Transmission Control Protocol TCP-  Transmission Control Protocol
TCP- Transmission Control Protocol
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
Tcp Congestion Avoidance
Tcp Congestion AvoidanceTcp Congestion Avoidance
Tcp Congestion Avoidance
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Congestion control
Congestion controlCongestion control
Congestion control
 
wimax Ppt for seminar
wimax Ppt for seminarwimax Ppt for seminar
wimax Ppt for seminar
 

Similar to TCP Westwood

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
 
Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Justin Frankel
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDPsangusajjan
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot LayerMaulik Patel
 
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...ambitlick
 
Computer network (13)
Computer network (13)Computer network (13)
Computer network (13)NYversity
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Controlsoohyunc
 
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...ijwmn
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switchingSuneel Varma
 
Mobile transport layer
 Mobile transport layer Mobile transport layer
Mobile transport layerSonaliAjankar
 
TCP Performance Optimizations for Wireless Sensor Networks
TCP Performance Optimizations forWireless Sensor NetworksTCP Performance Optimizations forWireless Sensor Networks
TCP Performance Optimizations for Wireless Sensor NetworksTorsten Braun, Universität Bern
 
"Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...
 "Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ... "Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...
"Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...losalamos
 
Parameters of multipath channel
Parameters of multipath channelParameters of multipath channel
Parameters of multipath channelNaveen Kumar
 

Similar to TCP Westwood (20)

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
 
Tcp performance simulationsusingns2
Tcp performance simulationsusingns2Tcp performance simulationsusingns2
Tcp performance simulationsusingns2
 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDP
 
Congestion control avoidance
Congestion control avoidanceCongestion control avoidance
Congestion control avoidance
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot Layer
 
TCP_Congestion_Control.ppt
TCP_Congestion_Control.pptTCP_Congestion_Control.ppt
TCP_Congestion_Control.ppt
 
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...
Enhancing Downlink Performance in Wireless Networks by Simultaneous Multiple ...
 
Computer network (13)
Computer network (13)Computer network (13)
Computer network (13)
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Control
 
Mobile comn.pptx
Mobile comn.pptxMobile comn.pptx
Mobile comn.pptx
 
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...
Osc mac duty cycle with multi helpers ct mode wi-lem technology in wireless s...
 
Tcp congestion avoidance
Tcp congestion avoidanceTcp congestion avoidance
Tcp congestion avoidance
 
Dcom ppt(en.39) dpcm
Dcom ppt(en.39) dpcmDcom ppt(en.39) dpcm
Dcom ppt(en.39) dpcm
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switching
 
Mobile transport layer
 Mobile transport layer Mobile transport layer
Mobile transport layer
 
TCP Performance Optimizations for Wireless Sensor Networks
TCP Performance Optimizations forWireless Sensor NetworksTCP Performance Optimizations forWireless Sensor Networks
TCP Performance Optimizations for Wireless Sensor Networks
 
"Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...
 "Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ... "Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...
"Performance Evaluation and Comparison of Westwood+, New Reno and Vegas TCP ...
 
Parameters of multipath channel
Parameters of multipath channelParameters of multipath channel
Parameters of multipath channel
 
[IJET-V1I3P12] Authors :Inchara K, Shreenath K N,Dr.Srinivasa K G
[IJET-V1I3P12] Authors :Inchara K, Shreenath K N,Dr.Srinivasa K G[IJET-V1I3P12] Authors :Inchara K, Shreenath K N,Dr.Srinivasa K G
[IJET-V1I3P12] Authors :Inchara K, Shreenath K N,Dr.Srinivasa K G
 
Part9-congestion.pptx
Part9-congestion.pptxPart9-congestion.pptx
Part9-congestion.pptx
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 

TCP Westwood

  • 1. TCP Westwood End-to-End Congestion Control for Wired/Wireless Networks By Guillem C. Mayol Adrian Viala Dídac Montero Mateu Seguí
  • 2. TCP Westwood: Main features ¤  Improves the performances of TCP Reno over leaky and dynamically loaded canal as wireless networks (small improve for wired network) ¤  TCPW in not very sensitive to random errors. ¤  TCPW fully complies with end-to-end TCP design principle. ¤  Not requires inspection of TCP packets at intermediate nodes. ¤  BW estimated by continuously monitoring ACKs. ¤  Friendliness with TCP variants, such as Reno. ¤  TCPW is a reactive process. ¤  TCPW convergence to fair share.
  • 3. TCP Westwood: How works? ¤  TCPW works as TCP Reno but with smallest changes. ¤  After 3 ACK losses ¤  ssthresh = (BWE * RTTmin)/seg_size; ¤  If (cwin > ssthresh) cwin = ssthresh; ¤  Timeout expiration ¤  ssthresh = (BWE * RTTmin)/seg_size; (min 2) 3 ACK losses ¤  cwin = 1; Timeout
  • 4. TCP Westwood: How works? Image source: http://c3lab.poliba.it/index.php/Westwood
  • 5. delivered to the destination. equal to τ/2 is necessary. But, since the ACK We discuss the use of the information in (2) in section 2.3. chronous, the sampling frequency constraint c For now, let assume that an ACK is received at the source at anteed. Thus, to guarantee the Nyquist constr time tk , notifying that dk bytes have been received at the TCP lish that if a time τ/m (m 2) has elapsed receiver. We can measure the following sample bandwidth received ACK without receiving any new AC used by that connection as bk = dk / k , where k = tk −tk−1 ter assumes the reception of a virtual null sa and tk−1 is the time the previous ACK was received. The situation is shown in figure 1, where tk Since congestion occurs whenever the low-frequency input an ACK is received, tk+j are the arrival time TCP Westwood: End-to-End traffic rate exceeds the link capacity [15] we employ a low- samples, with tk+j +1 − tk+j = τ/m for j pass filter to average sampled measurements and to obtain the and bk+j = 0 for j = 0, n − 1 are th low-frequency components of the available bandwidth. No- ples. Then, bk+n = dk+n / k+n is the bandw bandwidth measurement I tice that this averaging is also useful in filtering out the noise tk+n . due to delayed acknowledgments. It is desirable that after a long time witho In our early design and experimentation, we used a filter because no new data were sent), the filter ac ¤  BW estimated (BWE) by monitoring the TCP ACKs similar to the one used for RTT estimation in TCP. We de- vative fashion, progressively decreasing the b termined that such an exponential filter with constant coeffi- mation as time elapses without new samples. cients is not capable of efficiently filtering out high-frequency the operation of the TCPW filter when there is Transmitted Bytes components of the bandwidth measurements. We propose the sence of ACKs after a time t = tk . As can be dk dk bk = = ; BW Δ k tk − tk−1 Interarrival ACKs ACK received at source
  • 6. delivered to the destination. equal to τ/2 is necessary. But, since the ACK We discuss the use of the information in (2) in section 2.3. chronous, the sampling frequency constraint c For now, let assume that an ACK is received at the source at anteed. Thus, to guarantee the Nyquist constr time tk , notifying that dk bytes have been received at the TCP lish that if a time τ/m (m 2) has elapsed receiver. We can measure the following sample bandwidth received ACK without receiving any new AC used by that connection as bk = dk / k , where k = tk −tk−1 ter assumes the reception of a virtual null sa and tk−1 is the time the previous ACK was received. The situation is shown in figure 1, where tk Since congestion occurs whenever the low-frequency input an ACK is received, tk+j are the arrival time TCP Westwood: End-to-End traffic rate exceeds the link capacity [15] we employ a low- samples, with tk+j +1 − tk+j = τ/m for j pass filter to average sampled measurements and to obtain the and bk+j = 0 for j = 0, n − 1 are th low-frequency components of the available bandwidth. No- ples. Then, bk+n = dk+n / k+n is the bandw bandwidth measurement II tice that this averaging is also useful in filtering out the noise tk+n . due to delayed acknowledgments. It is desirable that after a long time witho In our early design and experimentation, we used a filter because no new data were sent), the filter ac similar to the one used for RTT estimation in TCP. We de- vative fashion, progressively decreasing the b termined that such an exponential filter with constant coeffi- mation as time elapses without new samples. ¤  TCPW uses a low pass filter to average sampled cients is not capable of efficiently filtering out high-frequency components of the bandwidth measurements. We propose the the operation of the TCPW filter when there is sence of ACKs after a time t = tk . As can be measurements and to obtain low-freq. components of the available bandwidth. BW (Actual) ACK received at source BWE ˆ = α b + (1− α )( bk + bk−1 ) α k = 2τ − Δ k bk ˆ k k−1 k 2 2τ + Δ k Last BWE τ =1/cut-off freq. Interarrival ACKs ¤  When interarrival ACKs increases (losses?) the most important values are the two most recent BW calculated, otherwise the Last BWE has more weight.
  • 9. TCP Westwood: performance with lossy link & fair share ¤  Avg. throughput versus number of Reno connections over good and lossy link. "   Convergence toward fair bandwidth sharing when connection A started firstly