quality of service (qos) in ip networks© 2005 petr grygarek, vsb-tu ostrava, routed and switched...

40
© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1 Quality of Service Quality of Service ( ( QoS QoS ) in IP networks ) in IP networks Petr Petr Gryg Gryg á á rek rek

Upload: others

Post on 14-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

Quality of Service Quality of Service ((QoSQoS) in IP networks) in IP networks

PetrPetr GrygGrygáárekrek

Page 2: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

2© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Quality of Service (Quality of Service (QoSQoS))

•• QoSQoS is the ability of network to support is the ability of network to support applications without limiting itapplications without limiting it’’s function or s function or performanceperformance

•• ITUITU--T E.800: T E.800: Quality of Service is an overall Quality of Service is an overall result of service performance, which determines result of service performance, which determines level of service user satisfactionlevel of service user satisfaction

Page 3: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

3© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

What influences What influences QoSQoS ??

Page 4: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

4© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

What influences What influences QoSQoS ??

Every network component influences Every network component influences QoSQoS::

•• End stations (workstations, servers, End stations (workstations, servers, ……))•• Routers, switchesRouters, switches•• Links Links

•• including links between routers and stub LANsincluding links between routers and stub LANs

Page 5: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

5© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Parameters which constitute Parameters which constitute QoSQoS

•• bandwidthbandwidth•• delaydelay•• delay variation (delay variation (jitterjitter))•• packetpacket lossloss

Page 6: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

6© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

What contributes to delay ?What contributes to delay ?

•• Fixed partFixed part•• sserializaerializationtion delaydelay•• propagation delaypropagation delay

•• Variable partVariable part•• bufferingbuffering ((queueingqueueing) ) in routers and switchesin routers and switches

Page 7: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

7© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Reasons of delay variationReasons of delay variation

NonNon--uniform handling of individual packets of the uniform handling of individual packets of the same flow in individual switching devicessame flow in individual switching devices•• variable delay caused by waiting in queuesvariable delay caused by waiting in queues

Page 8: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

8© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Reasons of packet lossReasons of packet loss

•• ((physical transmission errorsphysical transmission errors –– receiver receiver discarddiscardss) ) •• Overload of switching elementOverload of switching element’’s CPUs CPU

•• ((inputinput drops) drops)

•• Output queue fullOutput queue full•• ((outputoutput drops) drops)

Page 9: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

9© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS Implementation ModelsImplementation Models

Page 10: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

10© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS implementation modelsimplementation models

•• Best EffortBest Effort•• IntegratedIntegrated ServicesServices -- HardHard QoSQoS•• DifferentiatedDifferentiated ServicesServices -- Soft Soft QoSQoS

Page 11: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

11© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

BestBest EffortEffort ServiceService

•• Original Original InternetInternet serviceservice•• Makes best effort to transfer packet, but Makes best effort to transfer packet, but

provides no guaranteesprovides no guarantees•• In case of congestion, any packet may be In case of congestion, any packet may be

droppeddropped•• No No priorizationpriorization

Page 12: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

12© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

IntegratedIntegrated ServicesServices -- HardHard QoSQoS((intservintserv))

•• ExplicitExplicit reservation of network resources for reservation of network resources for individual flows before communication startsindividual flows before communication starts•• Link capacity, queue memory, CPU of switching Link capacity, queue memory, CPU of switching

elementselements

•• Poor scalabilityPoor scalability•• Many flows are passing through backbone devices Many flows are passing through backbone devices

•• ResourceResource ReservationReservation ProtocolProtocol (RSVP) (RSVP) •• reserves resources for individual flows along itreserves resources for individual flows along it’’s paths path

Page 13: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

13© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

IntServIntServ: : ResourceResource ReservationReservationProtocolProtocol (RSVP) (RSVP)

•• SignallingSignalling between flow receiver and switching between flow receiver and switching devices along (reverse) flow pathdevices along (reverse) flow path•• also among switching devicesalso among switching devices•• goes against flow directiongoes against flow direction

•• DDistinctistinct aandnd sharedshared reservationreservation•• Requires support of endRequires support of end--stations SWstations SW•• Natural in connectionNatural in connection--oriented networks (like oriented networks (like

ATM), problematic in packetATM), problematic in packet--switched networksswitched networks

Page 14: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

14© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

DifferentiatedDifferentiated ServicesServices -- Soft Soft QoSQoS((diffservdiffserv))

•• Traffic classification and markingTraffic classification and marking•• Defined Defined PerPer--Hop Hop BehaviorBehavior (PHB) (PHB) of switching of switching

devices (routers, switches) for every traffic class devices (routers, switches) for every traffic class •• Limited number of classes Limited number of classes –– better scalabilitybetter scalability•• Only prefers some data classes, no delivery time Only prefers some data classes, no delivery time

guaranteeguarantee•• only relative preferencesonly relative preferences

Page 15: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

15© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Traffic ClassificationTraffic Classification

•• Classification on the network (or Classification on the network (or QoSQoS--domain) domain) boundaryboundary

•• Marking at layer Marking at layer 22:: 802.1pq 802.1pq •• 33--bit bit ClassClass ofof ServiceService ((CoSCoS) ) fieldfield

•• Marking at layer Marking at layer 3: 3: 88--bit TOS/DSCP field in IP headerbit TOS/DSCP field in IP header•• Before: Before: Type Type ofof ServiceService ((ToSToS), 8 ), 8 IP precedence classesIP precedence classes•• Now: Now: DifferentiatedDifferentiated ServiceService CodeCode PointPoint (DSCP)(DSCP)

•• Routers and L3 switches needs to map between L2Routers and L3 switches needs to map between L2 CoSCoSaandnd L3L3 ToSToS/DSC/DSCPP•• QoSQoS has to be ensured endhas to be ensured end--toto--endend

Page 16: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

16© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Defined Defined DiffservDiffserv PerPer--hop Behaviorshop Behaviors

•• ExpeditedExpedited ForwardingForwarding (EF)(EF)•• ““VirtuVirtual leased lineal leased line””•• Little loss, small but variable delay, guaranteed bandwidthLittle loss, small but variable delay, guaranteed bandwidth

•• AssuredAssured ForwardingForwarding (AF)(AF)•• 4 4 classes specified byclasses specified by ClassClass SelectorSelector ((11--4)4)•• 3 drop preference3 drop preferences in every classs in every class

•• (1=(1=lowlow,, 2=2=medium,medium,3=3=highhigh).).

•• Denoted as Denoted as AFxyAFxy, x, x==classclass selectorselector, y, y==drop preferencedrop preference•• x,y x,y coded in coded in DSCP. DSCP.

•• BestBest EffortEffort

Page 17: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

17© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS Implementation MechanismsImplementation Mechanisms

Page 18: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

18© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Mechanisms of enforcing Mechanisms of enforcing QoSQoS

•• Applied only when network congestion arisesApplied only when network congestion arises•• If the network is not congested, If the network is not congested, QoSQoS mechanisms mechanisms

only cause unnecessary overhead and commonly are only cause unnecessary overhead and commonly are not appliednot applied

•• The goal is to guarantee minimal bandwidth, The goal is to guarantee minimal bandwidth, maximum delay and maximum jittermaximum delay and maximum jitter

Page 19: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

19© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Input filtering, classification and Input filtering, classification and markingmarking

Page 20: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

20© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

TrafficTraffic PolicingPolicing

•• Limits input rate according to Limits input rate according to CommitedCommitedInformation Rate (CIR)Information Rate (CIR)•• Sometimes takes EIR into account alsoSometimes takes EIR into account also

•• Uses Token Bucket AlgorithmUses Token Bucket Algorithm

Page 21: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

21© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Input Traffic ClassificationInput Traffic Classification

•• Classification based onClassification based on LL11--L7 L7 informationinformation•• Incoming port, MAC address, Incoming port, MAC address, protoprotocolcol, IP, IP

addresses, TCP/UDP portaddresses, TCP/UDP port, URL, MIME typ, URL, MIME typee, ...) , ...)

•• Classified by sender or by network boundary Classified by sender or by network boundary devicedevice•• NBAR: NetworkNBAR: Network--BasedBased ApplicationApplication RecognitionRecognition

•• Backbone devices trust classification performed Backbone devices trust classification performed on the network boundaryon the network boundary

Page 22: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

22© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

CongestionCongestion ManagementManagement

Page 23: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

23© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Congestion Management PrincipleCongestion Management Principle

•• Traffic classes sorted into queuesTraffic classes sorted into queues•• ExplicitExplicit (marking(marking--based) assignment to queuebased) assignment to queue•• Default queueDefault queue

•• Queues serviced by various algorithmsQueues serviced by various algorithms•• Selection of next packet to send out of output lineSelection of next packet to send out of output line

Page 24: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

24© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Basic Basic QueueingQueueing AlgorithmsAlgorithms

•• FIFO FIFO •• Priority Priority QueuingQueuing (PQ) (PQ)

•• absoluteabsolute prioritiespriorities•• CustomCustom QueuingQueuing (CQ) (CQ)

•• proportionalproportional queuequeue processingprocessing•• WeightedWeighted Fair Fair QueuingQueuing (WFQ(WFQ))

•• automaticautomatic traffictraffic classificationclassification intointo flowsflows, fair handling of , fair handling of flowsflows

•• ClassClass--BasedBased WeightedWeighted Fair Fair QueuingQueuing (CBWFQ)(CBWFQ)•• ClassificationClassification intointo classesclasses, FIFO in , FIFO in everyevery classclass, WFQ , WFQ

betweenbetween classesclasses•• LowLow--LatencyLatency QueuingQueuing (LLQ) (LLQ)

•• WFQ + WFQ + absoluteabsolute priority priority queuequeue

Page 25: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

25© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Priority Priority QueueingQueueing

Page 26: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

26© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Custom Custom QueueingQueueing

Page 27: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

27© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Weighted Fair Weighted Fair QueueingQueueing

Page 28: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

28© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

CongestionCongestion AvoidanceAvoidance

•• WhenWhen thethe queuequeue fillsfills--upup, , routerrouter startsstarts to to discardsdiscardspacketpacket ((tailtail drop)drop)•• Many TCP Many TCP flowsflows start to lose start to lose ACKsACKs andand perform perform

slowslow start start atat thethe samesame timetime•• TheThe resultresult isis globalglobal TCP TCP flowflow synchronizationsynchronization,,

causingcausing network network loadload oscillationoscillation

•• RandomRandom EarlyEarly DiscardDiscard techniquetechnique isis usedused to to combatcombat againstagainst itit

Page 29: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

29© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

((WeightedWeighted) ) RandomRandom EarlyEarly DiscardDiscard

•• As As queuequeue becomesbecomes fullfull, , routerrouter willwill start to start to randomlyrandomlydiscarddiscard packetspackets withwith increasingincreasing probabilityprobability

•• SlowSlow start start ofof somesome TCP TCP connectionconnection((ss)) happenshappens earlierearliercomparing with standardcomparing with standard tailtail--dropdrop•• AvoidsAvoids globalglobal TCP TCP flowflow synchronizationsynchronization

•• WWeightedeighted RED RED –– packetpacket discarddiscard probability probability influencedinfluencedalsoalso by by packetpacket’’s prioritys priority

•• Note: Note: RED RED can regulate only TCP flows (!)can regulate only TCP flows (!)•• There is no feedback in UDP protocol itselfThere is no feedback in UDP protocol itself

Page 30: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

30© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

WRED ConfigurationWRED Configuration

For every traffic class we defineFor every traffic class we define•• Minimum queue length to begin random discardMinimum queue length to begin random discard•• Constant to calculate drop probability based on Constant to calculate drop probability based on

current (averaged) queue lengthcurrent (averaged) queue length•• Applies only when queue length reaches minimum Applies only when queue length reaches minimum

length for random discardlength for random discard•• Maximum queue lengthMaximum queue length

•• When a limit is reached, all packets of the class are When a limit is reached, all packets of the class are dropped until queue length decreasesdropped until queue length decreases•• Some kind of Some kind of hysteresishysteresis neededneeded

Page 31: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

31© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Traffic ShapingTraffic Shaping

•• Protects against sending of packets to ISP faster Protects against sending of packets to ISP faster than ISP agrees to accept themthan ISP agrees to accept them•• ISP applies traffic policing so sending more traffic ISP applies traffic policing so sending more traffic

only wastes bandwidthonly wastes bandwidth•• The goal is to adapt traffic rate to the The goal is to adapt traffic rate to the commitedcommited raterate

•• Important when physical line rate is higher than Important when physical line rate is higher than CIR of some virtual circuitCIR of some virtual circuit

Mention the difference between Traffic Shaping Mention the difference between Traffic Shaping and Traffic Policingand Traffic Policing

Page 32: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

32© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Fragmentation and InterleavingFragmentation and Interleaving

•• Mechanism used to ensure reasonable delay and jitter of Mechanism used to ensure reasonable delay and jitter of interactive applicationsinteractive applications•• packets of interactive application have to be delivered on packets of interactive application have to be delivered on

timely mannertimely manner•• Sending of long packet on the same line can take more time Sending of long packet on the same line can take more time

than is the maximum allowed between two interactive than is the maximum allowed between two interactive applicationapplication’’s packetss packets

•• Long packets are fragmented and fragments are Long packets are fragmented and fragments are interleaved with packets of interactive applicationsinterleaved with packets of interactive applications

•• Used on slow links with large serialization delayUsed on slow links with large serialization delay

Page 33: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

33© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Policy routing and Policy routing and QoSQoS

•• Policy routing based onPolicy routing based on•• TOS valueTOS value•• Packet sizePacket size

Page 34: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

34© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS--based Routingbased Routing

Page 35: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

35© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS--based Routing:based Routing:Principles and ProblemsPrinciples and Problems

•• Many routing protocols can propagates current Many routing protocols can propagates current QoSQoSparameters of individual linksparameters of individual links•• Cisco (E)IGRP, OSPF v.3, Cisco (E)IGRP, OSPF v.3, ……

•• Problem with routing oscillationProblem with routing oscillation•• and thus unwanted jitter of transferred packetsand thus unwanted jitter of transferred packets

•• Routing protocol may calculate multiple shortest paths Routing protocol may calculate multiple shortest paths optimized for various metricoptimized for various metric•• Packet can be forwarded according to routing table selected Packet can be forwarded according to routing table selected

based on itbased on it’’s TOS field values TOS field value•• Consumes lot of resources (CPU, memory, bandwidth)Consumes lot of resources (CPU, memory, bandwidth)

Page 36: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

36© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS support in operating systemssupport in operating systems

•• Windows Windows –– suspicioussuspicious•• (commonly does nothing (commonly does nothing ;;--) )) )

•• Linux Linux –– wide variety of wide variety of QoSQoS mechanisms for mechanisms for QoSQoS--aware packet handlingaware packet handling

•• Specialized router and switch softwareSpecialized router and switch software•• Not every vendor supports Not every vendor supports QoSQoS todaytoday

Page 37: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

37© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

QoSQoS in networking technologiesin networking technologies

QoSQoS enforced by some media access control enforced by some media access control methods themselvesmethods themselves

•• Old technologies: Token Ring, 100VGOld technologies: Token Ring, 100VG--AnyLanAnyLan•• WiFiWiFi: IEEE 802.11e (emerging standard): IEEE 802.11e (emerging standard)

Page 38: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

38© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

Implementation of Implementation of QoSQoS mechanismsmechanisms

1.1. Determine applications used in your network Determine applications used in your network and their requirementsand their requirements

•• Monitor traffic for representative usage periodMonitor traffic for representative usage period

2.2. Suggest and implement Suggest and implement QoSQoS mechanismsmechanisms3.3. Verify behavior of your networkVerify behavior of your network4.4. GOTO 1 ;GOTO 1 ;--) )

Page 39: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

39© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

What to expect from What to expect from QoSQoS todaytoday

•• Little strange and sometimes nonfunctional Little strange and sometimes nonfunctional implementationimplementation

•• Statistical behaviorStatistical behavior•• Works only in some domainsWorks only in some domains

•• not implemented worldwide not implemented worldwide

Page 40: Quality of Service (QoS) in IP networks© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 2 Quality of Service (QoS) ••QoSQoS is the ability of network to support

40© 2005 Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks

ReferencesReferences

•• http://www.cisco.com/univercd/cc/td/doc/prhttp://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprtoduct/software/ios122/122cgcr/fqos_c/fqcprt2/qcfconmg.htm2/qcfconmg.htm

•• http://www.http://www.ciscocisco..comcom//univercdunivercd//cccc//tdtd//docdoc//prproductoduct/softwa/software/ios121/121cgcr/re/ios121/121cgcr/qosqos_c/qcprt3/_c/qcprt3/qcdconavqcdconav..htmhtm