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

Re: [ns] Strange DiffServ Result.



in method dsREDQueue::reset() there is the following code

	for (i = 0; i < MAX_QUEUES; i++)
		redq_[i].qlim = limit();

This is a method defined also in Queue class from which dsREDQueue descend.
Probably some function call it and reset the queue limit.
Just move it in the dsREDQueue constructor and check what happens.

Can anyone explain me when the reset method is called?

Thanks


Sergio
..............................................

Sergio Andreozzi

email: sergio.andreozzi@lut.fi




-----------------------------------------
Hi.
I tried to simulate DiffServ( Nortel's ) with different queue sizes
for different queues so that I modified dsred.cc and .h.
I simply added a dsREDQueue::command that receive queue size and
assigned the values to redq_[i].qlim.
I simulated an example script in /tcl/ex/diffserv/ds-cbr-tb-WRR.tcl.
Originally, the queue size is fixed with 50. There are 2 udp flows so
that there are 2 physical queues in core router.
I changed one of them into 100.

I only expected the change in result that I changed the queue size.
However, the number of packet dropped is also decreased in the the
other queue.( still the queue size is 50 ). The scheduler used is
WRR with 3,7 for each class.( I changed queue size for 3 )
Did I miss anything???

Any advice will be appreciated.

Best regards.
Sungwon.

======================================
Yi, Sungwon
Have a wonderful day!
======================================