Home | Links | Contact Us | More About Intellectual Property | Bookmark
Search patents:
Home Processing Data Method-and-mechanism-for-guaranteeing-timeliness-of-programs

 Access flooring module
The object of the invention is to provide an electrical connector assembly for use in an access ...


 Device for the electrical connection of shieldings of multi-pole plugs to the grounded potential layer of a printed circuit board
It is an object of the present invention to provide shielding plates for a plug that not only ...


 Memory array having a plurality of address partitions
OF THE INVENTION Reference is now made to FIG. 3 which shows a one-bit-wide memory circuit 2 ...


 Super scalar computer architecture using remand and recycled general purpose register to manage out-of-order execution of instructions
The present invention defines a super scalar computer architecture suitable to execute multiple ...


 Very high speed duplicator with limitless finishing function
We claim: 1. In a reproduction system for producing copies from a set of document sheets of a multi-...


 Coin handling device
The present invention is concerned with providing a gate for separating coins according to ...


 Wide band automatic gain control with limiting amplifiers
Accordingly it is an object of this invention to provide a high speed communication system having ...


 Television receiver having an automatic radiofrequency resonant circuit adjustment circuit
The invention has for its object to provide an adjustment circuit which is insensitive to the ...


 Transfer device for use in retention type electrophotographic copying machine
The present invention has for its object to provide a novel and useful transfer device for use in a ...


 Electronic alignment for a paper processing machine
In one aspect of this invention, method and means are provided for causing an image receiving sheet ...


 Method and mechanism for guaranteeing timeliness of programs

Details
Inventors: Matena, Vladimir;
Assignee: Sun Microsystems, Inc. (Mountain View, CA)
Primary Examiner: Chung; Phung
Assistant Examiner: Baderman; Scott T.
Attorney, Agent or Firm: Blakely Sokoloff Taylor & Zafman

In order to prevent data corruption and inconsistency caused by incorrect assumption regarding a presumably failed node and/or program, a fail-fast timer mechanism enforces deadlines, i.e. enforces timeliness in programs. For example, given a program which needs to ensure a given code segment is executed within a specified deadline, the program arms a fail-fast timer before executing the code segment. After completing the execution of the code segment, the program disarms the fail-fast timer. If the program executes too slowly and the fail-fast timer expires before the fail-fast timer has been disarmed, the entire node is forced to stop very quickly (i.e. the node fails fast). The fail-fast timer of the present invention also triggers if the program exits before disarming a previously armed timeout.

DETAILED DESCRIPTION A method and an apparatus are disclosed for preventing data corruption in a distributed system caused by an incorrect assumption by a node or a program in the distributed system that another node or a program has crashed.
If a given node or program incorrectly assumes that another node or program has crashed, both nodes or programs (i.
e.
the node/program which has presumably "crashed" and the node/program which takes over for the presumably "crashed" node/program) may transmit data of their own without knowledge that the other is also simultaneously transmitting data.
Such data from the two nodes or programs may be inconsistent which may lead to the corruption of data.
In order to prevent data corruption and inconsistency caused by an incorrect assumption regarding a presumably failed node and/or program, a fail-fast timer mechanism of the present invention enforces program execution deadlines, i.
e.
a program must complete execution of an operation within a pre-determined time or the program is forced to fail.
For example, given a program which needs to ensure a given code segment is executed within a specified deadline, the program arms a fail-fast timer before executing the code segment.
After completing the execution of the code segment, the program may disarm the fail-fast timer.
If the program executes too slowly and the fail-fast timer expires before the fail-fast timer has been disarmed, the entire node is forced to stop very quickly (i.
e.
the node fails fast).
The fail-fast timer of the present invention also triggers if the program exits before disarming a previously armed timeout.
By ensuring that a given node or program fails fast in a specified period of time, the present invention guarantees that only one node or program will respond to requests for data by another program.
A reliable fail-fast timer of the present invention may be implemented by an operating system (OS) kernel and some hardware support.
There are many advantages of the present invention, for example, the present invention's fail-fast timer mechanism can be implemented using off the shelf hardware and operating system



Related patents
  Method for wafer scale testing of redundant integrated circuit dies
The present invention provides an improved system and method for testing redundant integrated circuit dies formed on a semiconductor wafer. The test system and method of ...
  Correlation computing device for image signal
With a view to solve the prior art problems pointed out above, it is an object of the present invention to provide an improved correlation computing device which can ...
  Video imaging device in a teleconferencing system
Thus, the present invention is directed to a device for use with a teleconferencing station to enable one teleconference participant to transmit information contained in ...
  Test cord for telephone circuits
OF THE DISCLOSED EMBODIMENT In accordance with the invention, the device, generally indicated by reference character 10, is illustrated in conjunction with a protector ...
  Method and system for capturing and controlling access to information in a coupling facility
The shortcomings of the prior art are overcome and additional advantages are provided through the provision of a method for capturing data in a data processing system ...
  Graphics tablet using a permuted trace ordering scheme
In accordance with the preferred embodiment of the present invention, a graphics tablet is presented. A plurality of wires are embedded on the graphics tablet. These ...
  Circuit for synchronizing an oscillator to a pulse train
What is claimed is: 1. An electric circuit comprising a voltage-controlled oscillator having an output; means for connecting to said oscillator output to provide clock ...
  Clock regeneration circuit employing digital phase locked loop
The present invention provides a clock regeneration network for phase locking an internal clock to both incoming video data pulses and horizontal or vertical ...
  Electrical apparatus with plug-in modules
What is claimed is: 1. Electrical apparatus including an enclosure, at least one circuit module adapted to be inserted and removed from the enclosure, said circuit ...
  Safety plug with prong locks
In accordance with the present invention there is provided an electrical plug for attachment to one end of an electrical power cord having at least two electrical wires ...

6.654

Archive: All patents - Links

Copyright (c)2006 Eipa-patents.org - All rights reserved