Processor acquisition of ownership of access coordinator for shared resource
First Claim
Patent Images
1. An apparatus, comprising:
- a first processor that upon a failure of an earlier attempt to directly acquire ownership of an access coordinator for a resource shared with one or more additional processors, is configured to locally determine an amount to delay a later attempt to directly acquire ownership of the access coordinator,wherein upon a failure of the later and/or a subsequent attempt to directly acquire ownership of the access coordinator, the first processor is configured to enter into an indirect waiting arrangement for ownership of the access coordinator, wherein the indirect waiting arrangement for ownership of the access coordinator involves organizing the first and the one or more additional processors waiting for ownership of the access coordinator to access separate structures to avoid interference between or among the first and the one or more additional processors.
4 Assignments
0 Petitions
Accused Products
Abstract
A processor of an apparatus in an example upon a failure of an earlier attempt to directly acquire ownership of an access coordinator for a resource shared with one or more additional processors, locally determines an amount to delay a later attempt to directly acquire ownership of the access coordinator. Upon a failure of the later and/or a subsequent attempt to directly acquire ownership of the access coordinator the processor would enter into an indirect waiting arrangement for ownership of the access coordinator.
39 Citations
23 Claims
-
1. An apparatus, comprising:
-
a first processor that upon a failure of an earlier attempt to directly acquire ownership of an access coordinator for a resource shared with one or more additional processors, is configured to locally determine an amount to delay a later attempt to directly acquire ownership of the access coordinator, wherein upon a failure of the later and/or a subsequent attempt to directly acquire ownership of the access coordinator, the first processor is configured to enter into an indirect waiting arrangement for ownership of the access coordinator, wherein the indirect waiting arrangement for ownership of the access coordinator involves organizing the first and the one or more additional processors waiting for ownership of the access coordinator to access separate structures to avoid interference between or among the first and the one or more additional processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus, comprising:
-
a first processor configured to locally determine an amount of delay for a later attempt by the first processor to directly acquire ownership of an access coordinator for a resource shared with one or more additional processors, wherein upon a completion of the amount of delay the first processor is configured to adjust a heuristic based on an occurrence of success or failure of the attempt to directly acquire ownership of the access coordinator, wherein the adjusted heuristic is to adapt a subsequent attempt by the first processor to directly acquire ownership of the access coordinator, wherein the adjusted heuristic comprises an adjusted delay time that controls an amount of delay that the first processor is to wait to make the subsequent attempt after the later attempt to directly acquire ownership of the access coordinator, in response to the first processor failing to acquire ownership of the access coordinator in the later attempt, and wherein adjusting the heuristic comprises; in response to determining that the first processor is an owner of the access coordinator upon the completion of the amount of delay for the later attempt, reduce the heuristic to reduce the adjusted delay time, and in response to determining that the first processor is behind greater than a predetermined number of other processors waiting for the access coordinator upon the completion of the amount of delay for the later attempt, increase the heuristic to increase the adjusted delay time. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. An apparatus, comprising:
-
a plurality of processors; and a computer operating system to coordinate ownership of a spinlock for a resource shared among the plurality of processors; wherein upon an occurrence of owned status of the spinlock contemporaneous with a request for ownership of the spinlock by a plural set of processors of the plurality of processors, the computer operating system is configured to allow a plural subset of processors of the plural set of processors to directly wait for ownership of the spinlock; wherein the computer operating system is configured to cause additional processors of the plural set of processors in excess of the plural subset of processors, to indirectly wait for ownership of the spinlock, wherein indirect waiting for ownership of the spinlock comprises causing the additional processors waiting for ownership of the access coordinator to access separate structures to avoid interference between or among the additional processors. - View Dependent Claims (21, 22, 23)
-
Specification