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

Re: [ns] regarding trace file generated by flowmonitor



On Wednesday 08 August 2001 09:07, swetha swetha wrote:
> Thanx for ur reply.
>
> following is the program for which that trace file was
> generated. Iam trying to trace the changing congestion
> window parameter.

You have succeeded.  Your flow trace has the congestion window value 
listed explicitly.

> I need to calculate the throughput
> and delay on-a-per flow basis. how do I calculate it?

Throughput, in its simplest form, can be computed as
	packets delivered / time

At time 1.13288 you have successfully delivered 2 packets.  I assume 
the sim started transmitting at time 1, so the time taken is 0.13288 
seconds.  2 / 0.13288 ==> 150.5 packets per second.  Multiply the 
packets per second by bytes per packet to get bytes per second.

There are more complex measures, but I'm not an expert in how to 
calculate them.  Try performing a search on the list archive for 
"goodput".

What do you mean by delay per flow?

-- 
Brian Lee Bowers	|	RADIANT Team (Summer Intern)
[email protected]	|	Los Alamos National Laboratory