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

Re: [ns] How to simulate Fiber link (Set Queue limit_=2?)--No BUffer!



With DropTail queues, a packet is first enqueued, then a check is made:
"queue length >= queue limit ?". Note the "=". If yes, the packet is dropped.
Therefore, with queue limit = 1, the packet will always be dropped.
In my opinion, setting queue limit = 2 should be all right.

Hope this helps.

Jerry

----- Original Message ----- 
From: "Xiaojun Cao" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 29, 2001 6:31 AM
Subject: [ns] How to simulate Fiber link (Set Queue limit_=2?)--No BUffer!


> Hi,
> Can any body give me an idea how to simulate FiberLink  with ns? I found
> that if I set Queue limit =1,(because I want to simulate no buffer for
> optical network), it doesnot work at all, every packet got lost. However if
> I set Queue limit =2, the loss rate is still very high, even with very small
> load!  Is there any better way to Simulate "no buffer" switching network?
> 
> Thanks a lot!
> 
> X. Cao
> 
> 
>