Inter-processor competition for a shared resource
First Claim
1. In a data-storage system having resources to be shared among processors, a method for asserting exclusive access to a resource by a first processor, said method comprising:
- selecting an extent of a first interval on the basis of a time required for the processors to read from and write to a location accessible to the processors;
determining whether there exists a competing claim to exclusive access to said resource by another processor;
posting, at the location accessible to the processors, a claim to exclusive access to said resource by said first processor;
determining whether there exists a competing claim to exclusive access to said resource by another processor, following lapse of said first interval that begins with the posting of the claim; and
determining whether there exists a competing claim to exclusive access to said resource by another processor, following lapse of a second interval that begins after the lapse of the first interval, wherein the second interval is selected on the basis of an expected usage time for said resource.
9 Assignments
0 Petitions
Accused Products
Abstract
In a multi-processor system in which several processors compete for exclusive use of a shared resource, a claimant processor asserts exclusive access to a resource by determining whether there exists a competing claim to exclusive access to said resource and then posting a claim to exclusive access to said resource. Following lapse of an interval, the claimant processor then determines whether there exists a competing claim to exclusive access to said resource. Depending on whether or not such a claim exists, the claimant processor then either takes control of the resource or makes another attempt after waiting.
32 Citations
18 Claims
-
1. In a data-storage system having resources to be shared among processors, a method for asserting exclusive access to a resource by a first processor, said method comprising:
-
selecting an extent of a first interval on the basis of a time required for the processors to read from and write to a location accessible to the processors; determining whether there exists a competing claim to exclusive access to said resource by another processor; posting, at the location accessible to the processors, a claim to exclusive access to said resource by said first processor; determining whether there exists a competing claim to exclusive access to said resource by another processor, following lapse of said first interval that begins with the posting of the claim; and determining whether there exists a competing claim to exclusive access to said resource by another processor, following lapse of a second interval that begins after the lapse of the first interval, wherein the second interval is selected on the basis of an expected usage time for said resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium having encoded thereon software for causing a first processor in a set of processors to assert exclusive access to a resource accessible by said set of processors, said software comprising instructions for:
-
selecting an extent of a first interval on the basis of a time required for said processors to read from and write to a location accessible to said processors determining whether there exists a competing claim to exclusive access to said resource by another processor; posting, at the location accessible to said processors, a claim to exclusive access to said resource by the first processor; determining whether there exists a competing claim to exclusive access to said resource following lapse of said first interval that begins with the posting of the claim; and determining whether there exists a competing claim to exclusive access to said resource following lapse of a second interval that begins after the lapse of said first interval, wherein the second interval is selected on the basis of an expected usage time for said resource. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification