Parrot
Heming Cui, Jiřı Šimša, Yihong Lin et al. · 2013
Multithreaded programs are hard to get right. A key reason is that the contract between developers and runtimes grants exponentially many schedules to the runtimes. We present Parrot, a simple, practical runtime with a new contract to developers. By default, it orders thread synchronizations in the well-defined round-robin order, vastly reducing schedules to provide determinism (more precisely, deterministic synchronizations) and stability (i.e., robustness against input or code perturbations, a more useful property than determinism). When default schedules are slow, it allows developers to write intuitive performance hints in their code to switch or add schedules for speed. We believe this "meet in the middle" contract eases writing correct, efficient programs.
Cited by 106 works. doi:10.1145/2517349.2522735
Authors
References
- Evaluating MapReduce for Multi-core and Multiprocessor Systems
- Eraser
- An investigation of the Therac-25 accidents
- Estimating the efficiency of backtrack programs
- Scheduling Techniques for Concurrent Systems.
- Model checking for programming languages using VeriSoft
- Estimating the Efficiency of Backtrack Programs
- RacerX
- Learning from mistakes
- Effective distributed scheduling of parallel workloads