Cut-off Theorems for the PV-model
- LRM
We prove cut-off results for deadlocks and serializability of a -thread run in parallel with itself: For a thread which accesses a set of resources, each with a maximal capacity , the PV-program , where copies of are run in parallel, is deadlock free for all if and only if is deadlock free where . This is a sharp bound: For all and finite there is a thread using these resources such that has a deadlock, but does not for . Moreover, we prove a more general theorem: There are no deadlocks in if and only if there are no deadlocks in for any subset . For , is serializable for all if and only if is serializable. For general capacities, we define a local obstruction to serializability. There is no local obstruction to serializability in for all if and only if there is no local obstruction to serializability in for . The obstructions may be found using a deadlock algorithm in . These serializability results also have a generalization: If there are no local obstructions to serializability in any of the -dimensional sub programs, , then is serializable.
View on arXiv