[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Goodput calculation for TCP connections...
No. While retransmmiting, old sequence number is used. In ns,
the unit of the sequence number is packet; in real world,
the unit is byte. That's how TCP sliding-window works.
On Tue, May 29, 2001 at 10:08:44AM +1000, Huan Pham wrote:
> The reason is that, some packets get lost when being transmitted or droped at
> queue while the largest sequence number is increased each time, when there's
> new packet to send, no matter if the packet is transmitted successfully or
> not.
>
> For TCP traffic, if a packet get lost and is retransmitted, it uses a new
> sequence number from the previous value (IS THAT CORRECT?)
>
> If you use largest sequence number to calculate the goodput, you will get a
> value that higher than the actuall goodput.
>
> My solution is to use the total bytes received successfully to get the
> goodput.