cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
597
Views
0
Helpful
1
Replies

TCP Connection Timeout (Calculating) - CONFUSED

kfarrington
Level 3
Level 3

Hello all, (bit of an concept question)

I have been asked to provide statistics on how long a TCP session for certain clients on various regions of our global network would remain open for before the TCP session times out (when data is in transit). This is using Microsoft TCP stacks as all client/server machines are running win2k with max-tcp-retransmissions set to 5. This is for a very time sensitive pricing application.

TCP RTO Timer. (RFC2988)

TCP retransmissions are based on RTO calulations.

At TCP startup, the RTO is set to 3 secs, (this is when no RTT measurement has been made)

RTO calulations is based on SRTT and RTTVAR values. "RTO = SRTT + max (G, K*RTTVAR)"

(2.2) When the first RTT measurement R is made, the host MUST set

SRTT <- R

RTTVAR <- R/2

RTO <- SRTT + max (G, K*RTTVAR)

where K = 4.

G is Clock Granularity.

Two questions :-

How often is RTO calculated within a TCP session, I assume that the RTO changes with every TCP ACK back from the receiver to the sender. Could someone please claify this.

What is G set to in most TCP implementations? Surely it has to be 1 or more? Can someone explain this component for me?

Many thanks for your help.

Ken

1 Reply 1

kfarrington
Level 3
Level 3

sorry, almost forgot,

in the calculation :-

RTO <- SRTT + max (G, K*RTTVAR)

I cant also understand the "max" statement. I (once again) can only assume, that the (G, K*RTTVAR) is calculated a few times and held somewhere?

Man this is confusing :)

Review Cisco Networking for a $25 gift card