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

Re: [ns] goodput for TCP connection



Thanks Lucas,

It worked for me.... 

Fusun


> From: Lucas Barri�re <[email protected]>
> To: "Fusun Inanc" <[email protected]>, <[email protected]>
> Cc: <[email protected]>
> Subject: Re: [ns] goodput for TCP connection
> MIME-Version: 1.0
> Content-Transfer-Encoding: 8bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> 
> In tcp.h:
> 299:        TracedInt ndatapack_;   /* number of data packets sent */
> 304:        TracedInt nrexmitpack_; /* number of retransmited packets */
> therefore, at the end of the connection, [ndatapack_ - nrexmitpack_] should
> give you the number of unique packets. Give it a try and tell us about it.
> --
> Lucas Barri�re
> 
> [email protected]
> http://aemiaif.lip6.fr/etudiants/lucas
> UNIX is user-friendly. it's just selective about who its friends are.
> ----- Original Message -----
> From: "Fusun Inanc" <[email protected]>
> To: <[email protected]>
> Cc: <[email protected]>
> Sent: Thursday, March 23, 2000 10:28 PM
> Subject: [ns] goodput for TCP connection
> 
> 
> > Hi everyone,
> >
> > I would like to calculate the goodput for a TCP connection.
> > I want to count the number of unique packets, (not the ones
> > which are repeated) I could count them from the trace file
> > one-by-one but I am running the simulation for 50sec.
> > and I don't think this is a good idea :))
> >
> > I was wondering if someone has a code to calculate the goodput.
> > I have a code to calculate the TCP throughput though.
> > I would appreciate any help.
> >
> > Thanks,
> >
> > Fusun Inanc
> >
>