Dynamically Improving Branch Prediction Accuracy Between Contexts

05/02/2018
by   Adam Auten, et al.
0

Branch prediction is a standard feature in most processors, significantly improving the run time of programs by allowing a processor to predict the direction of a branch before it has been evaluated. Current branch prediction methods can achieve excellent prediction accuracy through global tables, various hashing methods, and even machine learning techniques such as SVMs or neural networks. Such designs, however, may lose effectiveness when attempting to predict across context switches in the operating system. Such a scenario may lead to destructive interference between contexts, therefore reducing overall predictor accuracy. To solve this problem, we propose a novel scheme for deciding whether a context switch produces destructive or constructive interference. First, we present evidence that shows that destructive interference can have a significant negative impact on prediction accuracy. Second, we present an extensible framework that keeps track of context switches and prediction accuracy to improve overall accuracy. Experimental results show that this framework effectively reduces the effect of destructive interference on branch prediction.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/18/2020

Load Driven Branch Predictor (LDBP)

Branch instructions dependent on hard-to-predict load data are the leadi...
research
07/28/2022

Identifying and Exploiting Sparse Branch Correlations for Optimizing Branch Prediction

Branch prediction is arguably one of the most important speculative mech...
research
04/01/2018

A Survey of Techniques for Dynamic Branch Prediction

Branch predictor (BP) is an essential component in modern processors sin...
research
03/24/2023

Evidence-aware multi-modal data fusion and its application to total knee replacement prediction

Deep neural networks have been widely studied for predicting a medical c...
research
04/13/2022

Improving Differential-Neural Distinguisher Model For DES, Chaskey, and PRESENT

In CRYPTO'19, Gohr proposed a new cryptanalysis strategy using machine l...
research
06/20/2019

Improving Branch Prediction By Modeling Global History with Convolutional Neural Networks

CPU branch prediction has hit a wall--existing techniques achieve near-p...
research
10/06/2019

Clustering case statements for indirect branch predictors

We present an O(nlogn) algorithm to compile a switch statement into jump...

Please sign up or login with your details

Forgot password? Click here to reset