Docsity

High Speed Network in Computer Neworking, Study notes of Network Analysis

Toggle sidebar
bg1
DEPARTMENT OF CSE, SRM UNIVERSITY
CS1128
High Speed Networks
UNIT 2 NOTES
CONGESTION CONTROL AND TRAFFIC MANAGEMENT
CONGESTION-CONTROL MECHANISMS
Backpressure
• Request from destination to source to reduce rate
• Useful only on a logical connection basis
• Requires hop-by-hop flow control mechanism
Policing
• Measuring and restricting packets as they enter the network
Choke packet
• Specific message back to source E.g., ICMP Source Quench
• Implicit congestion signaling
TRAFFIC MANAGEMENT IN CONGESTED NETWORK – SOME CONSIDERATIONS
Fairness
• Various flows should “suffer” equally.
• Last-in-first-discarded may not be fair
Quality of Service (QoS)
• Flows treated differently, based on need
• Voice, video: delay sensitive, loss insensitive
• File transfer, mail: delay insensitive, loss sensitive
• Interactive computing: delay and loss sensitive
Reservations
• Policing: excess traffic discarded or handled on best-effort basis
pf3
pf4
pf5
pf8

Partial preview of the text

Download High Speed Network in Computer Neworking and more Study notes Network Analysis in PDF only on Docsity!

DEPARTMENT OF CSE, SRM UNIVERSITY

CS

High Speed Networks

UNIT 2 NOTES

CONGESTION CONTROL AND TRAFFIC MANAGEMENT

CONGESTION-CONTROL MECHANISMS

Backpressure

  • Request from destination to source to reduce rate
  • Useful only on a logical connection basis
  • Requires hop-by-hop flow control mechanism Policing
  • Measuring and restricting packets as they enter the network Choke packet
  • Specific message back to source E.g., ICMP Source Quench
  • Implicit congestion signaling TRAFFIC MANAGEMENT IN CONGESTED NETWORK – SOME CONSIDERATIONS Fairness
  • Various flows should “suffer” equally.
  • Last-in-first-discarded may not be fair Quality of Service (QoS)
  • Flows treated differently, based on need
  • Voice, video: delay sensitive, loss insensitive
  • File transfer, mail: delay insensitive, loss sensitive
  • Interactive computing: delay and loss sensitive Reservations
  • Policing: excess traffic discarded or handled on best-effort basis

FRAME RELAY CONGESTION CONTROL

  • Minimize frame discard
  • Maintain QoS (per-connection bandwidth)
  • Minimize monopolization of network
  • Simple to implement, little overhead
  • Minimal additional network traffic
  • Resources distributed fairly
  • Limit spread of congestion
  • Operate effectively regardless of flow
  • Have minimum impact other systems in network
  • Minimize variance in QoS Frame Relay Traffic Rate Management Parameters
  • Committed Information Rate (CIR)
  • Average data rate in bits/second that the network agrees to support for a connection
  • Data Rate of User Access Channel (Access Rate)
  • Fixed rate link between user and network (for network access)
  • Committed Burst Size (Bc)
  • Maximum data over an interval agreed to by network
  • Excess Burst Size (Be)
  • Maximum data, above Bc, over an interval that network will attempt to transfer TCP FLOW CONTROL
  • Uses a form of sliding window.
  • Differs from mechanism used in LLC, HDLC, X.25, and others:
  • Decouples acknowledgement of received data units from granting permission to send more.
  • TCP’s flow control is known as a credit allocation scheme:
  • Each transmitted octet is considered to have a sequence number.
  • TCP Header Fields for Flow Control:
  • Sequence number (SN) of first octet in data segment.
  • Acknowledgement number (AN).

TCP CONGESTION CONTROL

  • Dynamic routing can alleviate congestion by spreading load more evenly
  • But only effective for unbalanced loads and brief surges in traffic
  • Congestion can only be controlled by limiting total amount of data entering network
  • ICMP source Quench message is crude and not effective
  • RSVP may help but not widely implemented TCP Congestion Control is Difficult
  • IP is connectionless and stateless, with no provision for detecting or controlling congestion
  • TCP only provides end-to-end flow control
  • No cooperative, distributed algorithm to bind together various TCP entities TCP Flow and Congestion Control
  • The rate at which a TCP entity can transmit is determined by rate of incoming ACKs to previous segments with new credit
  • Rate of Ack arrival determined by round-trip path between source and destination
  • Bottleneck may be destination or internet
  • Sender cannot tell which
  • Only the internet bottleneck can be due to congestion RETRANSMISSION TIMER MANAGEMENT Three Techniques to calculate retransmission timer (RTO):
  • RTT Variance Estimation
  • Exponential RTO Backoff
  • Karn’s Algorithm

RTTVarianceEstimation (Jacobson’s Algorithm) 3 sources of high variance in RTT

  • If data rate relative low, then transmission delay will be relatively large, with larger variance due to variance in packet size
  • Load may change abruptly due to other sources
  • Peer may not acknowledge segments immediately EXPONENTIAL RTO BACKOFF
  • Increase RTO each time the same segment retransmitted – backoff process
  • Multiply RTO by constant:
  • RTO = q × RTO
  • q = 2 is called binary exponential backoff Which Round-trip Samples?
  • If an ack is received for retransmitted segment, there are 2 possibilities:
  • Ack is for first transmission
  • Ack is for second transmission
  • TCP source cannot distinguish 2 cases
  • No valid way to calculate RTT:
  • From first transmission to ack, or
  • From second transmission to ack? KARN’S ALGORITHM
  • Do not use measured RTT to update SRTT and SDEV
  • Calculate backoff RTO when a retransmission occurs
  • Use backoff RTO for segments until an ack arrives for a segment that has not been retransmitted
  • Then use Jacobson’s algorithm to calculate RTO

Cell Delay Variation at UNI

  • Caused by processing in three layers of ATM model
    • See next slide for details
  • None of these delays can be predicted
  • None follow repetitive pattern
  • So, random element exists in time interval between reception by ATM stack and transmission ATM TRAFFIC-RELATED ATTRIBUTES
  • Six service categories
  • Constant bit rate (CBR)
  • Real time variable bit rate (rt-VBR)
  • Non-real-time variable bit rate (nrt-VBR)
  • Unspecified bit rate (UBR)
  • Available bit rate (ABR)
  • Guaranteed frame rate (GFR)
  • Characterized by ATM attributes in four categories
  • Traffic descriptors
  • QoS parameters
  • Congestion
  • Other
  • Traffic Parameters
  • Traffic pattern of flow of cells
  • Intrinsic nature of traffic
  • Source traffic descriptor
  • Modified inside network
  • Connection traffic descriptor Source Traffic Descriptor
  • Peak cell rate
  • Upper bound on traffic that can be submitted
  • Defined in terms of minimum spacing between cells T
  • PCR = 1/T
  • Mandatory for CBR and VBR services
  • Sustainable cell rate
  • Upper bound on average rate
  • Calculated over large time scale relative to T
  • Required for VBR
  • Enables efficient allocation of network resources between VBR sources
  • Only useful if SCR < PCR
  • Maximum burst size
  • Max number of cells that can be sent at PCR
  • If bursts are at MBS, idle gaps must be enough to keep overall rate below SCR
  • Required for VBR