Title :
Fairness and Throughput in Switch on Event Multithreading
Author :
Gabor, Ron ; Weiss, Shlomo ; Mendelson, Avi
Author_Institution :
Tel Aviv Univ.
Abstract :
The need to reduce power and complexity will increase the interest in switch on event multithreading (coarse grained multithreading). Switch on event multithreading is a low power and low complexity mechanism to improve processor throughput by switching threads on execution stalls. Fairness may, however, become a problem in a multithreaded processor. Unless fairness is properly handled, some threads may starve while others consume all of the processor cycles. Heuristics that were devised in order to improve fairness in simultaneous multithreading are not applicable to switch on event multithreading. This paper defines the fairness metric using the ratio of the individual threads´ speedups, and shows how it can be enforced in switch on event multithreading. Fairness is controlled by forcing additional thread switch points. These switch points are determined dynamically by runtime estimation of the single threaded performance of each of the individual threads. We analyze the impact of the fairness enforcement mechanism on throughput. We present simulation results of the performance of switch on event multithreading. Switch on event multithreading achieves an average speedup over single thread of 24% when no fairness is enforced. In this case, over a third of our runs achieved poor fairness in which one thread ran extremely slowly (10 to 100 times slower than its single thread performance) while the other thread´s performance was hardly affected. By using the proposed mechanism we can guarantee fairness of 1/4, 1/2 and 1 for a small performance loss of 2.2%, 3.7% and 7.2% respectively
Keywords :
multi-threading; parallel architectures; coarse grained multithreading; fairness enforcement mechanism; switch on event multithreading; Delay; Discrete event simulation; Microprocessors; Multithreading; Radio access networks; Runtime; Surface-mount technology; Switches; Throughput; Yarn;
Conference_Titel :
Microarchitecture, 2006. MICRO-39. 39th Annual IEEE/ACM International Symposium on
Conference_Location :
Orlando, FL
Print_ISBN :
0-7695-2732-9
DOI :
10.1109/MICRO.2006.25