Balancing thoughput and fairness in SMT processors

Kun Luo, Jayanth Gummaraju, M. Franklin

2005 · 247 citations · 9 references

Concepts

TL;DR

Simultaneous Multithreading (SMT) pipelines execute multiple threads in parallel, and their performance hinges on how the instruction fetch unit fills shared instruction queues each cycle, prompting numerous schemes that use instruction counts and low‑confidence branch predictions to select threads. This study investigates fetch policies that balance fairness and throughput. The authors introduce fairness metrics, use pipeline system variables to design balanced fetch strategies, and evaluate several such policies. Evaluation shows that many of the proposed fetch policies achieve a favorable trade‑off between throughput and fairness.

Abstract

Simultaneous Multithreading (SMT) is an execution model that executes multiple threads in parallel within a single processor pipeline. Usually, an SMT processor uses shared instruction queues to collect instructions from the different threads. Hence, an SMT processor’s performance depends on how the instruction fetch unit fills these instruction queues every cycle. In the recent past, many schemes have been proposed for fetching instructions into the SMT pipeline. These schemes focussed on increasing the throughput by using the number of instructions and the number of low confidence branch predictions currently in the pipeline, to decide which threads to fetch from. The goal of this paper is to investigate fetch policies that find a balance between fairness and throughput. We present metrics to quantify fairness. We then discuss techniques to use a set of pipeline system variables for achieving balanced throughput and fairness. Finally, we evaluate several fetch policies. Our evaluation confirms that many of our fetch policies provide a good balance between throughput and fairness.

References

9