[ns] goodput measurement

Diana Benitez paraguayita_69 at hotmail.com
Mon Mar 2 21:17:11 PST 2009


Hello:

 

I trace the variables of TCP

     ndatabytes : number of bytes transmited (throughput)

     nrexmitbytes: number of bytes retrasmited

 

The goodput is defined as the diference beetween these two values. Since the TCP makes:

 ++ndatabytes and ++nrexmitbytes, this means that is the total of the simulation.

 

If I want to do a graph of the goodput/s, I made:

      set good [expr (ndatabytes - nrexmitbytes)/$now)]

 

where $now is the time of the simulation for tracing.

 

Is this correct?

 

Thanks,

 

DIANA.

   

    

 

_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009


More information about the Ns-users mailing list