This invention relates to network test and measurement, and more particularly to determination of delay in round trip latency.
The ability to correctly measure Network Response Time (NRT) under atypical conditions is desirable. Such atypical conditions include: TCP traffic that does not contain multi-packet responses (i.e. multiple data packets followed by acknowledgment does not need to be present), and TCP traffic that carries protocols for which each request queues off of a response. If TCP traffic does not contain the conventionally necessary sequence of packets needed to measure NRT, current technology does not provide an adequate NRT measurement.
In accordance with the disclosure, the ability to correctly measure Network Response Time (NRT) under atypical conditions is provided. Methods and apparatus to determine the amount of delay in round trip latency for a connection where the TCP traffic does not contain multi-packet responses or may not be transaction oriented traffic is provided.
Accordingly, it is an advantage of the present disclosure to provide an improved network round trip measurement method and apparatus.
It is a further advantage of the present disclosure to provide an improved network round trip measurement that takes advantage of multiple measurements to determine an optimal value.
The subject matter of the present technology is particularly pointed out and distinctly claimed in the concluding portion of this specification. However, both the organization and method of operation, together with further advantages and embodiments thereof, may best be understood by reference to the following description taken in connection with accompanying drawings wherein like reference characters refer to like elements.
The system according to a preferred embodiment of the present invention comprises method and apparatus to correctly measure Network Response Time (NRT) under atypical conditions, including TCP traffic that does not contain multi-packet responses (i.e. multiple data packets followed by acknowledgment does not need to be present), and TCP traffic that carries protocols for which each request queues off of a response. The problem solved is that of if TCP traffic does not contain the conventionally necessary sequence of packets needed to measure NRT; it is possible, using this method or apparatus, to achieve an NRT measurement.
Referring to
At 38 the server sends Ack(3), followed by response-440 at time 42, acknowledged by client 12 with request-5/Ack(4) at 44, received at server 14 at time 46, allowing calculation of NRT2 as time 46 minus time 42. Server 16 then sends Ack(5) 48, followed by response-650 sent at time 52, and upon receipt of Request-7/Ack(4) 54 from the client at time 56, NRT3 can be calculated as time 56 minus time 52.
In the above example, which is suitably used for protocol-basis non-concurrent (transaction based) protocols, the client requests, request-3, request-5 and request-7 are triggered by receiving a response from the server, and the time between the server response and the next client request represents NRT (plus any negligible client-side processing time).
So,
NRT=TimeRequest(x+10|Ack(X)−TimeResponseX
That is, NRT is the time between a response, X, and the next conjunctive request-acknowledgment where the acknowledgment is acknowledging the server response, X.
Referring now to
This version of
An invalid NRT measurement is the time between a single data packet and its acknowledgment. However, if the invalid NRT measurement, that comes after INRT or any other NRT measurement, is less than the previous NRT measurements then it is a better metric. So, we can use the invalid NRT measurement if it is less than previous, valid, NRT measurements.
Invalid-NRT=Timeack−Timedata//where data is 1 frame
So, the Network Round Trip time is determined as the lesser of an Invalid NRT computation and any previously determined NRT.
NRT=(Invalid-NRT<Previous-NRT)?Invalid-NRT: Previous-NRT
In the diagram of
Referring now to
In operation, the network test instrument is attached to the network, and observes transmissions on the network to collect data and analyze to determine INRT and NRT values.
While plural embodiments of the technology have been shown and described, it will be apparent to those skilled in the art that many changes and modifications may be made without departing from the broader aspects. The appended claims are therefore intended to cover all such changes and modifications as fall within the true spirit and scope of the technology.