background image

Quality of Service Overview

February 22, 2008

Page 5 of 29

Figure 2  Strict Priority Queuing Packet Behavior

Weighted Fair Queuing

With

 

weighted

 

fair

 

queuing,

 

queue

 

access

 

to

 

bandwidth

 

is

 

divided

 

up

 

by

 

percentages

 

of

 

the

 

time

 

slices

 

available.

 

For

 

example,

 

if

 

100

 

percent

 

is

 

divided

 

into

 

64

 

time

 

slices,

 

and

 

each

 

queue

 

is

 

configured

 

for

 

25

 

percent,

 

each

 

queue

 

will

 

get

 

16

 

time

 

slices,

 

after

 

which

 

the

 

next

 

lowest

 

priority

 

queue

 

will

 

get

 

the

 

next

 

16,

 

and

 

so

 

on.

 

Should

 

a

 

queue

 

empty

 

before

 

using

 

its

 

current

 

share

 

of

 

time

 

slices,

 

the

 

next

 

priority

 

queue

 

inherits

 

the

 

time

 

slices

 

that

 

remain.

 

Figure 3

 

depicts

 

how

 

weighted

 

fair

 

queuing

 

works.

 

Inbound

 

packets

 

enter

 

on

 

the

 

upper

 

left

 

of

 

the

 

box

 

and

 

proceed

 

to

 

the

 

appropriate

 

priority

 

queue.

 

Outbound

 

packets

 

exit

 

the

 

queues

 

on

 

the

 

lower

 

right.

 

Queue

 

3

 

has

 

access

 

to

 

its

 

percentage

 

of

 

time

 

slices

 

so

 

long

 

as

 

there

 

are

 

packets

 

in

 

the

 

queue.

 

Then

 

queue

 

2

 

has

 

access

 

to

 

its

 

percentage

 

of

 

time

 

slices,

 

and

 

so

 

on

 

round

 

robin.

 

Weighted

 

fair

 

queueing

 

assures

 

that

 

each

 

queue

 

will

 

get

 

at

 

least

 

the

 

configured

 

percentage

 

of

 

bandwidth

 

time

 

slices.

 

The

 

value

 

of

 

weighted

 

fair

 

queueing

 

is

 

in

 

its

 

assurance

 

that

 

no

 

queue

 

is

 

starved

 

for

 

bandwidth.

 

The

 

downside

 

of

 

weighted

 

fair

 

queueing

 

is

 

that

 

packets

 

in

 

a

 

high

 

priority

 

queue,

 

with

 

low

 

tolerance

 

for

 

delay,

 

will

 

wait

 

until

 

all

 

other

 

queues

 

have

 

used

 

the

 

time

 

slices

 

available

 

to

 

them

 

before

 

forwarding.

 

So

 

weighted

 

fair

 

queuing

 

would

 

not

 

be

 

appropriate

 

for

 

applications

 

with

 

high

 

sensitivity

 

to

 

delay

 

or

 

jitter,

 

such

 

as

 

VoIP.

Summary of Contents for Matrix 7G4270-12

Page 1: ...t Packet preference and forwarding treatment for a given flow can be applied to roles configured in Enterasys policy Why Would I Use It in My Network Without QoS all packets are treated as though the...

Page 2: ...g the bandwidth in a manner that aligns the delivery characteristics of a given flow with the available port resources In a QoS context a flow is a stream of IP packets that are classified with the sa...

Page 3: ...S Each CoS can be mapped to an 802 1p priority and a ToS rewrite value The 802 1p parameter is A subset of ToS with values 0 7 upper 3 bits of the 8 bit ToS field Supported in both layer 2 and layer 3...

Page 4: ...ments for packet forwarding strict weighted fair and hybrid Strict Queuing With Strict Priority Queuing a higher priority queue must be empty before a lower priority queue can transmit any packets Str...

Page 5: ...enter on the upper left of the box and proceed to the appropriate priority queue Outbound packets exit the queues on the lower right Queue 3 has access to its percentage of time slices so long as the...

Page 6: ...g queues with queue 2 receiving 50 percent of the remaining time slices and the other queues receiving 25 percent each The benefit of hybrid queueing is that queues configured as strict will receive a...

Page 7: ...ability of bandwidth for other traffic by preventing the rate limited traffic from consuming more than the assigned amount of a network s resources Rate limiting accomplishes this by setting a cap on...

Page 8: ...d out when it bursts above the assigned threshold with rate shaping applied Figure 6 Rate Shaping Smoothing Behavior Rate shaping retains excess packets in a queue and then schedules these packets for...

Page 9: ...ice entry consists of an entry index an 802 1p priority an optional ToS value a transmit queue reference and an optional IRL reference CoS State A global setting that must be enabled for a configured...

Page 10: ...ted to each type The following example displays default values for the show cos port type txq command output IRL Type 0 supports thirty two Inbound Rate Limiters while type 1 supports eight Use the sh...

Page 11: ...of the same port type as defined by the port group you are associating it with The creation of additional port groups could be used to combine similar ports by their function for flexibility For inst...

Page 12: ...and the number of slices allotted to the group Queuing is also displayed by percentage The following example displays default values for the show cos port config txq command output Additional port gro...

Page 13: ...Remember group 0 0 supports 16 TxQ resources and 32 IRL resources while group 0 1 supports 4 TxQ resources and 8 IRL resources Resources exist for each port group and are indexed as port group port ty...

Page 14: ...s resources for each port group created along with the index as described above By default no resources are configured for IRL port resources Rates displayed as none indicate no resources exist The de...

Page 15: ...default because inbound rate limiting is optional CoS TxQ Reference Mapping The CoS TxQ reference table uses 16 indexes or virtual queues and maps each to a physical queue or resource A TxQ reference...

Page 16: ...ce table is populated by default the Queue to Reference mapping can be configured using the set cos reference txq command You need to Identify the port group for configuration Identify the transmit qu...

Page 17: ...re indicated by rate limiter none You need to Identify the port group for configuration Identify the rate limit reference Configuring the CoS Index The CoS settings table assigns a priority a ToS valu...

Page 18: ...f a TxQ reference value is not chosen TxQ reference 0 will be assigned The reference does not indicate the actual transmit queue to be assigned by CoS it points to the CoS TxQ Reference Mapping Table...

Page 19: ...CoS results in the restoration of current port level settings Use the set cos state enable command to enable CoS state globally for this system Use the set cos state disable command to disable CoS st...

Page 20: ...he SecureStack For the C3 IRL configuration is only supported within a policy role context Configuration of IRLs within rules are not supported In a mixed stack C3 CoS feature limitations apply soluti...

Page 21: ...Configure a Class of Service transmit queue port resource entry by mapping a port group with a transmit queue and applying a TxQ rate shaping value to the mapping Verify configuration changes Matrix...

Page 22: ...RL to port group mappings are associated with the inbound rate limiter reference Matrix su set cos settings index priority priority tos value tos txq reference reference irl reference reference Matrix...

Page 23: ...scussion to the VoIP configuration context Table 1 provides a set of sample values for priority IRL and transmit queue across a number of real world traffic types This table can be used as an aid in t...

Page 24: ...d core to handle ToS rate limit and queue configuration for these devices The H 323 call setup profile will be configured so that TCP call setup traffic on the TCP destination port 1720 10 0 0 1 of it...

Page 25: ...ate CoS 8 as the action for the rule Setting the VoIP Edge Policy Profile Switch 1 For DFE Switch 1 we configure a separate policy for VoIP edge VoIP edge policy deals with packets transiting the edge...

Page 26: ...5 Enable TCI overwrite so that ToS will be rewritten for this policy Create a Policy Service Name the service H323CallSetup Service Apply the service to the H323CallSetup Policy Role Create a Rate lim...

Page 27: ...cos 5 egress vlans 22 tci overwrite enable Matrix su set policy rule admin profile vlantag 22 mask 12 port string ge 1 2 5 admin pid 1 Matrix su set policy rule 1 vlantag 22 mask 12 vlan 22 cos 8 Matr...

Page 28: ...t share a common class of service and forwarding treatment as they transit the interface Forwarding Treatment Queue behavior during the packet egress stage strict Weighted Fair Hybrid Jitter The chang...

Page 29: ...DOCUMENT WEB SITE OR THE INFORMATION CONTAINED IN THEM EVEN IF ENTERASYS NETWORKS HAS BEEN ADVISED OF KNEW OF OR SHOULD HAVE KNOWN OF THE POSSIBILITY OF SUCH DAMAGES Enterasys Networks Inc 50 Minutema...

Reviews: