2009 · 95 citations · 40 references
ComputingComputer EngineeringComputer ScienceParallel AlgorithmsParallel ComputingSafety EngineeringConcurrent ProgrammingMemory SafetySpeculative ExecutionConcurrent Algorithm DesignSpeculative Execution EffectsSpeculative OptimizationSpeculative Safety AnalysisSpeculative SchedulingSpeculative Task Execution
Fast track is a software speculation system that enables unsafe optimization of sequential code. It speculatively runs optimized code to improve performance and then checks the correctness of the speculative code by running the original program on multiple processors. We present the interface design and system implementation for Fast Track. It lets a programmer or a profiling tool mark fast-track code regions and uses a run-time system to manage the parallel execution of the speculative process and its checking processes and ensures the correct display of program outputs. The core of the run-time system is a novel concurrent algorithm that balances exploitable parallelism and available processors when the fast track is too slow or too fast. The programming interface closely affects the run-time support. Our system permits both explicit and implicit end markers for speculatively optimized code regions as well as extensions that allow the use of multiple tracks and user designed correctness checking. We discuss the possible uses of speculative optimization and demonstrate the effectiveness of our prototype system by examples of unsafe semantic optimization and a general system for fast memory-safety checking, which is able to reduce the checking time by factors between 2 and 7 for large sequential code on a 8-CPU system.
40
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · ACM SIGPLAN Notices · 2005 · 3.2K citations
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · 2005 · 2.3K citations
TreadMarks: distributed shared memory on standard workstations and operating systems
Pete Keleher, Anna L. Cox, Sandhya Dwarkadas et al. · 1994 · 640 citations
“Memo” Functions and Machine Learning
Donald Michie · Nature · 1968 · 554 citations
A framework for reducing the cost of instrumented code
Matthew Arnold, Barbara G. Ryder · 2001 · 366 citations · Full text