Efficient system-enforced deterministic parallelism
Abstract
Deterministic execution offers many benefits for debugging, fault tolerance, and security. Current methods of executing parallel programs deterministically, however, often incur high costs, allow misbehaved software to defeat repeatability, and transform time-dependent races into input-or path-dependent races without eliminating them. We introduce a new parallel programming model addressing these issues, and use Determinator, a proof-of-concept OS, to demonstrate the model's practicality. Determinator's microkernel application programming interface (API) provides only "shared-nothing" address spaces and deterministic interprocess communication primitives to make execution of all unprivileged code---well-behaved or not---precisely repeatable. Atop this microkernel, Determinator's user-level runtime offers a private workspace model for both thread-level and process-level parallel programming. This model avoids the introduction of read/write data races, and converts write/write races into reliably detected conflicts. Coarse-grained parallel benchmarks perform and scale comparably to non-deterministic systems, both on multicore PCs and across nodes in a distributed cluster.
Document Details
- Document Type
- Pub Defense Publication
- Publication Date
- May 01, 2012
- Source ID
- 10.1145/2160718.2160742
Entities
People
- Amittai Aviram
- Bryan Ford
- Sen Hu
- Shu-chun Weng
Organizations
- Division of Computer and Network Systems
- Office of Naval Research
- Yale University