• Tidak ada hasil yang ditemukan

Sistem Antrian dengan Prioritas

N/A
N/A
Protected

Academic year: 2018

Membagikan "Sistem Antrian dengan Prioritas"

Copied!
47
0
0

Teks penuh

(1)

S1 Teknik Telekomunikasi Fakultas Teknik Elektro

REKAYASA TRAFIK | TTH3J3 | Kur. 2016 | 2017/2018

(2)

Target Pembelajaran

Priority Queuing

Custom Queuing

Weighted Fair Queuing (WFQ)

Weighted Random

Early Detection (WRED)

Token Bucket

(3)

Usage Parameter Control non-conforming

contract tagging

UPC

passing discarding

An example of UPC algorithm

Conforming TAT

Non-conforming

(4)

Shaping increases network efficiency by reducing output bandwidth

without shaping Re-space the input cells

With shaping

(5)

CAC examines whether network resources are sufficient or not for a new

Time B

it r at e

CAC

Necessary bandwidth

<Space of bandwidth ?

accept (or reject)

(6)
(7)

QoS Design

Contoh : Kualitas Voice dalam Jaringan

VoIP dipengaruhi langsung oleh dua faktor utama :

 Packet loss  Delay Packet

(8)

Packet Delay

Packet delay can cause either voice-quality degradation, due to the

Packet Loss

There are several reasons for packet loss, including:

1. Congestion caused by queues overflowing their packet limits 2. Network nodes running out of buffer space

3. Memory limitations in network nodes

4. Policing, or controls that watch traffic flows, ensuring that

(9)

Echo

Echo bukan masalah khusus terhadap packet switching

tetapi berpengaruh pada teknologi Circuit switching yang disebabkan oleh dua hal :

(10)

Komponen Fixed Delay

Propagation—six microseconds per kilometer

Serialization

Processing

(11)

Komponen Variable Delay

Queuing delay

Dejitter buffers

(12)
(13)

Contoh dalam VoIP QoS :

Classification Queuing

(14)

Queuing’s Premise

Getting better service is a matter

of managing congested queues

Over-all latency and bandwidth are

constant

Make some trafc absorb latency, and

therefore give up bandwidth

Shield other trafc from latency, and

(15)

FIFO Queuing

Premise

“Packets leave in order of arrival”

Fixed queue lengths

Results in dropping from tail of

queue under load

(16)

Simplest QoS Algorithm: Priority

Queuing

Stated requirement:

“If <application> has trafc waiting,

send it next

Commonly implemented

(17)

Priority Queuing Implementation Approach

Identify interesting trafc

Access lists

Place trafc in various queues

De queue in order of queue

(18)

Priority Queuing

(PQ)

Traffic Destined for Interface

Interface Buffer

Transmit

Queue Output Line Interface Hardware

EthernetFrame RelayATM

Serial LinkEtc.

High

Medium

Normal

Low

Q Length Defined by Q Limit

Classify

(19)

Priority Queuing

Priority (Access)

List Forwarder

Low Priority

Medium Priority

High Priority

(20)

Pitfalls of Priority Queuing

Can cause trafc lockout

if not well engineered

FIFO by priority:

(21)

Class-Based Queuing

One standard : custom queuing

Stated requirement:

“Trafc with <characteristics>

needs a guaranteed rate or latency”

“Characteristics” may be:

Application

(22)

Custom Queuing Implementation Approach

Identify the trafc

Distribute into FIFO queue by class

Dequeue in some rotation

Remove some number of bytes at most

(23)

Custom Queuing (CQ)

Traffic Destined for Interface

Q Length Deferred by Queue Limit

Up to 16 3/10

1/10

Weighted Round Robin Scheduling (byte count)

Classify

Interface Hardware

EthernetFrame RelayATM

Serial LinkEtc.

2/10

3/10 2/10

Link

Utilization Ratio

Transmit

(24)

Custom Queuing

Queue #0

Queue #1 Queue #2

Queue #3 Queue #4

Queue #5 Queue #6

Queue #9 Queue #10

Queue #11 Queue #12

Queue #13 Queue #14

Queue #15 Queue #7

Queue #16 Queue #8

Control Traffic

Priority (Access)

(25)

Pitfalls of Custom Queuing

FIFO by class:

(26)

Weighted Fair Queuing

(WFQ)

Stated requirement:

“Trafc latency must be predictable”

“Reserved fows must achieve

(27)

Fair Queuing Approach

Enqueue trafc in the sequence

the TDM would deliver it

(28)

Efects of Fair Queuing

Low-bandwidth fows get

As much bandwidth as they can use

Timely service

High-bandwidth fows

Interleave trafc

Cooperatively share bandwidth

(29)

What Weighting Does

In TDM

Channel speed determines message

“duration”

In WFQ

Multiplier on message length changes

simulated message “duration”

(30)

Weighted Fair Queuing (WFQ)

Traffic Destined for Interface

Interface Configurable

Number of Queues

Flow-Based Classification by: Weight Determined by:

Weighted Fair Scheduling

Classify

Transmit

(31)

Interactive Traffic Timing

Milliseconds

500 1000 1500 2000 2500 3000

(32)

Interactive Traffic Timing

Milliseconds

Fair Queuing

(33)

Pitfalls of Weighted Fair Queuing

Requires more sorting

(34)

RED Algorithm

(Random Early Detection)

Maintain mean queue depth

Drop trafc at a rate proportional to

Mean queue depth

Time since last discard

(35)

Behaviour of a TCP Sender

Sends as much as credit allows

Starts credit small

Avoid overloading network queues

Increases credit exponentially

(36)

Behaviour of a TCP Receiver

When in receipt of “next message,”

schedules an ACK

When in receipt of something else,

(37)

Sender Response to ACK

If ACK acknowledges something

Update credit and send

If not, presume it indicates a lost

packet

Send frst unacknowledged message

right away

(38)

Implications for Routers

Dropping a message is a way of

(39)

Weighted Random Early Detection

Stated requirement

Avoid congestion in the frst place”

“Statistically give some trafc better

service than others”

Congestion avoidance, rather than

(40)

Weighted Random

Early Detection (WRED)

FIFO Scheduling Pass

Fail

Discard Test

Transmit

(41)

Weighted Random Early Detection

Minimum Threshold Maximum Threshold

Drop Rate

Weighted RED Behavior with TCP

50 Maximum Threshold

Minimum Threshold

Drop Rate

Mean Queue Depth

(42)

Pitfalls of RED

This is again FIFO queuing

Not predictable

Depends on host behaviour

for efectiveness

Not deterministic

Specifcally dependent on bulk

of trafc being TCP

(43)

Trafc Shaping

Use token bucket model which

output packet stream are governed

by token stream

Trafc Shaping Functions :

Smoothing trafc burst, all the trafc is

bounded by a confgured fow rate

Enforce a long-term average trafc rate

(44)

Token Bucket

Output Line

(45)

Traffic Shaping Queue Structure

One queue per

– Sub-interface – Access List

– DLC

Feeds into queues at hardware layer

Forwarder

Within Token Bucket?

Interface Congested?

Sub-Interface Fancy Queues

(46)

Generic Trafc Shaping (GTS)

Transmit

Queue Output Line Traffic

Destined for Interface

Configured Queuing (e.g. WFQ, CQ, etc.) Match

No Match

(47)

Referensi

Dokumen terkait

Anggota Mammal yang diperjual belikan memiliki harga yang bervariasi dari puluhan sampai jutaan dan dimanfaatkan untuk berbagai alasan sepeti hewan peliharaan, pakan, obat

Nilai retensi protein dengan penambahan prebiotik cenderung lebih tinggi dibanding perlakuan kontrol, hal ini menunjukkan bahwa protein dari pakan dengan penambahan prebiotik

Oleh yang demikian, kajian ini bertujuan untuk mengkaji kesantunan dalam pembelajaran bahasa pelajar di IPG dengan menggunakan Proforma Bahasa Melayu Komunikatif I dan II

Pengaruh Efisiensi Biaya Overhead Terhadap Volume Penjualan Perusahaan Manufaktur Yang Terdaftar Di Bursa Efek Indonesia.. Universitas Pendidikan Indonesia | repository.upi.edu

PERSENTASE BIAYA PENDIDIKAN MENURUT SUMBER DAN SATUAN BIAYA TINGKAT SD PROVINSI GORONTALO.. TAHUN

Fungsi komunikasi merupakan fungsi bahasa yang kedua setelah fungsi ekspresi diri. Maksudnya, komunikasi tidak akan terwujud tanpa dimulai dengan ekspresi

SD NEGERI BALONGGANDU IV TAHUN PELAJARAN 2013 / 2014 M E N U Mengetahui Kepala Sekolah Jatisari, ………..20…... SOBARI,

Menurut Coopersmith aspek-aspek yang terdapat pada self-esteem ada tiga yaitu: 1) Perasaan berharga : Perasaan yang muncul pada individu ketika individu merasakan