officeserv 7400

26
OfficeServ OfficeServ 7400 7400 Enterprise IP Solutions Quick Install Guide - Data Server – GWIM QoS Mar, 2006 OfficeServ Lab. Samsung Electronics Co., Ltd.

Upload: hawa

Post on 26-Jan-2016

100 views

Category:

Documents


6 download

DESCRIPTION

Enterprise IP Solutions. OfficeServ 7400. Quick Install Guide - Data Server – GWIM QoS. Mar, 2006 OfficeServ Lab. Samsung Electronics Co., Ltd. GWIM SPQ(Strict Priority Queuing) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: OfficeServ  7400

OfficeServOfficeServ 7400 7400Enterprise IP Solutions

Quick Install Guide- Data Server –

GWIM QoS

Mar, 2006

OfficeServ Lab.

Samsung Electronics Co., Ltd.

Page 2: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-2/26-

• GWIM – SPQ(Strict Priority Queuing)

• Highest class served first. Only if the waiting list in the highest class is empty, other classes can be served.

– HTBQ(Hierarchical Token Bucket Queuing) • Supports the classification/shaping/queuing

functions• Less complexity than CBQ. • guarantee of configured bandwidth(Rate) and the

on-demand distribution of excess bandwidth(BW Sharing)

OS7400 QoS Function OverviewOS7400 QoS Function Overview

Page 3: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-3/26-

• Linux kernel TC– provides various Queuing Disciplines(Qdisc)

• SPQ, HTBQ, CBQ,…– Root Qdisc is attached to device(interface). Arbitrary class tree can be created and att

ached to the Root Qdisc. Recursively, leaf classes can own another Qdisc as its own queuing policy.

– If Packet is to transmit through one interface, it is classified as one of leaf classes according to configured filter rules and put into Qdisc attached to the leaf class. Iteratively, the packet is classified …

GWIM QoS Internal (I)GWIM QoS Internal (I)

Queueing Discipline

Filter

Filter

Filter

Class

Class

Queueing Discipline

Queueing Discipline

Page 4: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-4/26-

GWIM QoS Internal (II)GWIM QoS Internal (II)

• HTBQ(Hierarchical Token Bucket Queuing)

- 3 types of class : root, inner, leaf

Only leaf classes actually shape packets; packets are only delayed in these leaf classes. The inner classes (all the way up to the root class) exist to define how borrowing/lending occurs.

- 2 token buckets per class : 1 for AR(Assured Rate), 1 for CR(Ceil Rate)

rate limiting(shaping) in only leaf classes.

- BW borrowing up to CR from parent class by borrowing ctokens(parent’s tokens).

If excess BW of the parent class is not available, the parent class attempt to borrow BW from parent of it. This can continue to reach Root class.

- excess BW of inner class is distributed in the proportion of Quantum of demanding classes with highest priority.

Quantum = Rate / R2Q ; calculated automatically

Page 5: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-5/26-

GWIM QoS Internal (III)GWIM QoS Internal (III)

• SPQ(Strict Priority Queuing)

- PRIO qdisc used

- doesn’t actually shape, only subdivides traffic based on how filters are configured.

- 3 types of class : high, middle, low => bands

- priomap

without tc filters, decide how to enqueue traffic according to TC_PRIO priority.

=> GWIM supports only TC filters, so just ignore.

- By default, each class contains pure FIFO qdisc. However, it can be replaced with any qdisc.

=> GWIM does not support this feature.

Page 6: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-6/26-

• Eth0 used as WAN interface• QoS support is needed for VoIP traffic transmitted via eth0.• Total throughput 200Mbps = 25Mbyte/s• VoIP (class VOIP)

– RTP, RTCP • G.729 call with voice payload size of 20 bytes (20 ms)• (14 bytes of Ethernet header + 40 bytes of IP(20)/UDP(8)/RTP(12) headers + 20 bytes

voice payload + 4 bytes of Ethernet CRC)* 8 bits per byte * 50 pps = 31.2 Kbps • 31.2 * 256 (Assuming number of simultaneous calls)• AR = 8000 kbps (1000kbyte/s), CR = 2Mbyte/s, Priority = 1 (highest)

– Signal• SIP, H.323, SPNet(Samsung Proprietary Networking) • Assuming 160 kbps = 20 KB/s (AR), CR = 40kbyte/s, Priority = 1 (highest)

– AR = 8 Mbps (1Mbyte/s), CR = 3Mbyte/s• Data Traffic (class Data)

– AR = Total throuput – VoIP Traffic = 24 Mbyte/s, CR = 25Mbyte/s– TCP (class data_tcp)

• AR = 10Mbyte/s, CR = 25Mbyte/s , prio = 2- Etc (default class)

• AR = 14Mbyte/s, CR = 25Mbyte/s prio = 3

Sample ScenarioSample Scenario

Page 7: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-7/26-

Device Interface

pFIFO

Rate: 1MB/sCeil: 25MB/s

Rate: 3MB/sCeil: 25MB/s

Rate: 25 MB/s

HTBQ Class DiagramHTBQ Class Diagram

class

Qdisc

Root

DataVOIP

tcp default

pFIFOpFIFO

Signal Voice

pFIFORate: 1000KB/s

Ceil: 25MB/sPri: 1

Rate: 20KB/sCeil: 25MB/s

Pri: 1

Rate: 2MB/sCeil: 25MB/s

Pri: 2

Rate: 1MB/sCeil: 25MB/s

Pri: 3

Page 8: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-8/26-

Common Configuration : IP and Port GroupsCommon Configuration : IP and Port Groups

Page 9: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-9/26-

Common Configuration : VoIP Filter Groups Common Configuration : VoIP Filter Groups

Page 10: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-10/26-

If a packet matches more than one filters, a filter of higher priority(lower value) will be selected.

Note

Common Configuration : Data Filter Group Common Configuration : Data Filter Group

Page 11: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-11/26-

bps, Kbps, and Mbps, which are the unit of the Rate and Ceil options, mean 8 bits/s, 8 Kbits/s, and 8 Mbits/s respectively.

Note

HTBQ Configuration – Root and Inner Classes HTBQ Configuration – Root and Inner Classes

Page 12: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-12/26-

HTBQ Configuration – VoIP Classes(I)HTBQ Configuration – VoIP Classes(I)

Page 13: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-13/26-

HTBQ Configuration – VoIP Classes(II)HTBQ Configuration – VoIP Classes(II)

Page 14: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-14/26-

HTBQ Configuration – Data ClassHTBQ Configuration – Data Class

Page 15: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-15/26-

HTBQ Configuration – Default ClassHTBQ Configuration – Default Class

Page 16: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-16/26-

1. Set the rate of the parent class rate not to be less than a total of that of all child classes. 2. Set the ceil of the parent class not to be less than the maximum value of that of all child classes.

Note

HTBQ Configuration – Class Group ListHTBQ Configuration – Class Group List

Page 17: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-17/26-

Applying HTBQ Policy Applying HTBQ Policy

Page 18: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-18/26-

Running HTBQ Running HTBQ

Page 19: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-19/26-

SPQ Configuration : VOIP classSPQ Configuration : VOIP class

Page 20: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-20/26-

SPQ Configuration : Data classSPQ Configuration : Data class

Page 21: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-21/26-

SPQ Configuration – Root ClassSPQ Configuration – Root Class

Page 22: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-22/26-

SPQ Configuration – Class Group ListSPQ Configuration – Class Group List

Page 23: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-23/26-

Applying SPQ PolicyApplying SPQ Policy

Page 24: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-24/26-

Running SPQRunning SPQ

Page 25: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-25/26-

VoIP Service InteroperationVoIP Service Interoperation

GWIMGWIM

P1

P2

P3

SIO

V35

HSSI

RUN

V35

HSSI

P1

P2

P3RST

GLIMP

P1

P2

P3

P4

P5

P6

P7

P8

P9

P10

P11

P12

P13

P14

LNK

ACTL

NK

ACT

RST G

LIMP

P1

P2

P3

P4

P5

P6

P7

P8

P9

P10

P11

P12

P13

P14

LNK

ACTL

NK

ACT

RST

GPLIMGPLIM

MGI64

P1

P6

P2

P7

P3

P8

P4

P9

P5

P10

LNKACTSIO

GSIM

MP40

MGI64

INTERNET

VOIP(ToS 0xa0]

Data(ToS 0x0]

* Classification between VOIP and Data is done by GSIM (FFP hardware based) efficiently.

=> ToS byte of VoIP traffic (signal and media) is marked 0xa0.(DSCP = 40)

=> ToS byte of Data traffic (non-VoIP) is marked 0x0.(DSCP = 0)

* Using this, GWIM needs only one ToS filter to classify VoIP traffic.

Page 26: OfficeServ  7400

74007400Samsung Confidential & Proprietary InformationCopyright 2006, All Rights Reserved.

-26/26-