1993 Proceedings Real-Time Systems Symposium
DOI: 10.1109/real.1993.393505
|View full text |Cite
|
Sign up to set email alerts
|

Queuing spin lock algorithms to support timing predictability

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
49
0

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 52 publications
(49 citation statements)
references
References 7 publications
0
49
0
Order By: Relevance
“…To avoid long non-preemptable sections, prior work has explored the design and implementation of preemptable spin locks [3,12,19], where busy-waiting jobs can be preempted at any time and only the actual critical sections are executed non-preemptably. The primary benefit of preemptable spinning is that the maximum non-preemptable section length is independent of the number of processors (which, given rising core counts, is highly desirable), albeit at the cost of increased worst-case blocking, which arises because preempted jobs must "reissue" their lock requests after a preemption (e.g., in FIFO-ordered spin locks, preempted jobs must re-queue again at the end of the queue [3,12]). While preemptable spinning may be unavoidable in demanding latencysensitive applications, no analysis of the associated increase in blocking has been proposed to date, which renders such locks unsafe in the context of predictable hard real-time systems.…”
Section: A Motivation: Spin Locks In Theory and Practicementioning
confidence: 99%
See 2 more Smart Citations
“…To avoid long non-preemptable sections, prior work has explored the design and implementation of preemptable spin locks [3,12,19], where busy-waiting jobs can be preempted at any time and only the actual critical sections are executed non-preemptably. The primary benefit of preemptable spinning is that the maximum non-preemptable section length is independent of the number of processors (which, given rising core counts, is highly desirable), albeit at the cost of increased worst-case blocking, which arises because preempted jobs must "reissue" their lock requests after a preemption (e.g., in FIFO-ordered spin locks, preempted jobs must re-queue again at the end of the queue [3,12]). While preemptable spinning may be unavoidable in demanding latencysensitive applications, no analysis of the associated increase in blocking has been proposed to date, which renders such locks unsafe in the context of predictable hard real-time systems.…”
Section: A Motivation: Spin Locks In Theory and Practicementioning
confidence: 99%
“…The seminal work on efficient, list-based spin locks with FIFO semantics is due to Mellor-Crummey and Scott [22]. Based on their technique, priority-ordered variants for use in real-time systems were later developed [12,18,21], as were extensions that allow spinning jobs to be preempted [3,12,19]. Most preemptable spin locks, and especially list-based spin locks, require OS support to reliably detect preempted jobs [19].…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…In this case, its overall RMR time complexity for entering and exiting its critical section is O(k). By defining the renaming tree's height to be Θ(log N ), the 6 In the conference version of this paper [3], we presented a DSM algorithm as a direct transformation of Algorithm G-CC. We later discovered that an additional "if " clause is necessary, as explained here.…”
Section: Theorem 1 Using Any Fetch-and-φ Primitive Of Rank R ≥ 2 Stamentioning
confidence: 99%
“…Unfortunately, non-preemptive spinlocks can cause unacceptable delays for latency-sensitive workloads because tasks may remain non-preemptive for prolonged times. While it is possible to reduce the negative effects by allowing spinning tasks to remain preemptive (e.g., see [2,20,35]), critical sections are still executed non-preemptively in such spinlocks and thus have a major impact on latency, not unlike the priority-boosting of critical sections under the MPCP.…”
Section: Introductionmentioning
confidence: 99%