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

Re: Effective throughput



Check out tcl/ex/fq.tcl
You've got the number of segments, the segment size and the duration of the 
simulation.

        while 1 {
                global tcp$k
                if [info exists tcp$k] {
                        set tcp [set tcp$k]
                        puts "tcp$k seqno [$tcp set t_seqno_]"
                } else {
                        break
                }
                incr k
        }
 

/Anders


You wrote:
> 
> Hi!
> 
> I'm not satisfied with the raw2gp and the raw2xg and want to generate
> my own statistics from the trace file. My question is: How can I from
> the trace file maintain the effective throughput? The sequence numbers
> in the trace file doesn't appearer to be the sequence numbers used by
> the protocol! Am I wrong? Which sequence numbers are used in the
> trace file? I also thought maybe I can use a flow monitor somehow but I
> don't feel confident that parrivals and barrivals variables contain
> the effective throughput, maybe they contain the total throughput? I
> don't think the documentation is clear on this point so if someone
> would like to clarify it that would be great.  
> 
> -- 
> /Ingela
> 
> //The highway of life is always under construction. //
> 
>  	        |\      _,,,--,,_  ,)
>                 /,`.-'`'   -,  ;-;;' 
>                |,4-  ) )-,_ ) /\
>               '---''(_/--' (_/-'
>