SlideShare a Scribd company logo
1 of 34
Download to read offline
Quality
of
Service
By:
Abhishek Wadhwa, BVICAM
So what is it?
• Quality of service is the ability to provide
different priority to different applications,
users, or data flows, or to guarantee a
certain level of performance to a data flow
“ it defines the quality of service
as something a flow seeks to
attain”
Flow Characteristics
• Reliability : Lack of Reliability means
losing a packet or ack.
• Delay : Different applications can tolerate
delay in different degrees.
• Jitter : jitter is the variation in packets
belonging to same flow.
• Bandwidth : different application need
different b/w.
Techniques to improve
the quality of service.
Scheduling
FIFO QUEUING
PRIORITY QUEUING
WEIGHTED FAIR QUEUING
Traffic Shaping
LEAKY BUCKET
TOKEN BUCKET
Resource Réservation
Admission Control
Scheduling
• Packets from different flow arrive at switch
or router for processing
• A good scheduling technique treats the
different flow in a fair and appropriate
manner
• FIFO QUEUING
• Packets wait in a buffer (queue) until the
node is ready to process them.
• If avg. arrival rate>avg. processing rate
=>new packets will be discarded.
• FIFO QUEUING
Priority
Queuing
• Packets are assigned to a priority class
• Each class has its own queue.
• Higher class packets are processed first.
• Problem : Starvation
Priority
Queuing
Weighted Fair
Queuing
• Packets are still assigned to different
classes and admitted to different queues
• The queues are weighted based on the
priority
• Higher priority means higher weight
• If weight are 3,2,1 then 3 packets are
processed from q1,2 from q2,and 1 from
q1 in a round robin fashion
Weighted Fair
Queuing
Traffic Shaping
Is the mechanism to control the amount
and the rate of the traffic sent to the
network
Techniques to improve
the quality of service
Scheduling
FIFO QUEUING
PRIORITY QUEUING
WEIGHTED FAIR QUEUING
Traffic Shaping
LEAKY BUCKET
TOKEN BUCKET
Resource Réservation
Admission Control
Leaky Bucket
http://www.epubbud.com/read.php?g=5HEKFDZU&two=1&tocp=48
The rate at which water leaks from a bucket
does not depend on the rate at which the
water is input to the bucket
The input rate varies but the o/p remains
constant ,similarly ,network can
smooth out bursty traffic
Leaky Bucket
Token Bucket
Token Bucket
Leaky bucket does not taken into a/c idle host , if a
host is not sending for a while , its bucket becomes
empty.
If the host has bursty data ,leaky bucket allows
only avg. rate.
Token bucket takes into a/c the idle time , with
each clock tick the tokens are added to bucket
,when the data needs to be send ,it collects token
from bucket and then send the data packet
consisting of data=no of tokens
Techniques to improve
the quality of service
Scheduling
FIFO QUEUING
PRIORITY QUEUING
WEIGHTED FAIR QUEUING
Traffic Shaping
LEAKY BUCKET
TOKEN BUCKET
Resource Réservation
Admission Control
Resource Reservation
• A flow of data needs resources such as
buffer, bandwidth, CPU time, and so on .
• QoS can be improved if these resources
are reserved beforehand.
Techniques to improve
the quality of service
Scheduling
FIFO QUEUING
PRIORITY QUEUING
WEIGHTED FAIR QUEUING
Traffic Shaping
LEAKY BUCKET
TOKEN BUCKET
Resource Réservation
Admission Control
Admission Control
• Routers or switches puts restrictions on
the admission of packets from host.
• Before a router accepts the flow , it
checks the flow for specifications in
terms of bandwidth , buffer size ,cpu
speed etc.
Models deploying QoS
• Two models have been designed to
provide QoS:
->Integrated Service Model(IntServ)
->Differentiated Service Model(Diffserv)
IntServ
• User needs to create flow, kind of virtual
circuit ,from source to destination and
inform all routers of requirement
RSVP: Resource Reservation
Protocol
• Receiver based reservation : the receiver
not the sender make the reservation(eg :
youtube)
• RSVP messages:
->Path Messages
->Resv Messages
DiffServ
• The router routes the packet based in
the class of service defined in the packet
• It defines several classes such as
,constant bit rate class , the variable bit
rate class etc.
DiffServ*
• ToS: type of service field is used to
define the class of service for each
packet
DiffServ*
• ToS: type of service field is used to
define the class of service for each
packet
Conclusion:
 Flow characteristics
 Scheduling
 FIFO QUEUING
 PRIORITY QUEUING
 WEIGHTED FAIR QUEUING
 Traffic Shaping
 LEAKY BUCKET
 TOKEN BUCKET
 Resource Réservation
 Admission Control
 Models
 Integrated Model (Requirement in advance)
 Differentiated Model(Classes)
Any
Questions?
Thank You
References
• cisco.tu-sofia.bg/uploads/Additional/Cisco_QoS.pdf
• www.cs.columbia.edu/~coms6181/slides/13/quality-of-service.ppt
• www.cs.princeton.edu/courses/archive/spr03/cs461/lec12/lec12.ppt
• www.csb.uncw.edu/people/.../Topic%207%20Service%20Quality.p
pt
• http://www.rfc-
editor.org/search/rfc_search_detail.php?rfc=2474&title=quality+of+s
ervice&pubstatus%5B%5D=Any&pub_date_type=any
• http://www.epubbud.com/read.php?g=5HEKFDZU&two=1&tocp=48
• *for further reading ->page 9 of Cisco_QoS.pdf
• http://www.rfc-editor.org/

More Related Content

Similar to SGSGS

Similar to SGSGS (20)

qos-f05 (3).ppt
qos-f05 (3).pptqos-f05 (3).ppt
qos-f05 (3).ppt
 
qos-f05.pdf
qos-f05.pdfqos-f05.pdf
qos-f05.pdf
 
qos-f05.ppt
qos-f05.pptqos-f05.ppt
qos-f05.ppt
 
CN Module 5 part 2 2022.pdf
CN Module 5 part 2 2022.pdfCN Module 5 part 2 2022.pdf
CN Module 5 part 2 2022.pdf
 
Quality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTIQuality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTI
 
Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1
 
Qo s rsvp......
Qo s rsvp......Qo s rsvp......
Qo s rsvp......
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Integrated services - IntServ
Integrated services - IntServIntegrated services - IntServ
Integrated services - IntServ
 
QOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptxQOSPPT.2019122-2020131[1].pptx
QOSPPT.2019122-2020131[1].pptx
 
Quality of service computer network
Quality of service computer networkQuality of service computer network
Quality of service computer network
 
NZNOG 2020: Buffers, Buffer Bloat and BBR
NZNOG 2020: Buffers, Buffer Bloat and BBRNZNOG 2020: Buffers, Buffer Bloat and BBR
NZNOG 2020: Buffers, Buffer Bloat and BBR
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Quality of Service
Quality  of  ServiceQuality  of  Service
Quality of Service
 
Qo s routing
Qo s  routingQo s  routing
Qo s routing
 
Computer Networks: Quality of service
Computer Networks: Quality of serviceComputer Networks: Quality of service
Computer Networks: Quality of service
 
Qo s 09-integrated and red
Qo s 09-integrated and redQo s 09-integrated and red
Qo s 09-integrated and red
 
integrated and diffrentiated services
 integrated and diffrentiated services integrated and diffrentiated services
integrated and diffrentiated services
 
RIPE 80: Buffers and Protocols
RIPE 80: Buffers and ProtocolsRIPE 80: Buffers and Protocols
RIPE 80: Buffers and Protocols
 

More from ApdiazizHussein

laptop-140410150223-phpapp02 (1).pptx
laptop-140410150223-phpapp02 (1).pptxlaptop-140410150223-phpapp02 (1).pptx
laptop-140410150223-phpapp02 (1).pptxApdiazizHussein
 
dokumen.tips_comptia-a.ppt
dokumen.tips_comptia-a.pptdokumen.tips_comptia-a.ppt
dokumen.tips_comptia-a.pptApdiazizHussein
 
Introduction of Course A+.pptx
Introduction of Course A+.pptxIntroduction of Course A+.pptx
Introduction of Course A+.pptxApdiazizHussein
 
firewallpresentation-100826052003-phpapp02.pptx
firewallpresentation-100826052003-phpapp02.pptxfirewallpresentation-100826052003-phpapp02.pptx
firewallpresentation-100826052003-phpapp02.pptxApdiazizHussein
 
Chapter 9 Questions.pptx
Chapter 9 Questions.pptxChapter 9 Questions.pptx
Chapter 9 Questions.pptxApdiazizHussein
 
Chapter 4 Questions.pptx
Chapter 4 Questions.pptxChapter 4 Questions.pptx
Chapter 4 Questions.pptxApdiazizHussein
 

More from ApdiazizHussein (8)

laptop-140410150223-phpapp02 (1).pptx
laptop-140410150223-phpapp02 (1).pptxlaptop-140410150223-phpapp02 (1).pptx
laptop-140410150223-phpapp02 (1).pptx
 
Chapter fIVE.pptx
Chapter fIVE.pptxChapter fIVE.pptx
Chapter fIVE.pptx
 
dokumen.tips_comptia-a.ppt
dokumen.tips_comptia-a.pptdokumen.tips_comptia-a.ppt
dokumen.tips_comptia-a.ppt
 
Chapter five.pptx
Chapter five.pptxChapter five.pptx
Chapter five.pptx
 
Introduction of Course A+.pptx
Introduction of Course A+.pptxIntroduction of Course A+.pptx
Introduction of Course A+.pptx
 
firewallpresentation-100826052003-phpapp02.pptx
firewallpresentation-100826052003-phpapp02.pptxfirewallpresentation-100826052003-phpapp02.pptx
firewallpresentation-100826052003-phpapp02.pptx
 
Chapter 9 Questions.pptx
Chapter 9 Questions.pptxChapter 9 Questions.pptx
Chapter 9 Questions.pptx
 
Chapter 4 Questions.pptx
Chapter 4 Questions.pptxChapter 4 Questions.pptx
Chapter 4 Questions.pptx
 

Recently uploaded

Insect Meal as an Alternative Protein Source for poultry
Insect Meal as an Alternative Protein Source for poultryInsect Meal as an Alternative Protein Source for poultry
Insect Meal as an Alternative Protein Source for poultryHarshRahan
 
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YY
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YYDETAILED-LESSON-PLAN FORMAT DOCUMENTS YY
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YYImilyAcma
 
Engineering Properties of Food and Biological Materials
Engineering Properties of Food and Biological MaterialsEngineering Properties of Food and Biological Materials
Engineering Properties of Food and Biological MaterialsSasiK25
 
Presentation on legumes and uses of legumes
Presentation on legumes and uses of legumesPresentation on legumes and uses of legumes
Presentation on legumes and uses of legumeschiragsoni246780
 
Dubai's Food and Discount Deals - A culinary experience
Dubai's Food and Discount Deals - A culinary experienceDubai's Food and Discount Deals - A culinary experience
Dubai's Food and Discount Deals - A culinary experiencecouponzguruuae
 
Julian Helou's Exquisite Journey Through Thai Cuisine
Julian Helou's Exquisite Journey Through Thai CuisineJulian Helou's Exquisite Journey Through Thai Cuisine
Julian Helou's Exquisite Journey Through Thai CuisineJulianHelou1
 
HACCP Check list for practicing HACCP.pdf
HACCP Check list for practicing HACCP.pdfHACCP Check list for practicing HACCP.pdf
HACCP Check list for practicing HACCP.pdfHananZayed4
 
Thermal Death Kinetics and various Isotherms
Thermal Death Kinetics and various IsothermsThermal Death Kinetics and various Isotherms
Thermal Death Kinetics and various IsothermsSasiK25
 
pathology questions for studying and notes
pathology questions for studying and notespathology questions for studying and notes
pathology questions for studying and notesAnaAbuladze7
 
nutrient-management-of-corn.pptxSfklavFV
nutrient-management-of-corn.pptxSfklavFVnutrient-management-of-corn.pptxSfklavFV
nutrient-management-of-corn.pptxSfklavFVFarhanaNoor12
 
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...Amil baba
 
Organic Farming in Focus- Rodale’s Generational Perspective.pdf
Organic Farming in Focus- Rodale’s Generational Perspective.pdfOrganic Farming in Focus- Rodale’s Generational Perspective.pdf
Organic Farming in Focus- Rodale’s Generational Perspective.pdfStephen Gleave
 
Prediksi Angka BBFS 10 Digit Betting 10 Perak Magnumtogel
Prediksi Angka BBFS 10 Digit Betting  10 Perak MagnumtogelPrediksi Angka BBFS 10 Digit Betting  10 Perak Magnumtogel
Prediksi Angka BBFS 10 Digit Betting 10 Perak Magnumtogeltok dalang
 
GRADE 10 QUARTER 4 WEEK 2 Cook Meat Cuts
GRADE 10 QUARTER 4 WEEK 2 Cook Meat CutsGRADE 10 QUARTER 4 WEEK 2 Cook Meat Cuts
GRADE 10 QUARTER 4 WEEK 2 Cook Meat CutsKattieAlisonMacatugg1
 
日本学位记,筑波大学毕业证书1:1制作
日本学位记,筑波大学毕业证书1:1制作日本学位记,筑波大学毕业证书1:1制作
日本学位记,筑波大学毕业证书1:1制作aecnsnzk
 

Recently uploaded (15)

Insect Meal as an Alternative Protein Source for poultry
Insect Meal as an Alternative Protein Source for poultryInsect Meal as an Alternative Protein Source for poultry
Insect Meal as an Alternative Protein Source for poultry
 
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YY
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YYDETAILED-LESSON-PLAN FORMAT DOCUMENTS YY
DETAILED-LESSON-PLAN FORMAT DOCUMENTS YY
 
Engineering Properties of Food and Biological Materials
Engineering Properties of Food and Biological MaterialsEngineering Properties of Food and Biological Materials
Engineering Properties of Food and Biological Materials
 
Presentation on legumes and uses of legumes
Presentation on legumes and uses of legumesPresentation on legumes and uses of legumes
Presentation on legumes and uses of legumes
 
Dubai's Food and Discount Deals - A culinary experience
Dubai's Food and Discount Deals - A culinary experienceDubai's Food and Discount Deals - A culinary experience
Dubai's Food and Discount Deals - A culinary experience
 
Julian Helou's Exquisite Journey Through Thai Cuisine
Julian Helou's Exquisite Journey Through Thai CuisineJulian Helou's Exquisite Journey Through Thai Cuisine
Julian Helou's Exquisite Journey Through Thai Cuisine
 
HACCP Check list for practicing HACCP.pdf
HACCP Check list for practicing HACCP.pdfHACCP Check list for practicing HACCP.pdf
HACCP Check list for practicing HACCP.pdf
 
Thermal Death Kinetics and various Isotherms
Thermal Death Kinetics and various IsothermsThermal Death Kinetics and various Isotherms
Thermal Death Kinetics and various Isotherms
 
pathology questions for studying and notes
pathology questions for studying and notespathology questions for studying and notes
pathology questions for studying and notes
 
nutrient-management-of-corn.pptxSfklavFV
nutrient-management-of-corn.pptxSfklavFVnutrient-management-of-corn.pptxSfklavFV
nutrient-management-of-corn.pptxSfklavFV
 
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...
Uk-NO1 Best Black Magic Specialist Near Me Spiritual Healer Powerful Love Spe...
 
Organic Farming in Focus- Rodale’s Generational Perspective.pdf
Organic Farming in Focus- Rodale’s Generational Perspective.pdfOrganic Farming in Focus- Rodale’s Generational Perspective.pdf
Organic Farming in Focus- Rodale’s Generational Perspective.pdf
 
Prediksi Angka BBFS 10 Digit Betting 10 Perak Magnumtogel
Prediksi Angka BBFS 10 Digit Betting  10 Perak MagnumtogelPrediksi Angka BBFS 10 Digit Betting  10 Perak Magnumtogel
Prediksi Angka BBFS 10 Digit Betting 10 Perak Magnumtogel
 
GRADE 10 QUARTER 4 WEEK 2 Cook Meat Cuts
GRADE 10 QUARTER 4 WEEK 2 Cook Meat CutsGRADE 10 QUARTER 4 WEEK 2 Cook Meat Cuts
GRADE 10 QUARTER 4 WEEK 2 Cook Meat Cuts
 
日本学位记,筑波大学毕业证书1:1制作
日本学位记,筑波大学毕业证书1:1制作日本学位记,筑波大学毕业证书1:1制作
日本学位记,筑波大学毕业证书1:1制作
 

SGSGS

  • 2. So what is it? • Quality of service is the ability to provide different priority to different applications, users, or data flows, or to guarantee a certain level of performance to a data flow
  • 3. “ it defines the quality of service as something a flow seeks to attain”
  • 5. • Reliability : Lack of Reliability means losing a packet or ack. • Delay : Different applications can tolerate delay in different degrees. • Jitter : jitter is the variation in packets belonging to same flow. • Bandwidth : different application need different b/w.
  • 6. Techniques to improve the quality of service. Scheduling FIFO QUEUING PRIORITY QUEUING WEIGHTED FAIR QUEUING Traffic Shaping LEAKY BUCKET TOKEN BUCKET Resource Réservation Admission Control
  • 7. Scheduling • Packets from different flow arrive at switch or router for processing • A good scheduling technique treats the different flow in a fair and appropriate manner
  • 9. • Packets wait in a buffer (queue) until the node is ready to process them. • If avg. arrival rate>avg. processing rate =>new packets will be discarded. • FIFO QUEUING
  • 11. • Packets are assigned to a priority class • Each class has its own queue. • Higher class packets are processed first. • Problem : Starvation Priority Queuing
  • 13. • Packets are still assigned to different classes and admitted to different queues • The queues are weighted based on the priority • Higher priority means higher weight • If weight are 3,2,1 then 3 packets are processed from q1,2 from q2,and 1 from q1 in a round robin fashion Weighted Fair Queuing
  • 14. Traffic Shaping Is the mechanism to control the amount and the rate of the traffic sent to the network
  • 15. Techniques to improve the quality of service Scheduling FIFO QUEUING PRIORITY QUEUING WEIGHTED FAIR QUEUING Traffic Shaping LEAKY BUCKET TOKEN BUCKET Resource Réservation Admission Control
  • 17. The rate at which water leaks from a bucket does not depend on the rate at which the water is input to the bucket The input rate varies but the o/p remains constant ,similarly ,network can smooth out bursty traffic Leaky Bucket
  • 19. Token Bucket Leaky bucket does not taken into a/c idle host , if a host is not sending for a while , its bucket becomes empty. If the host has bursty data ,leaky bucket allows only avg. rate. Token bucket takes into a/c the idle time , with each clock tick the tokens are added to bucket ,when the data needs to be send ,it collects token from bucket and then send the data packet consisting of data=no of tokens
  • 20. Techniques to improve the quality of service Scheduling FIFO QUEUING PRIORITY QUEUING WEIGHTED FAIR QUEUING Traffic Shaping LEAKY BUCKET TOKEN BUCKET Resource Réservation Admission Control
  • 21. Resource Reservation • A flow of data needs resources such as buffer, bandwidth, CPU time, and so on . • QoS can be improved if these resources are reserved beforehand.
  • 22. Techniques to improve the quality of service Scheduling FIFO QUEUING PRIORITY QUEUING WEIGHTED FAIR QUEUING Traffic Shaping LEAKY BUCKET TOKEN BUCKET Resource Réservation Admission Control
  • 23. Admission Control • Routers or switches puts restrictions on the admission of packets from host. • Before a router accepts the flow , it checks the flow for specifications in terms of bandwidth , buffer size ,cpu speed etc.
  • 24. Models deploying QoS • Two models have been designed to provide QoS: ->Integrated Service Model(IntServ) ->Differentiated Service Model(Diffserv)
  • 25. IntServ • User needs to create flow, kind of virtual circuit ,from source to destination and inform all routers of requirement
  • 26. RSVP: Resource Reservation Protocol • Receiver based reservation : the receiver not the sender make the reservation(eg : youtube) • RSVP messages: ->Path Messages ->Resv Messages
  • 27.
  • 28. DiffServ • The router routes the packet based in the class of service defined in the packet • It defines several classes such as ,constant bit rate class , the variable bit rate class etc.
  • 29. DiffServ* • ToS: type of service field is used to define the class of service for each packet
  • 30. DiffServ* • ToS: type of service field is used to define the class of service for each packet
  • 31. Conclusion:  Flow characteristics  Scheduling  FIFO QUEUING  PRIORITY QUEUING  WEIGHTED FAIR QUEUING  Traffic Shaping  LEAKY BUCKET  TOKEN BUCKET  Resource Réservation  Admission Control  Models  Integrated Model (Requirement in advance)  Differentiated Model(Classes)
  • 34. References • cisco.tu-sofia.bg/uploads/Additional/Cisco_QoS.pdf • www.cs.columbia.edu/~coms6181/slides/13/quality-of-service.ppt • www.cs.princeton.edu/courses/archive/spr03/cs461/lec12/lec12.ppt • www.csb.uncw.edu/people/.../Topic%207%20Service%20Quality.p pt • http://www.rfc- editor.org/search/rfc_search_detail.php?rfc=2474&title=quality+of+s ervice&pubstatus%5B%5D=Any&pub_date_type=any • http://www.epubbud.com/read.php?g=5HEKFDZU&two=1&tocp=48 • *for further reading ->page 9 of Cisco_QoS.pdf • http://www.rfc-editor.org/