Shared Flashcard Set

Details

Lecture 8 - IP Quality of Service
Alejandro Saucedo - Comp2008 Lecture 8 FlashCard Set
22
Computer Networking
Undergraduate 2
05/16/2013

Additional Computer Networking Flashcards

 


 

Cards

Term
What is a key thing to remember about QoS?
Definition

Is only as strong as the weakest link on the network.

 

If there is one device that doesn't support it, or an old device that is on the way, that is going to be the weak point or the problem in the network.

Term
What is QoS?
Definition
It is the idea that transmission rates, error rates and other characteristics cna be measured, improved and to some extent, guaranteed in advance. It involves prioritization of network traffic.
Term
Why is there a need for QoS?
Definition
  • IP packet delivery is on a 'best effort' basis
  • Routers can/will drop IP datagrams
    • Congestion occurs when queues/buffers fill
  • Many applications require better service
    • Convergenve of communication services to IP
    • Low latency requirements (e.g. VoIP)
    • Bandwidth guarantees, e.g. video streaming
  • Need methods to deliver these sevices at good 'quality' on IP networks
Term
What are some of QoS metrics?
Definition
  • Throughput - e.g. in Mbits/s or Gbits/s
  • One way delay (OWD) - in milliseconds
  • Round trip time (RTT)
    • Paths may be asymetric to and form sender
  • Jitter - variation in delay
  • Packet loss - as percentage
  • Allows ISPs to offer Service Level Agreements (quality) based on these metrics
Term
What is a global overview of QoS?
Definition
  • Need to offer application an assurance of service
  • So routers must apply special processing to packets
    • Based on some property/classification of packet
  • Usually requires support from all routers on path
    • Where full end-to-end guarantees are required
  • That path may traverse a number of ISPs
    • Inter-ISP policy agreement can be the hardest
  • Implies enough bandwith to offer service
    • Prioritising traffic may impact normal "best effort" traffic
Term
What are some QoS methods?
Definition
  • Overprovisioning
  • Applying QoS policies on individual routers
    • May include traffic shaping per application/device
  • Integrated services
    • End-to-end pre-negotiated QoS
    • Requires signaling and flow state held in each router on path
  • Differentiated services
    • Pre-configured priorities applied by each router on path
Term
Explain the Overprovisioning method of QoS
Definition
  • An ISP can procure bandwith such taht congesiton is very rare, and typical usage well below capacity
    • Costs money
    • Sometimes the simplest approach
    • This is how JANET academic core is delivered
  • Problem is that congestion is pushed to the edge
    • Where congestion is only at the edge, local QoS configuration at the edge router may suffice
Term
Why is it important to have access router configuration?
Definition
  • Often the main problem lies at the access router
    • e.g. Many nodes using TCP but one handles crucial data - he would suffer more
  • Could configure the access router on the local home network to offer some QoS support
    • Treat different packets or flows differently with queuing algorithms/methods
Term
What properties can be used to classify packets and the flows they are part of?
Definition
  • IP source address/network
  • IP destination address/network
  • TCP/UDP source port
  • TCP/UDP destination port
  • Protocol used
Term
What are the characteristics of QoS on ADSL routers?
Definition
  • QoS support is variable on commodity ASDL routers
  • Might have some option via web config screen
  • May be able to:
    • Reserve bandwith based on flow properties
    • Prioritise traffic based on flow properties
    • Rate-limit (Traffic shape) based on flow propert.
    • But usually quite limited capabilities as these are cheap devices
Term
What are the two main approaches to provide QoS on a path between hosts traversing multiple routers/ISPs (internet scale)?
Definition
  • Integrated services (Intserv)
    • Presignal QoS requirement & reserve capability
  • Differenciated services (Difserv)
    • Pre-configure router to prioritise packets based on the observed value of the 8-bit type of service (ToS) IP header field (IPv4) or Traffic Class Field (IPv6)
    • Implies the fileld is set to the desired value by sender
Term
What are the main principles for Integrated services?
Definition
  • (RSVP) Application (data sender) sets the QoS path
    • PATH message sent by sender to destination
    • Routers forward PATH message to receiver
    • At each hop routers note IP of previous hop
  • Receiver requests the reservation
    • RESV message sent back hop by hop to sender
    • RESV messsage contains flow/filter spec
    • Routers reserve appropriate parameters for QoS
    • If sender receives RESV message back, it knows QoS reservation is made
Term

What are the pros of IntServ?

Definition
  • Allows fine granularity (Density of components in the system) of QoS behaviours
  • Multiple types/classes between multiple senders and receivers
Term
What are the cons of IntServ?
Definition
  • Requires signalling per flow - May be a significant overhead
  • Requires per flow state to be held in each router, so that flows can be identified (classified) and prioritised accordingly
  • Reservation needs to be refreshed periodically, typically every 30 secs, due to possible routing changes
  • All routers along traffic path must support it
Term
What are the basic principles of Difserv?
Definition
  • Traffic (packets) are prioritised by routers depending on the value of the 8-bit ToS (Type of Service) field in the IP header
    • Value may be set by sender
    • Value may be (re)written by a router (typically a site border router for the sender) - classifying and marking the packet
  • Routers are preconfigured to apply policy/prioritisation based on the value they see
    • Can define common behaviour for well-known values
  • QoS is thus applied hop by hop (router by router)
  • No signalling or per-flow state required
Term
What is assured forwarding?
Definition
  • Allows operator to provide assurance of delivery as long as the traffic does not exceed some subscribed rate.
  • Traffic that exceeds the subscription rate faces a higher probability if congestion occurs.
  • The AF behaviour defines four separate AF classes, with class 4 having the highest priority

 

Term
What is Differenciated services code point (DSCP)?
Definition
  • A 6-bit field within the IPv4 and IPv6 type of service (ToS) 8-bit header field
  • Common semantics of DSCP values can be agreed for end-to-end Diffserv traffic handling eg.
    • Premium IP (High priority) - DSCP 46
    • Best effort (Normal) = DSCP 0
    • Less than Best Effort (Low priority - discarded first when congestion occurs) - DSCP 8

 

 

Term
What are the properties of Premium IPs?
Definition
  • Offers reserved bandwidth
    • Packets with DSCP 46 placed in the highest PQ
    • Portion of router capacity dedicated to DSCP 46
  • Capacity dedicated to premium IP reduces capacity available for regular Best Effort traffic
    • BE traffic is served from a different queue
  • Premium IP requires support by all routers on a path
Term
What are the principles of DIffServ provisioning?
Definition
  • Need to agree between networks how much Premium IP traffic is allowed
    • Police volume of Premium IP entering network
    • Agree how excess Premium traffic is handled
      • Usually dropped
    • Need to cater/provision for the worst case
  • One option is to overprovision Premium IP capacity
    • But this reduces the bandwidth available to normal traffic
Term
Give an example of DiffServ Provisioning
Definition
[image]
Term
What are the principles of Less than Best Effort (LBE)?
Definition
  • New idea - Similar to the Unix 'nice' command
  • Marks packets voluntarilly (usually in application)
    • Market packets are dropped first when congestion occurs
    • Can thus fill a link with LBE traffic and best effort (BE) should not be affected
    • LBE marked by sender, e.g. by an ftp server
  • Does't have to have end-to-end support
    • LBE can eb deployed incrementally at points of congestion
  • Deprioritise 'junk' rather than prioritise important traffic
Term
Give some scenarios where LBE would be useful
Definition
  • Bulk transfer
    • Transfer many terabytes over a week
    • Peer to peer background traffic
  • Remote backups
    • Real time delivery not important
  • Deprioritising student dormitory traffic
  • (De)prioritising certain traffic on low bandwidth academic sites
Supporting users have an ad free experience!