IP Library Granted Patent US 8,730,799
Granted Patent B2
US 8,730,799 · App. 13/040,214 · Granted May 20, 2014

Dynamic adjustment of receive window utilized by a transmitting device

Inventors: Cheng Jin (Pasadena, CA); George S. Lee (San Marino, CA); Steven Low (La Canada, CA); Darren Ng (Pasadena, CA); Ryan Witt (New York, NY)
Assignee: Akamai Technologies, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,730,799
App. No.
13/040,214
Granted
May 20, 2014
Kind
B2
Abstract

A method of controlling size of a receive window includes, at a transmitting device, transmitting packets over a communication channel from the transmitting device to a receiver, receiving acknowledgment packets from the receiver corresponding to the transmitted packets, determining a backlog parameter for the receiver in accordance with a parameter value in the received acknowledgment packets, resetting the size of the receive window in accordance with a function of a current size of the receive window and the backlog parameter, and after the resetting, transmitting packets over the communication channel from the transmitting devices to the receiver in accordance with the reset size of the receive window.

Claims (81)

1. A method of controlling size of a receive window, comprising:

at a transmitting device:

transmitting packets over a communication channel from the transmitting device to a receiver;

receiving acknowledgment packets from the receiver corresponding to the transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size;

determining a backlog parameter for the receiver in accordance with a difference between the advertised receive window size and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver;

resetting the size of the receive window in accordance with a function of a current size of the receive window and the backlog parameter; and

after the resetting, transmitting packets over the communication channel from the transmitting device to the receiver in accordance with the size of the receive window.

2. The method of claim 1 , wherein the receive window has a dynamically determined size, distinct from the advertised receive window size received in the acknowledgment packets from the receiver.

3. The method of claim 1 , including:

determining a current round trip time for the transmitted packets; and

resetting the size of the receive window in accordance with a scaling factor, the current round trip time, the current size of the receive window and the backlog parameter.

4. The method of claim 3 , including determining the scaling factor, wherein the scaling factor is a nominal round trip time.

5. The method of claim 3 , including determining the scaling factor, wherein when the backlog parameter's value corresponds to a backlog at the receiver that is greater than a predefined threshold, the scaling factor has a first value, and when the backlog parameter's value corresponds to a backlog at the receiver that is less than the predefined threshold, the scaling factor has a second value that is less than the first value.

6. The method of claim 1 , wherein the resetting includes maintaining the current size of the receive window when the backlog parameter is within a predefined value range.

7. The method of claim 1 , including resetting the size of the receive window only once every other round trip time.

8. The method of claim 1 , including resetting the size of the receive window periodically.

9. The method of claim 1 , including determining a congestion window size in accordance with one or more measurements of network congestion, and determining a transmission window size in accordance with both the congestion window size and the receive window size.

10. The method of claim 1 , wherein the predefined fraction has a value between 0 and 1.

11. An apparatus for controlling size of a receive window, the apparatus comprising:

a transceiver to transmit packets over a communication channel to a receiver, and to receive acknowledgment packets from the receiver corresponding to the transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size;

one or more processors; and

memory storing instructions to be executed by the one or more processors, the instructions to:

determine a backlog parameter for the receiver in accordance with a difference between the advertised receive window size and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver;

reset the size of the receive window in accordance with a function of a current size of the receive window and the backlog parameter; and

after the receive window size is reset, transmit packets over the communication channel to the receiver in accordance with the reset size of the receive window.

12. The apparatus of claim 11 , further including instructions to:

determine a current round trip time for the transmitted packets; and

reset the size of the receive window in accordance with a scaling factor and the current round trip time.

13. The apparatus of claim 12 , further including instructions to:

determine the scaling factor, wherein the scaling factor is a nominal round trip time.

14. The apparatus of claim 12 , further including instructions to:

determine the scaling factor, wherein when the backlog parameter's value corresponds to a backlog at the receiver that is greater than a predefined threshold, the scaling factor has a first value, and when the backlog parameter's value corresponds to a backlog at the receiver that is less than the predefined threshold, the scaling factor has a second value that is less than the first value.

15. The apparatus of claim 11 , wherein the instructions to reset the size of the receive window include instructions to maintain a current size of the receive window when the backlog parameter is within a predefined value range.

16. The apparatus of claim 11 , wherein the instructions to reset the size of the receive window are executed only once every other round trip time.

17. The apparatus of claim 11 , wherein the instructions to reset the size of the receive window are executed periodically.

18. The apparatus of claim 11 , further including instructions to:

determine a congestion window size in accordance with one or more measurements of network congestion, and determine a transmission window size in accordance with both the congestion window size and the receive window size.

19. The apparatus of claim 11 , wherein the predefined fraction has a value between 0 and 1.

20. A non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of an apparatus that includes a transceiver to transmit packets over a communication channel to a receiver, and to receive acknowledgment packets from the receiver corresponding to the transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size, wherein the one or more programs include instructions for:

determining a backlog parameter for the receiver in accordance with a difference between the advertised receive window size and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver received by the apparatus;

resetting the size of a receive window in accordance with a function of a current size of the receive window and the backlog parameter; and

after the receive window size is reset, transmitting packets over the communication channel to the receiver in accordance with the reset size of the receive window.

21. The non-transitory computer readable storage medium of claim 20 , wherein the one or more programs include instructions for:

determining a current round trip time for the transmitted packets; and

resetting the size of the receive window in accordance with a scaling factor and the current round trip time.

22. The non-transitory computer readable storage medium of claim 21 , wherein the one or more programs include instructions for determining the scaling factor, wherein the scaling factor is a nominal round trip time.

23. The non-transitory computer readable storage medium of claim 21 , wherein the one or more programs include instructions for determining the scaling factor, wherein when the backlog parameter's value corresponds to a backlog at the receiver that is greater than a predefined threshold, the scaling factor has a first value, and when the backlog parameter's value corresponds to a backlog at the receiver that is less than the predefined threshold, the scaling factor has a second value that is less than the first value.

24. The non-transitory computer readable storage medium of claim 20 , wherein the instructions for resetting include instructions for maintaining the current size of the receive window when the backlog parameter is within a predefined value range.

25. The non-transitory computer readable storage medium of claim 20 , wherein the one or more programs include instructions for resetting the size of the receive window only once every other round trip time.

26. The non-transitory computer readable storage medium of claim 20 , wherein the one or more programs include instructions for resetting the size of the receive window periodically.

27. The non-transitory computer readable storage medium of claim 20 , wherein the one or more programs include instructions for: determining a congestion window size in accordance with one or more measurements of network congestion, and determining a transmission window size in accordance with both the congestion window size and the receive window size.

28. The non-transitory computer readable storage medium of claim 20 , wherein the predefined fraction has a value between 0 and 1.

29. A method of controlling transmission of messages from a sender to a recipient over a network, comprising:

at a transmitting device:

receiving acknowledgment packets from the receiver corresponding to transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size;

determining a backlog parameter for the receiver in accordance with a difference between the advertised receive window size packets and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver;

determining a queuing delay in accordance the received acknowledgment packets;

resetting a size of a congestion window in accordance with a function of a current size of the congestion window and a factor proportional to the queuing delay;

resetting a size of a receive window in accordance with a function of a current size of the receive window and the backlog parameter, wherein the receive window has a dynamically determined size, distinct from the advertised receive window size in the acknowledgment packets received from the receiver;

comparing the size of the congestion window and the size of the receive window;

resetting a size of a network window in accordance with the smaller of the size of the congestion window and the size of the receive window; and

transmitting packets over the network to the recipient in accordance with the size of the network window.

30. An apparatus for controlling transmission of messages from a sender to a recipient over a network, comprising:

one or more processors; and

memory that stores one or more programs for execution by the one or more processors, the one or more programs including instructions for:

receiving acknowledgment packets from the receiver corresponding to transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size;

determining a backlog parameter for the receiver in accordance with a difference between the advertised receive window size and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver;

determining a queuing delay in accordance the received acknowledgment packets;

resetting a size of a congestion window in accordance with a function of a current size of the congestion window and a factor proportional to the queuing delay;

resetting a size of a receive window in accordance with a function of a current size of the receive window and the backlog parameter, wherein the receive window has a dynamically determined size, distinct from the advertised receive window size in the acknowledgment packets received from the receiver;

comparing the size of the congestion window and the size of the receive window;

resetting a size of a network window in accordance with the smaller of the size of the congestion window and the size of the receive window; and

transmitting packets over the network to the recipient in accordance with the size of the network window.

31. A non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of an apparatus that includes a transceiver to transmit packets over a network to a receiver, and to receive acknowledgment packets from the receiver corresponding to the transmitted packets, the received acknowledgement packets from the receiver including an advertised receive window size, wherein the one or more programs include instructions for:

determining a backlog parameter for the receiver in accordance with a difference between the advertised receive window size and a predefined fraction of a receive buffer size, the receive buffer size corresponding to a size, or estimated size, of a receive buffer in the receiver;

determining a queuing delay in accordance the received acknowledgment packets;

resetting a size of a congestion window in accordance with a function of a current size of the congestion window and a factor proportional to the queuing delay;

resetting a size of a receive window in accordance with a function of a current size of the receive window and the backlog parameter, wherein the receive window has a dynamically determined size, distinct from the advertised receive window size in the acknowledgment packets received from the receiver;

comparing the size of the congestion window and the size of the receive window;

resetting a size of a network window in accordance with the smaller of the size of the congestion window and the size of the receive window; and

transmitting packets over the network to the recipient in accordance with the size of the network window.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2011
From: JIN, CHENG; LEE, GEORGE S.; LOW, STEVEN; NG, DARREN; WITT, RYAN
To: FASTSOFT, INC.
Reel/Frame 026607/0308 →
Continuity (2)
Provisional Application 61310244 · Mar 3, 2010
Related Publication 20110216650A1 · Sep 8, 2011