Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Quality Of Service on Mikrotik

Webinar topic: Quality Of Service on Mikrotik
Presenter: Achmad Mardiansyah

In this webinar series, We are discussing Quality Of Service on Mikrotik

Please share your feedback or webinar ideas here: http://bit.ly/glcfeedback
Check our schedule for future events: https://www.glcnetworks.com/schedule/
Follow our social media for updates: Facebook, Instagram, YouTube Channel, and telegram

The recording is available on Youtube
https://youtu.be/POo7jpIoowc

  • Be the first to comment

  • Be the first to like this

Quality Of Service on Mikrotik

  1. 1. www.glcnetworks.com Quality Of Service on GLC webinar, 8 oct 2020 Achmad Mardiansyah achmad@glcnetworks.com GLC Networks, Indonesia 1
  2. 2. www.glcnetworks.com Agenda ● Introduction ● QOS fundamental ● Linux queue ● QoS on mikrotik ● Live practice ● Q & A 2
  3. 3. www.glcnetworks.com introduction 3
  4. 4. www.glcnetworks.com What is GLC? ● Garda Lintas Cakrawala (www.glcnetworks.com) ● Based in Bandung, Indonesia ● Areas: Training, IT Consulting ● Certified partner for: Mikrotik, Ubiquity, Linux foundation ● Product: GLC radius manager ● Regular event 4
  5. 5. www.glcnetworks.com Trainer Introduction ● Name: Achmad Mardiansyah ● Base: bandung, Indonesia ● Linux user since 1999, mikrotik user since 2007, UBNT 2011 ● Mikrotik Certified Trainer (MTCNA/RE/WE/UME/INE/TCE/IPv6) ● Mikrotik/Linux Certified Consultant ● Website contributor: achmadjournal.com, mikrotik.tips, asysadmin.tips ● More info: http://au.linkedin.com/in/achmadmardiansyah 5
  6. 6. www.glcnetworks.com Past experiences 6 ● 2020 (Congo DRC, Malaysia): IOT integration, network automation ● 2019, Congo (DRC): build a wireless ISP from ground-up ● 2018, Malaysia: network revamp, develop billing solution and integration, setup dynamic routing ● 2017, Libya (north africa): remote wireless migration for a new Wireless ISP ● 2016, United Kingdom: workshop for wireless ISP, migrating a bridged to routed network ● 2015, West Kalimantan: supporting wireless infrastructure project
  7. 7. www.glcnetworks.com About GLC webinar? ● First webinar: january 1, 2010 (title: tahun baru bersama solaris - new year with solaris OS) ● As a sharing event with various topics: linux, networking, wireless, database, programming, etc ● Regular schedule ● Irregular schedule: as needed ● Checking schedule: http://www.glcnetworks.com/schedule ● You are invited to be a presenter ○ No need to be an expert ○ This is a forum for sharing: knowledge, experiences, information 7
  8. 8. www.glcnetworks.com Please introduce yourself ● Your name ● Your company/university? ● Your networking experience? ● Your mikrotik experience? ● Your expectation from this course? 8
  9. 9. www.glcnetworks.com QOS fundamental 9
  10. 10. www.glcnetworks.com What is QOS ● Quality of service (QoS) ● description or measurement of the overall performance of a service, such as a telephony or computer network or a cloud computing service, particularly the performance seen by the users of the network 10 Source: microsoft
  11. 11. www.glcnetworks.com When you don’t need QoS? ● You have enough bandwidth for your consumption ● No complain from customers ● You are welcome to quit this webinar 11
  12. 12. www.glcnetworks.com Do you need QoS? ● When you available bandwidth < consumption 12 Source: mrtg
  13. 13. www.glcnetworks.com constant vs bursty traffic ● Steady traffic ○ Always consume fixed traffic ○ Example: voip, streaming, file transfer ● Bursty traffic ○ Only consume traffic when its active ○ Example: browsing, messaging, email 13 Source: www.viavisolutions.com
  14. 14. www.glcnetworks.com What will QoS do ● Setup limitation ○ Max-limit ○ Min-guaranteed limit ● Setup priority ● Burst 14
  15. 15. www.glcnetworks.com How to measure QoS? ● Depends on the applications ● Some common parameters ○ packet loss ○ Throughput ○ Latency (roundtrip time) ○ Jitter (variance of latency) 15
  16. 16. www.glcnetworks.com QOS or QOE? ● QOE: Quality Of Experience ○ The degree of delight or annoyance of the user of an application or service ○ Reference: ITU (https://www.itu.int/rec/T-REC-P.10) ● QOE factors: ○ QoS, ○ Human ○ context 16 Source: researchgate
  17. 17. www.glcnetworks.com Is QoS end-to-end? ● Internet is a collection of networks ● Can you guarantee end-to-end QoS? 17 Your ISP. and you are part of them other ISP other ISP google facebook
  18. 18. www.glcnetworks.com Linux queue 18
  19. 19. www.glcnetworks.com Network queue in Linux ● Mikrotik uses Linux kernel ● Happens on interface ● What we queue? Packets. Not bytes / bits ● 19
  20. 20. www.glcnetworks.com Queue on router ● Can be done on inbound or outbound interface 20 Source: Network QoS using Cisco
  21. 21. www.glcnetworks.com QOS on mikrotik 21
  22. 22. www.glcnetworks.com Where the packets are queued?
  23. 23. www.glcnetworks.com Bandwidth management mechanism Mikrotik uses Hierarchical Token Bucket (HTB) algorithm for managing the queue: to define the limit of datarate Scheduling algorithm: ● FIFO (first in first out) ● RED (Random Early Detection) ● SFQ (Stochastic Fair-share Queue) ● PCQ (Per-Connection Queue)
  24. 24. www.glcnetworks.com Token bucket algorithm 24
  25. 25. www.glcnetworks.com Queue size: discard vs delay (limiting vs equalizing) Rate limiting Rate equalizing Mechanism discard packets that exceed a limit delay packets that exceed a limit if possible Queue size (buffer) 0 > 0
  26. 26. www.glcnetworks.com Queue type
  27. 27. www.glcnetworks.com queue simple (general tab)
  28. 28. www.glcnetworks.com Queue simple (advanced tab)
  29. 29. www.glcnetworks.com Queue tree 29
  30. 30. www.glcnetworks.com LIVE practice 30
  31. 31. www.glcnetworks.com preparation ● SSH client ● SSH parameters ○ SSH address ○ SSH port ○ SSH username ○ SSH password 31
  32. 32. www.glcnetworks.com Q & A 32
  33. 33. www.glcnetworks.com Interested? Just come to our training... ● Topics are arranged in systematic and logical way ● You will learn from experienced teacher ● Not only learn the materials, but also sharing experiences, best-practices, and networking 33
  34. 34. www.glcnetworks.com End of slides ● Thank you for your attention ● Please submit your feedback: http://bit.ly/glcfeedback ● Like our facebook page: https://www.facebook.com/glcnetworks ● Slide: http://www.slideshare.net/r41nbuw ● Recording (youtube): https://goo.gl/28ABHU ● Stay tune with our schedule ● Any questions? 34

×