PaCo: Probability-based path confidence prediction
Kshitiz Malik,Mayank Agarwal,Vikram Dhar,Matthew I. Frank +3 more
- 24 Oct 2008
- pp 50-61
TL;DR: This work proposes an alternative path confidence predictor designed from first principles, called PaCo, that directly estimates the probability that the processor is on the goodpath, and considers contributions from all branches, both high and low confidence.
read more
Abstract: A path confidence estimate indicates the likelihood that the processor is currently fetching correct path instructions. Accurate path confidence prediction is critical for applications like pipeline gating and confidence-based SMT fetch prioritization. Previous work in this domain uses a threshold-and-count predictor, where the number of unresolved, low-confidence branches serves as an estimate of path confidence. This approach is inaccurate since it implicitly assumes that all low-confidence branches have the same mispredict rate, and that high-confidence branches never mispredict. We propose an alternative path confidence predictor designed from first principles, called PaCo, that directly estimates the probability that the processor is on the goodpath, and considers contributions from all branches, both high and low confidence. Even though it uses only modest hardware, PaCo can estimate the processorpsilas goodpath likelihood with very high accuracy, with an RMS error of 3.8%. We show that PaCo significantly outperforms threshold-and-count predictors in pipeline gating and SMT fetch prioritization. In pipeline gating, while the best conventional predictor can reduce badpath instructions executed by 7% with a small loss in performance, PaCo can reduce bad-path instructions by 32% without any performance loss. In SMT fetch prioritization, using PaCo instead of conventional path confidence predictors improves performance by up to 23%, and 5.5% on average.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Figures

Figure 3: Goodpath Likelihood when 5 
Figure 9: Reliability Diagrams for a few benchmarks. Twolf and vprRoute show high correlation between observed and predicted probabilities (the graphs for mcf, parser, vortex and place look similar to these two). Crafty shows decent correlation (graphs for bzip2 and gzip are very much like crafty). Goodpath probability is somewhat less predictable for gcc (and for gap). Finally, Figure 9(f) shows data from all benchmarks put together, indicating that the PaCo predictor is accurate across a wide variety of behaviors. 
Table 1: RMS error between Predicted and Actual Goodpath Probabilities for different approaches to estimating correct-prediction probability of a branch. 
Figure 4: The PaCo path confidence predictor contrasted with the conventional threshold-and-count predictor. 
Figure 6: Pipeline parameters. 
Figure 7: RMS error between Predicted and Actual Goodpath Probabilities. The table also shows Branch Mispredict Rates. The overall mispredict rate represents all controlflow instructions that retire (including conditional branches, jumps, indirect jumps, calls, returns etc.)
Citations
Patent
Cumulative confidence fetch throttling
Marvin A. Denman,James D. Dundas,Bradley G. Burgess,Jeff Rupley +3 more
- 15 Nov 2010
TL;DR: In this paper, a method and apparatus to utilize a fetching scheme for instructions in a processor to limit the expenditure of power caused by the speculative execution of branch instructions is provided and a computer readable storage device encoded with data for adapting a manufacturing facility to create an apparatus.
25
Storage free confidence estimation for the TAGE branch predictor
André Seznec
- 12 Feb 2011
TL;DR: It is shown that very accurate confidence estimations can be done for the branch predictions performed by the TAGE predictor by simply observing the outputs of the predictor tables.
B-Fetch: Branch Prediction Directed Prefetching for In-Order Processors
TL;DR: B-Fetch is introduced, a new technique for data prefetching which combines branch prediction based lookahead deep path speculation with effective address speculation, to efficiently improve performance in in-order processors.
18
Patent
Thread completion rate controlled scheduling
Wael El-Essawy,Lixin Zhang +1 more
- 04 Aug 2008
TL;DR: In this paper, a method, processor and processing system provide management of per-thread pipeline resource allocation in a simultaneous multi-threaded (SMT) processor by counting indications of instruction completion for each thread.
13
PaCo: Probability-based path confidence prediction
Kshitiz Malik,Mayank Agarwal,Vikram Dhar,Matthew I. Frank +3 more
- 24 Oct 2008
TL;DR: This work proposes an alternative path confidence predictor designed from first principles, called PaCo, that directly estimates the probability that the processor is on the goodpath, and considers contributions from all branches, both high and low confidence.
References
Exploiting Choice: Instruction Fetch and Issue on an Implementable Simultaneous Multithreading Processor
Dean M. Tullsen,Susan J. Eggers,Joel Emer,Henry M. Levy,Jack L. Lo,Rebecca L. Stamm +5 more
- 01 May 1996
TL;DR: This paper presents an architecture for simultaneous multithreading that minimizes the architectural impact on the conventional superscalar design, has minimal performance impact on a single thread executing alone, and achieves significant throughput gains when running multiple threads.
Computer Multiplication and Division Using Binary Logarithms
TL;DR: A method of computer multiplication and division is proposed which uses binary logarithms and an error analysis is given and a means of reducing the error for the multiply operation is shown.
565
Reliability of Subjective Probability Forecasts of Precipitation and Temperature
TL;DR: In this article, the authors describe some results of operational and experimental programmes in the United States involving subjective probability forecasts of precipitation occurrence and of maximum and minimum temperatures, which indicate that weather forecasters can formulate such forecasts in a reliable manner.
429
Dynamically Controlled Resource Allocation in SMT Processors
Francisco J. Cazorla,Alex Ramirez,Mateo Valero,Enrique Fernández +3 more
- 04 Dec 2004
TL;DR: In this article, the authors propose a dynamic resource control policy for SMT processors, which directly monitors the usage of resources by each thread and guarantees that all threads get their fair share of the critical shared resources, avoiding monopolization.
Confidence estimation for speculation control
Dirk Grunwald,Artur Klauser,Srilatha Manne,Andrew R. Pleszkun +3 more
- 16 Apr 1998
TL;DR: This paper introduces performance metrics to compare confidence estimation mechanisms, and argues that these metrics are appropriate for speculation control, and compares the performance of the different confidence estimation methods using detailed pipeline simulations.
Related Papers (5)
Brad Calder,Glenn Reinman,Dean M. Tullsen +2 more
- 01 May 1999