Docsity

Multimedia Internet notes (multimedia network), Appunti di Teorie e tecniche della comunicazione multimediale

Toggle sidebar
bg1
Multimedia Internet
1. QUALITY OF SERVICE (QOS) IN IP NETWORKS
Resources can be public or private
Public resources → shared bandwidth
First solution was Best Effort (by ARPANET)
With Real Time Services (web 2.0) Best Effort was not enough → Born of QoS
QoS is defined in term of percentage time the connection works .
On this base Client-Telco make an agreement (SLA) based on percentage availability:
• Availability
• System perimeter of availability
• Availability level for each interface
• Procedure to measure availability
• Penalties
Multimedia applications are sensitive both to delay and packet loss, in addition to availability.
QOS IN MULTISERVICE IP NETWORKS
Items we may find in the SLA are
• Availability
• Delay (packet)
• Throughput (packet or bytes per second)
• Packet loss rate
• Packet sequence inversion
• Delay variation
Quality of some types of application depends on delay and/or packet loss. These applications are
classified in Real-time and Elastic applications
Elastic Application (web browsing, file transfer, e-mail)
Applications more robust against delay and admit retransmissions, data are waited till they arrive.
TCP can be used and all informations lost are retrieved.
1) TCP understands the loss of packet and is semantically transparent (the order is not
touched).
2) TCP try to apply congestion control → Congestion window
Real Time Application (telephony, video streaming, multivideo conferencing)
A packet arriving after a given delay threshold is useless; also retransmission is useless
Important are playback applications: source takes some signal, packetizes it, transmits some
packets over the network, with the help of playout buffer (with as length the playout buffer
depth). Network introduces delay in deliver of packet.
Diagram reproduction-time and playback point
Trade off playout buffer length – delay
Network speed > reproduction speed → accumulation of bytes in buffer
Reproduction speed > network speed → depletion of buffer
Buffer underflow happens when reproduction speed is for long time greater than network speed.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Anteprima parziale del testo

Scarica Multimedia Internet notes (multimedia network) e più Appunti in PDF di Teorie e tecniche della comunicazione multimediale solo su Docsity!

Multimedia Internet

1. QUALITY OF SERVICE (QOS) IN IP NETWORKS

Resources can be public or private

Public resources → shared bandwidth

First solution was Best Effort (by ARPANET)

With Real Time Services (web 2.0) Best Effort was not enough → Born of QoS

QoS is defined in term of percentage time the connection works.

On this base Client-Telco make an agreement (SLA) based on percentage availability:

  • Availability
  • System perimeter of availability
  • Availability level for each interface
  • Procedure to measure availability
  • Penalties

Multimedia applications are sensitive both to delay and packet loss, in addition to availability.

QOS IN MULTISERVICE IP NETWORKS

Items we may find in the SLA are

  • Availability
  • Delay (packet)
  • Throughput (packet or bytes per second)
  • Packet loss rate
  • Packet sequence inversion
  • Delay variation

Quality of some types of application depends on delay and/or packet loss. These applications are

classified in Real-time and Elastic applications

Elastic Application (web browsing, file transfer, e-mail)

Applications more robust against delay and admit retransmissions, data are waited till they arrive.

TCP can be used and all informations lost are retrieved.

  1. TCP understands the loss of packet and is semantically transparent (the order is not

touched).

  1. TCP try to apply congestion control → Congestion window

Real Time Application (telephony, video streaming, multivideo conferencing)

A packet arriving after a given delay threshold is useless; also retransmission is useless

Important are playback applications : source takes some signal, packetizes it, transmits some

packets over the network, with the help of playout buffer (with as length the playout buffer

depth). Network introduces delay in deliver of packet.

Diagram reproduction-time and playback point

Trade off playout buffer length – delay

Network speed > reproduction speed → accumulation of bytes in buffer

Reproduction speed > network speed → depletion of buffer

Buffer underflow happens when reproduction speed is for long time greater than network speed.

Performance of a playback applications is measured with 2 factors:

  • Latency
  • Fidelity

Some application are rather sensitive to the first or the second, others are not.

There exists cases of no multiservice network, and example is High Frequency Trading (HFT).

Real time playback applications can be:

  • Tolerant (buffer underflows are admitted) → Audio and video applications
  • Intolerant (no buffer underflows) → Pseudowire applications

Pseudowire needs to guarantee zero buffer underflow, using a fixed offset delay

Intolerant application are served with guaranteed network service:

High cost High quality intolerant applications Hard threshold

Parameters: Threshold ( T )

Tolerant application are served with statistical service (or predictive)

Low cost All retail applications Soft threshold

Parameters: Threshold, probability to overpass the threshold ( T,p )

Third service is best effort

Anything can happen,

Sharing of resources inside a multiservice IP network

Non playback applications are for example online gaming

QoS Application

The division on real time and non real time applications usually doesn’t consider if application is

data, audio or video.

Some type of applications we can find in a network are the following:

Application Description Tolerance to

delay

Telephony (IP) Real time, playback, statistical service Very low

Circuit emulation (Pseudowire) Real time, playback, guaranteed service No

Multimedia conference Statistical service Low

Real time interactive Real time, non playback, statistical service Low

Multimedia streaming Real time, playback, statistical service Tolerant

Broadcast video Real time, playback, statistical service Low

Low latency data Statistical service Tolerant

Low priority data Best effort service Tolerant

Network control Control delay Tolerant

Signaling Light traffic but control delay Tolerant

O & M Light traffic but control delay Tolerant

Sample Delay-Oriented Sla

Based on Olympic Services defined statistically:

Service Delay Probability of exceeding

Gold 90 ms 0.

Silver 120 ms 0.

Bronze 250 ms 0.

2. TRAFFIC MANAGEMENT

QOS: BASIC BUILDING BLOCKS

SLA is important but not sufficient → Traffic Condition Agreement (TCA)

SLA → target QoS the provider is committed to deliver to the customer

TCA → upper limit to users traffic

  • IN profile traffic
  • OUT of profile traffic

SLA must meet conditions only for IN traffic, while a number of action can be done for OUT traffic

  1. Policing: traffic is dropped
  2. Shaping: traffic is delayed until it is possible
  3. Marking: traffic is marked and offered to the network

TCA can include different parameters in order to characterize IN and OUT traffic:

P: Peak rate of traffic → maximum value of the rate of the traffic

A: Average rate of traffic → measured in long time window. P ≥ A.

B: Maximum length of burst → maximum number of packets I can send at bit rate

Maximum length of packets

Minimum length of packets

After TCA and SLA are enstabilished, the traffic is examined

by a regulator, which splits IN traffic and OUT traffic.

We can have different types of regulator, depending the

number of logical flows created: two-colours regulator or

three-colours regulator.

Two colours regulator

Two colours policing traffic regulators:

OUT packets are dropped and don’t enter in the network. Only green traffic proceeds.

Two colours shaping traffic regulators:

OUT traffic is buffered in such a way it is transmitted in the network only when it is possible

without exceeding the TCA. Traffic entering in the network is always green.

Two colours marking traffic regulators:

OUT traffic is let to proceed, but marked, dropping its priority. Alternatively the SLA is

downgraded, till arriving as Best Effort.

Traffic is marked modifying one byte on packet header. We act on DSCP (Differentiated Services

Code Point) byte of the packet; 6 of the 8 bits are available, 2 are reserved → 64 different services.

It is the router (classifier possibly) to stamp SLA into packets

A traffic regulator is made of:

  1. Classifier
  2. Meter
  3. Actuators (shaper, dropper, marker)

A meter is used to meaure the traffic stream against a traffic profile. It can be implemented as a

token bucket. Token: permission to transmit 1 byte or 1 packet.

POLICER

Token bucket policer:

has a counter of tokens, with maximum value b, an is

referred to as token bucket size.

Token counter is increased every 1/ r seconds, with r token rate.

One traffic unit (bit, byte, or packet) of offered traffic is allowed to pass

through the regulator if the counter is positive (then, the counter is

decremented).

Otherwise, if the counter is equal to zero, the traffic unit is dropped.

→ Traffic offered to network is linearly bounded. No delay but packet loss.

SHAPER

Token bucket shaper:

Token counter works as for the policer. If when a bit arrives the counter

is positive and the input buffer is empty, the bit passes. If buffer is not

empty and/or the counter is null, incoming traffic is buffered. When

input buffer is not empty, one traffic unit is fetched from buffer as soon

as a token is generated. Not more than r bit/s can be output. Parameter

b controls the length of output traffic burst. When token counter is full, it must stop and wait

further tokens.

→ No packet loss but presence of delay.

Constraint function of both these previous regulators is the line b+rt :

it represents the maximum number of traffic units, corresponding to

IN traffic, that the regulator lets pass into the network.

Excess traffic is OUT traffic, and how it is treated depends from the

regulator.

MARKER

Token bucket marker:

Works as a policer, but does not drop OUT traffic. It is marked and forwarded into the network.

→ Inside the network, as soon as congestion arises, marked packets are dropped before IN

packets.

Single rate three colours marker (SRTCM)

Parameters used are the following:

CIR: Committed Information Rate [bit/s] → green

CBS: Committed Burst Size [bit] → yellow

EBS: Excess Burst Size [bit] → red

A packet is marked:

  • Green if doesn’t exceed CBS
  • Yellow is it exceeds CBS but doesn’t exceed EBS
  • Red otherwise

CBS < EBS

Meter can operate in two different ways:

T

P

(t): number of tokens in P → T P

( 0 ) = PBS

TRTCM operating in color blind mode

When a packet of size B bytes arrives:

o If T P

(t) – B < 0 → the packet is red;

o If Tc(t) – B < 0 → the packet is yellow and T P

is

decremented by B;

o Else → packet is green and both T P

and T C

are

decremented by B.

TRTCM operating in color aware mode

When a packet of size B bytes arrives:

o If packet has been precoloured as red || T P

(t) – B < 0 →

packet is red;

o If packet has been precoloured as yellow || T C

(t) – B < 0

→ packet is yellow and T P

is decremented by B,

o Else → packet is green and both T C

and T P

are

decremented by B.

This time constraint curve is no more linear, is piecewise linear and is able to enforce two rates,

peak rate and average rate.

3. HOW TO GUARANTEE QOS

Traffic Contract

We have seen a traffic contract between a provider and a customer includes TCA and SLA.

TCA specifies the traffic profile.

SLA specifies the QoS requirements.

It’s important to guarantee QoS:

  1. First step is negotiation of SLA and TCA (long time scale)
  2. Second step is resource allocation and admission control (connection time scale)
  3. Third step is the scheduling (packet time scale).

SCHEDULING

The scheduler organizes the transmission of packets by

choosing which service class has to be served and

selects, when transmission of packet is over, the service

class to be served next.

Backplane: critical component, must be very fast.

How many buffers do I need to have in a scheduler?

It depends from the architecture we choose:

  • Per microflow architecture: managing the QoS

of each individual flow separately.

→ It requires one buffer per connection,

introducing scalability problems.

  • Per macroflow architecture: microflows are

grouped in classes, building macroflows. We

manage service classes instead of individual flows.

→ It requires one buffer per service class.

It is the connection we work with.

With macroflow connection, if incoming traffic requires similar services, it ends in the same buffer,

marked with the 6 bits inside the DSCP byte. So maximum we will have 64 different buffer, solving

the scalability problem.

Every scheduling will have a scheduling algorithm.

FIFO scheduler

Only 1 buffer, we can’t differentiate services.

Best Effort working, no guarantees on delay.

Clearly only one SLA can be offer to all the flows.

→ Inefficient

Strict Priority scheduler (SP)

When a packet needs to be selected to be served:

  • If (queue 1 has packet) → packet in queue 1 served
  • Else if (queue 2 has packet) → packet in queue 2 served
  • Else if (queue 3 has packet) → packet in queue 3 served
  • Otherwise → idle

Traffic with stringent QoS requirements will have highest

priority level (good for Pseudowire). Best Effort can be assigned to the lowest priority level

4. ADMISSION CONTROL

It has the task of accepting or refusing a connection. It can

accept connection if the SLA fo that connection and all the

other N connection are respected.

Example: simple FIFO with N traffic flows:

  • If 0 ≤ N ≤ N max

→ SLA fulfilled

  • If N > N max

→ SLA violated

The only problem is knowing N max

, that defined admission

region. It’s a geometrical problem.

One class scheduler:

admission region is uni-dimensional. Positive values are in

the interval [0, N max

].

Amplitude of admission region depends on link’s capacity and statistical properties of traffic.

Two classes scheduler:

admission region is bi-dimensional.

SLA (d 1

, p 1

) of class-1 flows and the SLA (d 2

, p 2

) of class- 2

flows have to be fulfilled.

Admission region is delimited by admission line: here,

accepting 1 request, both from class 1 and class 2, we go in

rejection region.

PACKET CLASSIFICATION

Packet classification is how a packet get a SLA printed in the DSCP field, the operation of treating

packets according their Per Hop Behaviour (PHB), carrying the code in a specific field.

Result of classification is to assign a treatment behaviour to each packet.

Simplest classification scheme is single-field: a single field of packet header is the classification key.

Multi-field classification considers multiple fields: 5 tuple

  • Source address
  • Destination address
  • Protocol type
  • Source port
  • Destination port

There are 104 bits to be parsed.

Decisions are taken through the procedure keys + rules → if rule i fires, print the colour in DSCP

field of the IP packet.

Usually last rule is the most general, as Best Effort.

→ High number of rules, high delay

Rules that fire more frequently are put on the top. This decreases delay.

Classification must work at wire speed.

5. ACTIVE QUEUE MANAGEMENT (AQM)

Feature that can be added to a buffer in order to manage efficiently packet dropping process.

Without AQM packets are taildropped: when queue is full and a packet arrives, the packet is

dropped. This create 2 drawbacks

  • Lock-out → buffer is monopolized by few flows; the last starve. Often is the result of TCP

synchronization.

  • Full queues → tail drop lead queues mantain full status for long periods of time. An arriving

burst will cause multiple packets to be dropped.

AQM is a procedure carried out by a buffer in order to avoid lock-out and full queues. It is used

with TCP.

Random Early Detection (RED)

Dropping packets in advance according to a random procedure.

  1. Estimation of the average queue size: using a simple exponentially weighted moving

average.

  1. Decision of wheter or not drop an incoming packet.

This last part is done with tho parameters, minth (minimum threshold) and maxth (maximum

threshold).

  • minth specifies the average queue size below which no packets will be dropped.
  • maxth specifies the average queue size above which all packets will be dropped.
  • When average queue size varies from minth to maxth , packets will be dropped with a

probability that varies linearly from 0 to maxp.

Calculation of the average queue content:

𝑎𝑣𝑒

𝑎𝑣𝑒

𝑎𝑣𝑒

= estimation of average queue occupancy

𝑄(𝑡) = instantaneous queue occupancy at time t

w = weigth, with 0 < w < 1

Dropping probability p is plotted in the graph and depends on

𝑎𝑣𝑒

This is a good technique to prevent buffer lockout and full

queues.

[-] Can’t be used with different dropping probabilities.

RIO for In and Out (RIO)

RIO differentiates 2 priorities of packet dropping

  • IN (green) traffic → lower packet dropping probability
  • OUT (red) traffic → higher packet dropping probability

RIO checks two estimators of queue occupancy:

𝑎𝑣𝑒,𝐼𝑁

𝐼𝑁

𝑎𝑣𝑒,𝐼𝑁

𝐼𝑁

𝐼𝑁

𝑎𝑣𝑒,𝑂𝑈𝑇

𝑂𝑈𝑇

𝑎𝑣𝑒,𝑂𝑈𝑇

𝑂𝑈𝑇

𝑇𝑂𝑇

𝑎𝑣𝑒,𝐼𝑁

= estimator of the queue of IN packets

6. QOS ARCHITECTURE

IP DIFFERENTIATED SERVICES

It is a way to obtain a scalable IP network with QoS guarantees.

  • IP DIFFERENTIATED SERVICES → per service class differentation (macro-flow approach)
  • IP INTEGRATED SERVICES → per microflow differentation (micro-flow approach)

Second one is appliable only for little networks. That’s why we use the first one.

We consider network built as set of indipendent networks:

Guaranteeing QoS in a network: end-to-end QoS

Guaranteeing QoS inside boundaries of a network: edge-to-edge QoS

Core router Border router

Connection Admission Control (CAC) and Resource Allocation (RA) try to find a path that packets

would follow to be sure Qos is guaranteed. These path must be stable and are decided by Packet

routing algorithms:

  • Open Shortest Path First (OSPF)
  • MultiProtocol Label Switching (MPLS): it attaches one extralevel in front of the header of

the packet, a value always changing, following the MPLS table, written in CAC and RA.

In the table we find:

Input line label IN label OUT Output line

Change of label means that the label management is local (inside each router).

DSCP byte will be inside the header of the packet, and it contains the code of SLA. The code is

called Per-Hop Behaviour. It will be the scheduler that looks into DSCP and it decides the service

class where a packet will go. Elements are:

Border routers Core routers DS domain DS boundary

DS domain: a contiguous set of DS nodes which operate with a common service provisioning policy

and set of PHB groups implemented on each node. A DS domain normally consists of one or more

networks under the same administration.

DS boundary nodes: DS boundary nodes act both as a DS ingress node and as a DS egress node for

different directions of traffic. Traffic enters a DS domain at a DS ingress node and leaves a DS

domain at a DS egress node. A DS ingress node is responsible for ensuring that the traffic entering

the DS domain conforms to its TCA.

Function of border routers are: Functions of core routers are:

Classification Scheduling

Conditioning

Classification: parce the packet’s header and the payload and take a decision, consulting the table,

on what is the PHB that has to be assigned to the packet → COMPLEX

Scheduling: examinate DSCP byte, decide where to send it and apply it → SIMPLE

Why complex functions in small routers and simple functions in big routers?

Solution to scalability problem

In order to have n to n coordination of quality of service the 2 domains must cooperate for

example deciding which is the PHB to be assigned to a 5 tuple. A purely syntactical operation, we

take a long string of bits and it becomes 8 bits. We need PHB syntax and PHB semantics.

Classification: packet classifiers select packets in a traffic stream based on the content of some

portion of the packet header

Grouping several connections in a single PHB is called Behaviour Aggregate (BA). It’s the passage

between microflow in macroflow.

  • TCA (packet coloring)
  • Policing / Shaping / Marking
  • Scheduling

• AQM

These ingredients of BA gives the implementation of PHB and builds up a Service Provisioning

Policy.

Per Hop Behaviours: a description of the forwarding behaviour of a DS node applied to a particular

DS behavior aggregate. PHB groups share common constraints applying to each PHB within the

group, such as a packet scheduling or buffer management policy. PHBs are defined in terms of

behaviour and not in terms of the practical implementation: this is a provider’s responsability.

EXPEDITED FORWARDING PER-HOP BEHAVIOUR (EF OR EF-PHB)

It is the best attempt for PHB, so good that circuit emulation services could be transported over

the EF PHB. Intent of EF PHB is to provide a PHB in which suitably marked packets usually

encounter short or empty queues. Besides, if queues remains short relative to the buffer space

available, packet loss is also kept to a minimum.

Codepoint 101110 is recommended for the EF PHB.

It creates a service adapt for low delay, low loss and low jitter,

so it can be used for Circuit Emulation Services.

Two concepts need to be introduced:

  • Traffic curve

Assume we are able to count number of bits X(t) flowing

through interface in time interval [0,t]. Of course it will

create a monotonic non decreasing function (X(t) can be

either zero or positive).

Since traffic is packetized, we have a piecewise linear

function.

When no packet is present, the traffic curve is steady.

  • Service curve

Given for example a FIFO scheduler, the potential service

curve S(t) is the maximum number of bits that the scheduler

can serve in a time interval of duration t.

On the service queue we will have:

∗

= potential service curve

= actual service curve

Example1: Train of packets → sequence of packets equally space

in time.

The packet length is fixed and constant, L.

Traffic curve will be a stairs of equal length.

Maximum configurable rate of EF traffic: 𝐶

𝐸𝐹

𝐿

𝐸𝐹

𝐿

𝐵𝐸

+𝐿

𝐸𝐹

Packet rate of EF traffic: 𝜆 𝐸𝐹

Bit rate of EF traffic: 𝜆

𝐸𝐹

𝐸𝐹

𝐸𝐹

𝐸𝐹

𝐸𝐹

𝐸𝐹

1

𝐿

𝐸𝐹

𝐿

𝐸𝐹

𝐿

𝐵𝐸

+𝐿

𝐸𝐹

𝐶

𝐿

𝐵𝐸

+𝐿

𝐸𝐹

In order to have a stable system we must offer a traffic smaller than the capacity of the system, or

a rate smaller than

𝐶

𝐿

𝐵𝐸

+𝐿

𝐸𝐹

𝑀𝐴𝑋

𝐿

𝐶

𝐿 𝑀𝐴𝑋,𝐵𝐸

𝐶

𝐸𝐹

𝐶

𝐿

𝐵𝐸

+𝐿

𝐸𝐹

Hierarchical scheduling

Mix different scheduling strategies. Algorithm is SP.

Example1: let’s assume we have 4 different categories, EF, CAT2, CAT3, BE. We would like to

preserve the feature of the SP above, but to divide the remaining bandwidth among CAT2, CAT

and BE according to the weigths.

Solution is build two priorities in the final solution, the first is the EF, the second is the 3 service

categories. Algorithm of this last priority is GPS: it doesn’t act in C, but in C minus the capacity

consumed by EF traffic.

Which is the next packet to serve?

  1. SP is activated
  2. Are there EF packets waiting?

2.1. Yes → Transmit the EF packet

2.2. No → Transfer control to the GPS scheduler

GPS scheduler will decide which of the three classes will be served. This is repeated recursively.

ASSURED FORWARDING PER-HOP (AF PHB)

Assured forwarding allows the operator to provide

assurance of delivery as long as the traffic does not exceed

some subscribed rate. Traffic that exceeds the subscription

rate faces a higher probability of being dropped if

congestion occurs.

For these reasons is used for Elastic and Real Time tolerant

applications.

The AF group is made of 12 PHBs.

4 AF classes are defined, where each AF class has the same priority.

A multimedia session can have more media components with different requirements and different

QoS target. We can have 4 kind of flow for 1 content.

Determining the class is not enough, the PHB AF, in order to be identified, need 2 entries: a class

and a packet loss priority (PLP). In order to choose the PLP we can use the markers (exploiting the

meter) as a TRTCM.

An AF implementation must attempt to minimize long-term congestion within each class, while

allowing short-term congestion resulting from bursts. This requires an active queue management

algorithm, such as RED/RIO.

Thus, long-term congestion is managed by dropping packets, while short-term congestion (packet

bursts) is controlled through buffering. The AQM’s smoothing implemented by RED/RIO effectively

computes a smoothed congestion level and the dropping algorithm uses this smoothed congestion

level to determine when AF packets should be discarded.

The AF PHB group provides delivery of IP packets in four independently forwarded AF classes.

The combination of classes and drop precedence yields twelve separate DSCP encodings from

AF11 through AF43.

We have only 4 buffers.

High medium and low can also be seen as green, yellow and red.

AF can used to build an olympic service:

Packets in gold class experiences lighter load than packets assigned to the silver class

Packets in silver class experiences lighter load than packets assigned to the bronze class

Packets with heaviest load are put in bronze class.

Most frequent utilization is having AF1, AF2 and AF3 in a GPS scheduler.

Class Selector PHB (CS PHB)

We mark PHBs inside the DSCP byte, which legacy version was the TOS field: PPPTRDXX

PPP: are the three bits of priority

T: throughput flag

R: reliability flag

D: delay flag

XX: the 2 reserved bits

The Class Selector DS field provides a limited backward compatibility with legacy practice, for

example, the priority bits in the old TOS field of the IPv4 packet.

CS have 8 different PHBs, that can be recognized with the 3 bits that TOS dedicated to priority.

Service of PHB 1

must be better than PHB 2

In total we have 22 PHBs; however CS 0

has the same code of default, so actually PHBs are 21.

PSEUDOWIRE

A pseudowire is an emulation of a native service over a packet switched network (PSN).

A digital line (a stream of bits) enters in the IP multiservice network (where there is the flow of

packets) and goes out through the PseudoWire GateWay (PSGW). For the stream of bits we need:

  • Constant clock
  • Semantic transparency
  • Timing transparency

Pseudowire packet is composed by a payload and an header. Inside the payload it’s possible to see

the block of bits and the PseudoWire Header, which function are:

  • Sequence numbering (packets are numbered)
  • Information about frame
  • Alarms
  • Timing information

Architecture of Pseudowire

END equipment

TDM network

Pseudowire Gateway: InterWorking Function (IWF)

Multiservice IP network: a guaranteed service (EF PHB) → timing and semantic transparency

Pseudowire Gateway: InterWorking Function (IWF)

TDM network

END equipment

Structure:

IP header: - DSCP: EF code 20 bytes

UDP header: - source port

  • destination port 8 bytes

RTP header: - sequence number

  • timing info 20 bytes

PW header: - sequence number

IWF - timing info

  • frame structuring
  • alarms? depends on standard

Bits - Bits of digital line, the real payload X

So pseudowire is quite inefficient as transport, ~50% of bits are in the header, so half of the

bandwidth is consumed for headers, and the real traffic is the half.

MAPPING APPLICATION AND PHB

We have a network and when we set up a connection through that network, we attach there a

PHB. The problem is that in one world we have applications, and in another we have PHBs

Applications can be divided into 5 categories:

  1. Application control

1.1. Signaling

  1. Media-oriented

2.1. Telephony

2.2. Real Time interactive (virtual desktop)

2.3. Multimedia conferencing

2.4. Broadcast video

2.5. Multimedia streaming

  1. Circuit emulation

3.1. Pseudowire

  1. Data

4.1. Low latency data

4.2. High throughput data

4.3. Low priority data

  1. Best Effort

Which kind of applications can be successfully transported with PHB?

Application control

We can have:

  • Client-Server session (web browsing)
  • Client-Client session (IP telephony)

I have an exchange of data but I can have an exchange of signaling. In a VoIP session we can have 3

connections, one for the media and two the signaling.

Network control

Applications that deal with network control live inside the network and network provider sees

them very well. It’s traffic flowing inside the network and never going out.

O&M (Operators and management)

Is the activity of the network management, the function that controls the network.

How do we map applications into PHBs? Calculating the tolerance helps.

Service class Packet loss Delay Jitter

Telephony Very low Very low Very low

Network control Low Low High

O & M Low Medium High

Signaling Low Low High

Multimedia Conferencing Medium Very low Low

Real time interactive Low Very low Low

Broadcast video Very low Medium Low

Best effort High High High

In order to select possible PHBs, there are some hints that can be followed, even if mapping is not

standardized.

Advice of IETF RFC 4594:

Service class Conditioning at DS edge AQM

Telephony EF EF Policing No

Network control CS 6 Policing Yes (RED)

O & M CS 2 Policing Yes

Signaling CS 5 Policing No

Multimedia Conferencing AF 41

AF 42

AF 43

TRTCM Yes

Real time interactive CS 4 Policing No

Multimedia streaming AF 31

AF 32

AF 33

TRTCM Yes

Broadcast video CS 3 Policing No

Low latency data AF 21

AF 22

AF 23

TRTCM Yes

High throughput data AF 11

AF 12

AF 13

TRTCM Yes

Standard BE / Yes

Example: Possible implementation scenario of a complete service differentiation.

How do we configure a scheduler in a router to implement this set of requirements?

  1. Telephony is EF and we need a SP scheduler.
  2. The second section of the scheduler works as rate based scheduler (WFQ)

2.1. Weigth 1

2.1.1. CS 6 → Network Control

2.1.2. CS 5 → Signaling

2.1.3. CS 4 → Real Time Interactive

2.1.4. CS 3 → Broadcast Video

2.1.5. CS 2 → Operation and Management traffic