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

Re: [ns] Goodput calculation for TCP connections...



look at the ns-user archive, i think there were a couple of discussions
... easy way 

sample.awk
----
BEGIN 	{c=0}
$1=="r" && $3=="0" && $4=="6" $$ $5="tcp" {c++}
END 	{print c;}
----

then awk -f sample.awk out.tr will give you no of packets sent between
node 0 and 6

debo

On Mon, 28 May 2001, Rafa/l Wielicki wrote:

> Hi
> 	I'm doing simulations with RED/ecn and TCP flows. As an output I
> need to show goodput plot. How can I extract gootput value from trace file
> ? Is there any other way to get goodput ?
> Greetings R.W.
> 
>