Preview only show first 10 pages with watermark. For full document please download

Quality-of-service - Ifi

   EMBED


Share

Transcript

Quality-of-Service Foreleser: Carsten Griwodz Email: [email protected] 11. Mai 2005 1 INF-3190: Multimedia Protocols Quality–of–Service (QoS) ! Quality of Service ! ! “QoS represents the set of those quantitative and qualitative characteristics of a distributed multimedia system that are necessary to achieve the required functionality of an application” Quality of Service ! Characterizes the well defined, controllable behavior of a system with regard to quantitatively measurable parameters Delay Throughput Loss 11. Mai 2005 2 INF-3190: Multimedia Protocols Quality–of–Service (QoS) ! Quality of Service ! ! Quality of Service ! ! “QoS represents the set of those quantitative and qualitative characteristics of a distributed multimedia system that are necessary to achieve the required functionality of an application” Characterizes the well defined, controllable behavior of a system with regard to quantitatively measurable parameters Indirect definition of QoS ! ! ! ! ! ! ! QoS QoS QoS QoS QoS QoS QoS 11. Mai 2005 requirements parameter specification mapping negotiation contract guarantee 3 INF-3190: Multimedia Protocols QoS Requirements ! Different applications have different requirements concerning ! ! ! ! ! ! Bandwidth Delay Jitter (delay variation) Reliability (packet loss and bit error rate) … Examples ! ! ! File transfer (ftp, email, web): high reliability Speech: bandwidth, low delay, synchronity Video: bandwidth 11. Mai 2005 4 INF-3190: Multimedia Protocols QoS Requirements of Continuous Media Applications ! Acceptable delay ! ! ! Acceptable jitter ! ! ! ! Milliseconds at the application level Tolerable buffer size for jitter compensation Delay and jitter include retransmission, error-correction, ... Acceptable (lack of) continuity ! ! ! Seconds in asynchronous on-demand applications Milliseconds in synchronous interpersonal communication Streams must be displayed in sequence Streams must be displayed at acceptable, consistent quality Acceptable (lack of) synchronity ! ! Inter-media: different media played out at matching times Intra-media: time between successive packets must be conveyed to receiver 11. Mai 2005 5 INF-3190: Multimedia Protocols Techniques to Fulfill Requirements ! Delay and jitter ! ! ! ! Continuity ! ! ! ! ! ! Reservation (sender, receiver, network) Buffering (receiver) Scaling (sender) Real-time packet re-ordering (receiver) Loss detection and compensation Retransmission Forward error correction Stream switching (encoding & server) Synchronity ! ! ! ! ! Fate-sharing and route-sharing (networks with QoS-support) Time-stamped packets (encoding) Multiplexing (encoding, server, network) Buffering (client) Smoothing (server) 11. Mai 2005 6 INF-3190: Multimedia Protocols QoS Requirements: Service Classification service elastic inelastic loss tolerant nonadaptive adaptive delay adaptive video conferencing videoondemand 11. Mai 2005 loss intolerant rate adaptive interactive nonadaptive v.c. with scalable video interaktive bulk ssh, telnet rate adaptive asynchronous ftp, web email original telephony, hard real-time IP telephony 7 INF-3190: Multimedia Protocols QoS Parameters ! ! Measurable value to express one or more requirements Examples ! ! ! ! Error probability at connection set-up phase Throughput Transfer delay Remaining error rate ! ! Duration of time to disconnect ! ! ! ! i.e. at disconnect phase Failure probability of disconnect Security ! ! Error probability at data transfer With regard to “listening in” Priority Resilience ! ! 11. Mai 2005 Ability to work in spite of errors Against errors within the transport layer itself 8 INF-3190: Multimedia Protocols QoS Mapping QoS requirement: 25 video frames/sec, no loss Application transport service access point network service access point 11. Mai 2005 Application QoS requirement: 225 kbyte/sec, lossless QoS requirement: 150 packets/sec, lossless 9 INF-3190: Multimedia Protocols QoS Mapping ! Not only one possible mapping 1 video frame/sec max delay 1 sec success prob. 8kbyte/sec max delay 1 sec no loss 8kbyte/sec max delay 0.33 sec 1 retransmission 8kbyte/sec max delay 0.2 sec 2 retransmissions ⇒ QoS negotation " Service user and service provider negotiate a mapping 11. Mai 2005 10 INF-3190: Multimedia Protocols QoS Negotiation and Guarantee ! QoS negotation " Service user and service provider negotiate a mapping " Service user states " QoS requirements " Service provider proposes " QoS contract between " Application (on all hosts) " Network " Contract may specify conditions " A price " A traffic specification " Service user accepts contract " Service provider guarantees compliance " Service user guarantees compliance " Service user has received a QoS Guarantee 11. Mai 2005 11 INF-3190: Multimedia Protocols QoS Negotiation ! Negotiation procedure ! ! ! How to set up QoS Peer-to-peer case – all components or resources must agree Different types ! Triangular ! ! Bilateral ! ! both service users allowed to change QoS Unilateral ! 11. Mai 2005 all components (service user and service provider) allowed to change QoS “take it or leave it” from initiating service user 12 INF-3190: Multimedia Protocols QoS Classes ! Different semantics or classes of QoS: ! max resources ! determines reliability of offered service utilization of resources reserved C unused reserved B available resources reserved A time 11. Mai 2005 13 INF-3190: Multimedia Protocols QoS Classes ! Best effort QoS ! system tries its best to give a good performance no QoS calculation (could be called no effort QoS) ☺ simple – do nothing $ QoS may be violated % unreliable service ! ! Deterministic guaranteed QoS ! hard bounds QoS calculation based on upper bounds (worst case) ☺ QoS is satisfied even in the worst case % high reliability ! $ $ over-reservation of resources % poor utilization and unnecessary service rejects QoS values may be less than calculated hard upper bound 11. Mai 2005 14 INF-3190: Multimedia Protocols QoS Classes ! Statistical guaranteed QoS ! QoS values are statistical expressions (served with some probability) QoS calculation based on average (or some other statistic or stochastic value) ☺ resource capabilities can be statistically multiplexed % more granted requests $ QoS may be temporarily violated % service not always 100 % reliable ! ! Predictive QoS ! ! ☺ ☺ $ $ weak bounds QoS calculation based previous behavior of imposed workload resource capabilities can be statistically multiplexed % more granted requests possibly more exact workload description (if past and actual behavior matches) QoS may be temporarily violated % service not 100 % reliable QoS values may be less than calculated hard upper bound 11. Mai 2005 15 INF-3190: Multimedia Protocols Resource Reservation ! Reservations is fundamental for reliable enforcement of QoS guarantees ! ! ! Per-resource data structure (information about all usage) QoS calculations and resource scheduling may be done based on the resource usage pattern Reservation protocols ! ! Negotiate desired QoS by transferring information about resource requirements and resource usage between the end-systems and the intermediate systems participating in the data transfer Reservation operation ! ! ! calculate necessary amount of resources based on the QoS specifications reserve resources according to the calculation (or reject request) Resource scheduling ! 11. Mai 2005 Enforce resource usage with respect to resource administration decisions 16 INF-3190: Multimedia Protocols time Resource Management Phases Phase 1: user’s QoS requirements specification rejection or renegotiation admission test and calculation of QoS guarantees resource reservation negotiation confirmation QoS guarantees to user renegotiation Phase 2: data transmission QoS enforcement by proper scheduling monitoring and adaptation “notification” Phase 3: 11. Mai 2005 stream termination resource deallocation 17 reflection renegotiation termination INF-3190: Multimedia Protocols