Introduction to Mediatek QoS

Similar documents
Worksheet 9. Linux as a router, packet filtering, traffic shaping

Open Source Bandwidth Management: Introduction to Linux Traffic Control

Firewall and Shaping on Broadband SoHo Routers using Linux

ADSL Bandwidth Management HOWTO

Common VoIP problems, How to detect, correct and avoid them. Penny Tone LLC 1

Control of Multiple Packet Schedulers for Improving QoS on OpenFlow/SDN Networking

Improving Quality of Service

Recommended QoS Configuration Settings for. Dell SonicWALL SOHO Router

Load Balancing Trend Micro InterScan Web Gateway

Load Balancing Sophos Web Gateway. Deployment Guide

Quality of Service in wireless Point-to-Point Links

Load Balancing Bloxx Web Filter. Deployment Guide

Nortel Technology Standards and Protocol for IP Telephony Solutions

Recommended QoS Configuration Settings for. Fortinet FortiGate 30D Router

Load Balancing Smoothwall Secure Web Gateway

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Recommended QoS Configuration Settings for. AdTran NetVanta 3448 Router

Load Balancing Clearswift Secure Web Gateway

NB6 Series Quality of Service (QoS) Setup (NB6Plus4, NB6Plus4W Rev1)

The need for bandwidth management and QoS control when using public or shared networks for disaster relief work

Configuring Simulator 3 for IP

About Firewall Protection

Recommended QoS Configuration Settings for Rosewill RNX-AC750RT Wireless Router

Quality of Service. PAN-OS Administrator s Guide. Version 6.0

Quality of Service (QoS)) in IP networks

How to Keep Video From Blowing Up Your Network

Load Balancing SIP Quick Reference Guide v1.3.1

The Basics. Configuring Campus Switches to Support Voice

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

Testing L7 Traffic Shaping Policies with IxChariot IxChariot

Chapter 5 Configuring QoS

Gigabit Multi-Homing VPN Security Router

Policy Routing for Fun and Profit

Load Balancing McAfee Web Gateway. Deployment Guide

The FX Series Traffic Shaping Optimizes Satellite Links

IP videoconferencing solution with ProCurve switches and Tandberg terminals

EdgeXOS Dynamic Bandwidth Management

Smoothwall Web Filter Deployment Guide

Configuring an efficient QoS Map

MikroTik RouterOS Workshop QoS Best Practice. Prague MUM Czech Republic 2009

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES COMPUTING AND NETWORK SECURITY SEMESTER TWO EXAMINATIONS 2014/2015 NETWORK SECURITY MODULE NO: CPU6004

BroadCloud PBX Customer Minimum Requirements

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

QoS (Quality of Service)

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

Network performance in virtual infrastructures

Bandwidth Control. Table of Contents. General Information. Summary. Specifications

VRT Testing What Makes BullsEye Better and Different from the rest (Our competitive Advantage)

Traffic Control in a Linux, Multiple Service Edge Device

MULTI WAN TECHNICAL OVERVIEW

Quality of Service (QoS) on Netgear switches

Cisco Integrated Services Routers Performance Overview

Matthew Rossmiller 11/25/03

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup

technology standards and protocol for ip telephony solutions

Configuring QoS in a Wireless Environment

CS Computer and Network Security: Firewalls

TalkShow Advanced Network Tips

Netfilter / IPtables

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

Network Security Exercise 10 How to build a wall of fire

How to Configure the Juniper NetScreen 5GT to Support Avaya H.323 IP Telephony Issue 1.0

Performance Management Quality of Service Avaya Secure Router 2330/4134

Auto Traffic Analysis and Protocol Generation

How To Provide Qos Based Routing In The Internet

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

CS Computer and Network Security: Firewalls

Authors Mário Serafim Nunes IST / INESC-ID Lisbon, Portugal mario.nunes@inesc-id.pt

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

This topic lists the key mechanisms use to implement QoS in an IP network.

AudiaFLEX Voice-over-IP Interface. Preliminary Steps. Configuring a Cisco CallManager system to work with Biamp s VoIP-2 card

Quality of Service (QoS): Managing Bandwidth More Effectively on the Series 2600/2600-PWR and Series 2800 Switches

Network security Exercise 9 How to build a wall of fire Linux Netfilter

An API for dynamic firewall control and its implementation for Linux Netfilter

Why SSL is better than IPsec for Fully Transparent Mobile Network Access

Monitoring and analyzing audio, video, and multimedia traffic on the network

DOCUMENT REFERENCE: SQ EN. SAMKNOWS SMARTPHONE-BASED TESTING SamKnows App for Android White Paper. May 2015

NATed Network Testing IxChariot

PCoIP Protocol Network Design Checklist. TER Issue 3

Intro to Linux Kernel Firewall

Voice over Internet Protocol (VoIP) systems can be built up in numerous forms and these systems include mobile units, conferencing units and

LAN Planning Guide LAST UPDATED: 1 May LAN Planning Guide

Quality of Service (QoS) for Enterprise Networks. Learn How to Configure QoS on Cisco Routers. Share:

McAfee Web Filter Deployment Guide

Implementing and Deploying Quality of Service (QoS) for EtherNet/IP

Firewall Load Balancing

Certes Networks Layer 4 Encryption. Network Services Impact Test Results

Using Linux Traffic Control on Virtual Circuits J. Zurawski Internet2 February 25 nd 2013

Denial of Service (DOS) Testing IxChariot

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

BaCon: A User-Friendly Bandwidth Controller System

Netfilter. GNU/Linux Kernel version 2.4+ Setting up firewall to allow NIS and NFS traffic. January 2008

Jive Core: Platform, Infrastructure, and Installation

Multi-Homing Security Gateway

Quality of Service (QoS) Setup Guide (NB604n)

Voice Over IP Performance Assurance

Introduction VOIP in an Network VOIP 3

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

Transcription:

Introduction to Mediatek QoS 2013/7/16 Copyright MediaTek Inc. All rights reserved.

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result Copyright MediaTek Inc. All rights reserved. 2013/7/15 1

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result(DRR for example) Copyright MediaTek Inc. All rights reserved. 2013/7/15 2

Mediatek QoS Web UI Copyright MediaTek Inc. All rights reserved. 2013/7/15 3

Mediatek QoS Web UI Mediatek SW QoS supports these classifiers currently: a) SRC/DSP IP address (with netmask) b) Packet length c) DSCP field d) ICMP, TCP/UDP port range e) Layer 7 (content inspection) Copyright MediaTek Inc. All rights reserved. 2013/7/15 4

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result(DRR for example) Copyright MediaTek Inc. All rights reserved. 2013/7/15 5

QoS Model : DRR(HTB, Rate limited) packet Copyright MediaTek Inc. All rights reserved. 2013/7/15 6 HTB Child pfifo (64) Class HTB Child pfifo (64) Class HTB Child pfifo (64) Class HTB Child pfifo (64) Class packet

QoS Model : DRR(HTB, Rate limited) Four QoS groups are shown after specifying Global settings in Ralink SW QoS. Now all packets through this gateway are classified into these four QoS groups according to the user s QoS rules settings. The four QoS groups are subsequently shown. Copyright MediaTek Inc. All rights reserved. 2013/7/15 7

QoS Model : DRR(HTB, Rate limited) Copyright MediaTek Inc. All rights reserved. 2013/7/15 8

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Test Result(DRR for example) Copyright MediaTek Inc. All rights reserved. 2013/7/15 9

QoS Model : SPQ(PRIO, Priority schedule) packet pfifo (64) pfifo (64) pfifo (64) pfifo (64) high low packet Copyright MediaTek Inc. All rights reserved. 2013/7/15 10

SPQ (Priority, upload, UDP)

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result(DRR for example) Copyright MediaTek Inc. All rights reserved. 2013/7/15 12

QoS Model : Mixed(SPQ+HTB) PRIO pfifo (64) high packet pfifo (64) HTB HTB Child pfifo (64) Class HTB Child pfifo (64) Class Copyright MediaTek Inc. All rights reserved. 2013/7/15 13 low packet

QoS Model : Mixed(SPQ+HTB) Copyright MediaTek Inc. All rights reserved. 2013/7/15 14

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result(DRR for example) Copyright MediaTek Inc. All rights reserved. 2013/7/15 15

QoS Model : fairness QoS Fairness QoS does not shape traffic but only schedules the transmission of packets, based on 'flows'. The goal is to ensure fairness so that each flow is able to send data in turn, thus preventing any single flow from drowning out the rest. Copyright MediaTek Inc. All rights reserved. 2013/7/15 16

QoS Model : fairness QoS Test condition: 9 pair Copyright MediaTek Inc. All rights reserved. 2013/7/15 17

No fairness QoS Throughput >15Mbps Not fair Throughput =0 Mbps fairness QoS All pair throughput = 5~6 Mbps Almost fainrness Copyright MediaTek Inc. All rights reserved. 2013/7/15 18

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result Copyright MediaTek Inc. All rights reserved. 2013/7/15 19

How to Classify Packets We want to set these four priority. VI = min 50Mbps, max = unlimited (Highest) VO = min 20Mbps, max = unlimited(high) BK = min 5Mbps, max = unlimited(default) BG = min 1Mbps, max = unlimited (Low) We can use DSCP value as classify rule. CS1 CS2 CS3 CS4 CS5 CS6 CS7 Copyright MediaTek Inc. All rights reserved. 2013/7/16 20 After classify iptables -t mangle -A qos_prerouting_rule_chain -m dscp --dscpclass CS4 -j MARK --set-mark 52 (VI) iptables -t mangle -A qos_prerouting_rule_chain -m dscp --dscpclass CS6 -j MARK --set-mark 22 (VO) iptables -t mangle -A qos_prerouting_rule_chain -m dscp --dscpclass BE -j MARK --set-mark 62 (BE) iptables -t mangle -A qos_prerouting_rule_chain -m dscp --dscpclass CS2 -j MARK --set-mark 12 (BK) Highest Priority set mark 52 High Priority set mark 22 Default Priority set mark 62 Low Priority set mark 12 QDMA do dequeue

HW QoS (QDMA) replace DRR QDMA replace HTB (TC function) Minimum Rate Maximum Rate Usage: HTB Example: Minimum Rate tc class add dev imq0 parent 3:0 classid 3:1 htb rate 1024kbit ceil 2048kbit QDMA Example: Minimum Rate qdma rate 10 1 1024 1 2048 Copyright MediaTek Inc. All rights reserved. 2013/7/16 21 Maximum Rate Maximum Rate qdma rate [queue] [min_en] [min_rate] [max_en] [max_rate] - set rate control for queue

HW QoS (QDMA) replace DRR classify packet + QDMA classify packet + dequeue qdma sch_rate 0 1 51200 (total BW = 51200kbyte) qdma resv 2 50 50 qdma sch 2 0 qdma rate 2 1 5120 1 51200 (min rate=5120kbyte, max rate=5120kbyte ) qdma m2q 11 2 (set queue mapping: skb with mark 11 to queue 2.) qdma resv 3 50 50 qdma sch 3 0 qdma rate 3 1 10240 1 51200 qdma m2q 61 3 Four different minimum rate=> four different priority qdma resv 4 50 50 qdma sch 4 0 qdma rate 4 1 15360 1 51200 qdma m2q 21 4 qdma resv 5 50 50 qdma sch 5 0 qdma rate 5 1 20480 1 51200 Copyright MediaTek Inc. All rights reserved. 2013/7/16 22 qdma m2q 51 5

HW QoS (QDMA) replace SPQ QDMA replace SPQ (TC function) QDMA strict priority Example qdma rate 2 0 0 0 0 qdma rate 3 0 0 0 0 Queue 3 priority > Queue 2 priority Copyright MediaTek Inc. All rights reserved. 2013/7/16 23

HW QoS (QDMA) replace SPQ qdma sch_rate 0 1 51200 qdma sch 2 0 qdma rate 2 0 0 0 0 qdma m2q 11 2 qdma sch 3 0 qdma rate 3 0 0 0 0 qdma m2q 61 3 qdma sch 4 0 qdma rate 4 0 0 0 0 qdma m2q 21 4 Highest: Queue 5 High: Queue 4 Default: Queue 3 Low: Queue 2 qdma sch 5 0 qdma rate 5 0 0 0 0 qdma m2q 61 5 Copyright MediaTek Inc. All rights reserved. 2013/7/16 24

HW QoS (QDMA) replace Mixed mode qdma sch_rate 1 1 51200 (total BW=50M) qdma resv 10 50 50 qdma sch 10 1 qdma rate 10 1 5120 1 51200 (Queue 10=total BW*10%=5M) qdma m2q 12 10 Highest: Queue 13 High: Queue 12 Default: Queue 11 Low: Queue 10 qdma resv 11 50 50 qdma sch 11 1 qdma rate 11 1 10240 1 51200 (Queue 11=total BW*20%=10M) qdma m2q 62 11 qdma resv 12 40 40 qdma sch 12 1 qdma rate 12 0 0 0 0 (Strict Priority) qdma m2q 22 12 qdma resv 13 50 50 qdma sch 13 1 qdma rate 13 0 0 0 0 (Strict Priority) qdma m2q 52 13 Copyright MediaTek Inc. All rights reserved. 2013/7/16 25

Outline Overview of QoS Web UI SW QoS (TC, traffic control) DRR SPQ Mixed Fairness QoS HW QoS (QDMA, MT7621) Replace DRR Replace SPQ Replace Mixed Test Result Copyright MediaTek Inc. All rights reserved. 2013/7/15 26

Test Result (1) Test Condition QoS Mode:DRR Total BW = 10M DUT : MT7621 FPGA (QDMA V.S TC) Copyright MediaTek Inc. All rights reserved. 2013/7/16 27

TC Test Result (MT7621 FPGA) : TCP QDMA Copyright MediaTek Inc. All rights reserved. 2013/7/15 28

TC Test Result (MT7621 FPGA) : UDP QDMA Copyright MediaTek Inc. All rights reserved. 2013/7/15 29

TC Test Result (MT7621 FPGA) : RTP QDMA Copyright MediaTek Inc. All rights reserved. 2013/7/15 30

TC Test Result (MT7621 FPGA) : RTP QDMA Copyright MediaTek Inc. All rights reserved. 2013/7/15 31

QDMA V.S TC (MT7621 FPGA) QDMA can lower CPU loading. QDMA can control total BW precisely especially when CPU is busy or computing power is low. QDMA can short the response time and jitter. QDMA can make transmission rate become more smooth and stable. Copyright MediaTek Inc. All rights reserved. 2013/7/15 32

Test Result (2) Test Condition QoS Mode:DRR, SPQ Total BW = 50M DUT : MT7621 ASIC(QDMA HW NAT V.S QDMA no HW NAT) Copyright MediaTek Inc. All rights reserved. 2013/7/16 33

MT7621 ASIC (CPU800M) : DRR UL(No HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) UL(HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) Copyright MediaTek Inc. All rights reserved. 2013/7/16 34

MT7621 ASIC (CPU800M) : DRR DL(No HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) DL(HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) Copyright MediaTek Inc. All rights reserved. 2013/7/16 35

MT7621 ASIC (CPU800M) : SPQ UL(No HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) UL(HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) Copyright MediaTek Inc. All rights reserved. 2013/7/16 36

MT7621 ASIC (CPU800M) : SPQ DL(No HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) DL(HWNAT)(TCP port 2000, 3000, 4000, 5000)(Priority High-> Low) Copyright MediaTek Inc. All rights reserved. 2013/7/16 37

QDMA Benefit QDMA can lower CPU loading. In the past, when HW NAT enable, we can not use SW QoS. In MT7621, QDMA can do bandwidth control and schedular when HW NAT enable. Copyright MediaTek Inc. All rights reserved. 2013/7/16 38

Copyright MediaTek Inc. All rights reserved. www.mediatek.com