[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Diffserv




Hi,

Hope this will help.


This set the queue size of each queue for the 3 different class: EF, AF and BE.
===================================
$scheduler1 set ef_queue_lenght_ 10
$scheduler1 set af_queue_lenght_ 100
$scheduler1 set be_queue_lenght_ 200
====================================

Define the various parameters of RIO and RED.
AF queue uses RIO and BE queue uses RED.

RIO parameters :  weight, min_thresh_IN, max_thresh_IN, linterm_IN,
min_thresh_OUT, max_thresh_OUT, linterm_OUT

RED parameters: weight, min_thresh, max_thresh, linterm

==============================================================
$scheduler1 af-queue-rio-params 0.002 45 90 50 20 40 25
$scheduler1 be-queue-red-params 0.002 50 180 20
=============================================================


This defines the amount of bandwidth each class is allocated. Eg. link is 10Mbps
Therefore EF will have 0.1Mbps, AF has 0.4Mbps and BE has 0.5Mbps
=============================================================
$scheduler1 set <b>ef_queue_weight_</b> 1
$scheduler1 set <b>af_queue_weight_</b> 4
$scheduler1 set <b>be_queue_weight_</b> 5
===============================================================

The set the threshold for the WRR (weigted round robin) ...
Can't really explain how it works, but I do suggest ..there are many papers on
this ..maybe you should take a look

========================================================
 $scheduler1 set aggregate-bytes-thresh 1000
=========================================================







On Thu, 27 Apr 2000, Faten Ben Slimane wrote:
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hi,
> <br>I am interesting in example of diffserv.
> <br>Could you help me to know:
> <br>-What weights represent?
> <br>-What is the relationship between the weights of the queue and the
> average queue size here (equation...):
> <p>$scheduler1 set ef_queue_lenght_ 10
> <br>$scheduler1 set af_queue_lenght_ 100
> <br>$scheduler1 set be_queue_lenght_ 200
> <br>$scheduler1 af-queue-rio-params 0.002 45 90 50 20 40 25
> <br>$scheduler1 be-queue-red-params 0.002 50 180 20
> <br>$scheduler1 set <b>ef_queue_weight_</b> 1
> <br>$scheduler1 set <b>af_queue_weight_</b> 4
> <br>$scheduler1 set <b>be_queue_weight_</b> 5
> <br>$scheduler1 set aggregate-bytes-thresh 1000
> <p>Best regards.</html>