Performance neutral heartbeat for a multi-tasking multi-processor environment
First Claim
1. A computer program product for providing a performance neutral heartbeat in a computer communication system having a communications link, the computer program product comprising:
- a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
maintaining a send flag;
maintaining a receive flag;
determining that a heartbeat timer has activated;
posting a plurality of system heartbeats;
for each system heartbeat of the plurality of system heartbeats;
checking a state of the send flag to determine if packets have been sent since a prior heartbeat timer activation;
checking a state of the receive flag to determine if packets have been received since a prior heartbeat timer activation, wherein each subsequent system heartbeat of the plurality of system heartbeats includes an identification of an increasing length of time since receipt of a last packet; and
in response to a passage of a predetermined number of system heartbeats, declaring the communications link not viable and recovering the communications link.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product, apparatus and method for providing a performance neutral heartbeat in a computer communication system, the computer program product including a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method including maintaining a send flag, maintaining a receive flag, determining that a heartbeat timer has activated, checking a state of the send flag to determine if packets have been sent since a prior heartbeat timer activation and checking a state of the receive flag to determine if packets have been received since a prior heartbeat timer activation.
62 Citations
20 Claims
-
1. A computer program product for providing a performance neutral heartbeat in a computer communication system having a communications link, the computer program product comprising:
a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; maintaining a send flag; maintaining a receive flag; determining that a heartbeat timer has activated; posting a plurality of system heartbeats; for each system heartbeat of the plurality of system heartbeats; checking a state of the send flag to determine if packets have been sent since a prior heartbeat timer activation; checking a state of the receive flag to determine if packets have been received since a prior heartbeat timer activation, wherein each subsequent system heartbeat of the plurality of system heartbeats includes an identification of an increasing length of time since receipt of a last packet; and in response to a passage of a predetermined number of system heartbeats, declaring the communications link not viable and recovering the communications link. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A performance neutral heartbeat apparatus for a computer communication system, the apparatus comprising:
-
a communication handler; a send operation residing on the communication handler and configured to maintain and set a data sent flag; a receive operation residing on the communication handler and configured to maintain and set a data received flag; and a timer handler function coupled to the data sent flag and the data receive flag, the timer handler function configured to; post a plurality of system heartbeats; for each system heartbeat of the plurality of system heartbeats; check a state of the send flag to determine if packets have been sent since a prior heartbeat timer activation; check a state of the receive flag to determine if packets have been received since a prior heartbeat timer activation, wherein each subsequent system heartbeat of the plurality of system heartbeats includes an identification of an increasing length of time since receipt of a last packet; and in response to a passage of a predetermined number of system heartbeats, declare the communications link not viable and recover the communications link. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method for providing a performance neutral heartbeat in a computer communication system having a communications link, the method comprising:
-
maintaining a send flag; maintaining a receive flag; determining that a heartbeat timer has activated; posting a plurality of system heartbeats; for each system heartbeat of the plurality of system heartbeats; checking a state of the send flag to determine if packets have been sent since a prior heartbeat timer activation; checking a state of the receive flag to determine if packets have been received since a prior heartbeat timer activation, wherein each subsequent system heartbeat of the plurality of system heartbeats includes an identification of an increasing length of time since receipt of a last packet; and in response to a passage of a predetermined number of system heartbeats, declaring the communications link not viable and recovering the communications link. - View Dependent Claims (17, 18, 19, 20)
-
Specification