Cut-off Theorems for the PV-model
Abstract
We prove cut-off results for deadlocks and serializability of a PV-thread T run in parallel with itself: For a PV thread T which accesses a set R of resources, each with a maximal capacity :R, the PV-program Tn, where n copies of T are run in parallel, is deadlock free for all n if and only if TM is deadlock free where M=r∈R(r). This is a sharp bound: For all :R and finite R there is a thread T using these resources such that TM has a deadlock, but Tn does not for n<M. Moreover, we prove a more general theorem: There are no deadlocks in p=T1|T2|·s |Tn if and only if there are no deadlocks in Ti1|Ti2|·s |TiM for any subset \i1,…,iM\⊂ [1:n]. For (r) 1, Tn is serializable for all n if and only if T2 is serializable. For general capacities, we define a local obstruction to serializability. There is no local obstruction to serializability in Tn for all n if and only if there is no local obstruction to serializability in TM for M=r∈R(r)+1. The obstructions may be found using a deadlock algorithm in TM+1. These serializability results also have a generalization: If there are no local obstructions to serializability in any of the M-dimensional sub programs, Ti1|Ti2|·s |TiM, then p is serializable.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.