[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trace files format
On Thu, 9 Apr 1998, Sherif Rizkalla wrote:
> Hi everybody,
> I'm a new ns user, and I was a bit confused by the trace file formats..
> All the documentations I have found said that '+' is enqueue, '-' is
> dequeue, and 'd' is for drops.
> But every simulation I ran so far, as well as the examples (ns2.1b2) had
> '+', '-' and 'r' (no 'd').. So I assume the 'r's are drops, but the rate
> was so high that you could say almost 90% of the packets are dropped.
> Any ideas?
> Thanx
>
> -Sherif
>
Hi (Sherif),
'd' means that the que is full at that link, and the incoming
packet is lost,
for example:
+ 0 0 1 tcp 1000 ------- 0 0.19 2.9 0 11
d 0 0 1 tcp 1000 ------- 0 0.19 2.9 0 11
Here the incoming packet between the node 0 and node 1 is dropped.
'r' means that an agent (at a node) receive a packet,
for example:
r 0.0008 0 1 tcp 1000 ------- 0 0.15 2.5 0 1
+ 0.0008 1 2 tcp 1000 ------- 0 0.15 2.5 0 1
Here the received packet at node 1 is forwarded to the queue between node
1 and node2.
-K.