Re: Network timeout estimation



"dondora" <koninja@xxxxxxxxxxx> wrote in message
news:d3778c32-a874-4377-875c-f7082fe193c1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there.

I need your help.
I'm coding a simple program which provides reliable transmission using
udp as a homework.
I'm going to use expressions used in TCP timeout estimation.
Let me show those expressions.

EstimatedRTT = (1 - a) * EstimatedRTT + a * SampleRTT
(the recommended a = 0.125)
DevRTT = (1 - b) * DevRTT + b * |SampleRTT - EstimatedRTT|
(the recommended b = 0.25)
TimeoutInterval = EstimatedRTT + 4 * DevRTT

What I really want is TimeoutInterval. But to get it, I have to know
EstimatedRTT and DevRTT,
and the real problem is at initial time, at which time nothing has
done like sening a packet and receiving a ACK)
I don't know what EstimatedRTT is to be and what DevRTT is to be.

Can you help me to solve this problem? I'll appreciate that. I really
need your help~!~! please~!~!

Well, for the first packet you should probably make it some high value as
you'll be waiting for the other end to acknowledge, open the socket, prepare
and start sending. Such as 5 seconds or something. Just plug some number
in initially and see how it works, if it it's too long or two short,
manipulate it.


.



Relevant Pages

  • Re: Network timeout estimation
    ... I'm going to use expressions used in TCP timeout estimation. ... I don't know what EstimatedRTT is to be and what DevRTT is to be. ...
    (comp.programming)
  • Network timeout estimation Options
    ... I'm going to use expressions used in TCP timeout estimation. ... and the real problem is at initial time, ... I don't know what EstimatedRTT is to be and what DevRTT is to be. ...
    (comp.os.linux.networking)
  • Network timeout estimation
    ... I'm going to use expressions used in TCP timeout estimation. ... and the real problem is at initial time, ... I don't know what EstimatedRTT is to be and what DevRTT is to be. ...
    (comp.programming)