Computer Networks and Management: Integrated and Differentiated Services
Computer Networks and Management: Integrated and Differentiated Services
Introduction
New additions to Internet increasing traffic High volume client/server application Web Graphics Real time voice and video Need to manage traffic and control congestion IEFT standards Integrated services Collective service to set of traffic demands in domain Limit demand & reserve resources Differentiated services Classify traffic in groups Different group traffic handled differently
Integrated Services Architecture (ISA) IP-based internets have been able to provide a simple best effort delivery services to all application. ATM only network designed to support TCP, UDP and real-time traffic
May need new installation
Cont
ISA intended to provide QoS transport over IP-based internets. Main issue for ISA is HOW TO SHARE THE AVAILABLE CAPACITY IN TERMS OF CONGESTION. Traffic on a network or internet can be divided into 2 categories:
Elastic Traffic InElastic Traffic
In TCP, traffic on individual connection adjusts to congestion by reducing the rate at which data are presented to the network.
Cont
RTT back off and slow-start mechanisms are involved. Common Application:(Both TCP & UDP)
File Transfer (FTP) Electronic Mail (SMTP) Remote Logon (TELNET) Network Management (SNMP) Web Access (HTTP)
Cont...
Requirements of common applications:
E-Mail insensitive to delay changes FTP User expect delay proportional to file size
Sensitive to changes in throughput
SNMP delay not a problem, except when caused by congestion Web (HTTP), TELNET sensitive to delay
Requirements:
Throughput Minimum required Delay E.g. Stock trading Jitter - Delay variation More jitter requires a bigger buffer E.g. teleconferencing requires reasonable upper bound Packet loss
ISA Approach
Provision of QoS over IP Sharing available capacity when congested Router mechanisms
Routing Algorithms
Select to minimize delay
Packet discard
Causes TCP sender to back off and reduce load
Enhanced traditional best effort mechanism are added to the architecture of ISA.
Flow
IP packet can be associated with a flow
Distinguishable stream of related IP packets from a single user activity and requires same QoS E.g. one transport connection or one video stream
Membership of flow identified by source and destination IP address, port numbers, protocol type
ISA Functions
Admission control
For QoS, reservation required for new flow RSVP used
Routing algorithm
Base decision on QoS parameters
Queuing discipline
Take account of different flow requirements
Discard policy
Manage congestion Meet QoS
Background Functions
Forwarding Functions
Routing protocol
Packet scheduler
Manages one or more queues for each output port Order queued packets sent
Based on class, traffic control database, current and past activity on outgoing port
Policing
ISA Services
ISA services for a flow of packets is on 2 level
1 Level- General categories of service are provided 2 Level- Particular flow is specified by the values of certain parameters
Traffic specification (TSpec) 3 Categories
i. Guaranteed ii. Controlled load iii. Best effort (default)
Token Bucket
Many traffic sources can be defined by token bucket scheme Provides concise description of load imposed by flow
Easy to determine resource requirements
No queuing losses
no buffer overflow
E.g. Real time play back of incoming signal can use delay buffer for incoming signal but will not tolerate packet loss
Queuing Discipline
Traditionally first in first out (FIFO) or first come first served (FCFS) at each router port No special treatment to high priority packets (flows) Small packets held up by large packets ahead of them in queue
Larger average delay for smaller packets Flows of larger packets get better service
Short packets penalized as each queue sends one packet per cycle
Processor Sharing
Multiple queues as in FQ Short packets suffering longer delay overcomed using BRFQ Ideal policy used to understand BRFQ is PS Send one bit from each queue per round
Longer packets no longer get an advantage
is
Gives means of responding to different service requests Guarantees that delays do not exceed bounds
Global synchronization
Traffic burst fills queues so packets lost Many TCP connections enter slow start Due to drop in network traffic so network under utilized Connections leave slow start at same time causing burst
Bigger buffers do not help Try to anticipate onset of congestion and tell one connection to slow down
Characteristics of DS
IP Packets are labelled for differing QOS treatment which uses existing IPv4 header Type of Service or IPv6 Traffic Class field
No change to IP
Service level agreement (SLA) is established between provider (internet domain) and customer prior to use of DS
DS mechanisms not needed in applications
Build in aggregation
All traffic with same DS field are treated same
E.g. multiple voice connections
Services
Provided within DS domain
Contiguous portion of Internet over which consistent set of DS policies administered Typically under control of one administrative entity
DS domain expected to provide agreed service internally If destination in another domain, DS domain attempts to forward packets through other domains
Appropriate service level requested from each domain
SLA Parameters
Detailed service performance parameters
Throughput, drop probability, latency
Example Services
Qualitative
A: Low latency B: Low loss
Quantitative
C: 90% in-profile traffic delivered with no more than 50ms latency D: 95% in-profile traffic delivered
Mixed
E: Twice bandwidth of F F: Traffic with drop precedence X has higher delivery probability than that with drop precedence Y
DS Field Detail
Leftmost 6 bits from a DS code point and the Rightmost 2 bits unused Within the 6 bits
64 different classes available 3 pools
xxxxx0 : reserved for standards
000000 : default packet class xxx000 : reserved for backwards compatibility with IPv4 TOS
xxxx11 : reserved for experimental or local use xxxx01 : reserved for experimental or local use but may be allocated for future standards if needed
Precedence Field
Indicates degree of urgency or priority If router supports precedence, three approaches: Route selection
Particular route may be selected if smaller queue or next hop on supports network precedence or priority e.g. token ring supports priority
Network service
Network on next hop supports precedence, service invoked
Queuing discipline
Use to affect how queues handled E.g. preferential treatment in queues to datagrams with higher precedence
Meter
Measure traffic for conformance to profile
Marker
Policing by remarking codepoints if required
Shaper Dropper
Inside network all traffic treated as single pool of packets, distinguished only as in or out Drop out packets before in packets if necessary Different levels of service because different number of in packets for each user
Within class, packets marked by customer or provider with one of three drop precedence values
Used to determine importance when dropping packets as result of congestion