Method and apparatus for implementing speculative credit flow control
AssigneeInternational Business Machines Corporation
InventorsScott Clark, Jeffrey Ruedinger
Life of this patent
Estimating the term…
Abstract
A method and apparatus are provided for implementing speculative credit flow control in a data communications link. A receiving node selects and sends a number of speculative credits as part of a total number of credits sent to a transmitting node. The receiving node receives and processes communications from the transmitting node. The receiving node dynamically determines when a change is needed for the number of speculative credits and updates the number of speculative credits. The number of speculative credits is selected for optimizing performance on the communications link.
Claims19
A method for implementing speculative credit flow control in a data communications link including a transmitting node and a receiving node, said method performed by the receiving node comprising the steps of:
- selecting a number of speculative credits and sending a total number of credits to the transmitting node;
- said total number of credits including said selected number of speculative credits;
- receiving and processing communications from the transmitting node;
- dynamically determining when a change of the number of speculative credits is needed;
- and
- updating said selected number of speculative credits and sending said total number of credits to the transmitting node including an updated selected number of speculative credits.
A computer program product for implementing speculative credit flow control in a data communications link including a transmitting node and a receiving node;
- said computer program product including instructions executed by the receiving node to cause the receiving node to perform the steps comprising:
- selecting a number of speculative credits and sending a total number of credits to the transmitting node;
- said total number of credits including said selected number of speculative credits;
- receiving and processing communications from the transmitting node;
- dynamically determining when a change of the number of speculative credits is needed;
- and
- updating said selected number of speculative credits and sending said total number of credits to the transmitting node including an updated selected number of speculative credits.
Apparatus for implementing speculative credit flow control in a data communications link a transmitting node and a receiving node, comprising:
- packet processing logic for receiving and processing communications from the transmitting node;
- a credit generation function coupled to said packet processing logic for selecting a number of speculative credits;
- transmit logic coupled to said credit generation function for sending a total number of credits to the transmitting node;
- said total number of credits including said selected number of speculative credits;
- said credit generation function for dynamically determining when a change of the number of speculative credits is needed;
- and
- said credit generation function for updating said selected number of speculative credits and sending said total number of credits to the transmitting node including an updated selected number of speculative credits.
Dependencies are inferred from the claim text.