Title: Real-time physical register file allocation with neural networks for simultaneous multi-threading processors

Authors: Wenjun Wang; Wei-Ming Lin

Addresses: Department of Electrical and Computer Engineering, The University of Texas, San Antonio, 78249-0669, Texas, USA ' Department of Electrical and Computer Engineering, The University of Texas, San Antonio, 78249-0669, Texas, USA

Abstract: Simultaneous multi-threading (SMT) processors improve system performance by allowing concurrent execution of multiple independent threads with shared key resources. Physical register file, shared among the threads in real-time, is one of the most critical resources in deciding overall system performance. Disproportional distribution of registers among the threads may easily hamper normal processing of some threads. In this paper, we develop a machine learning algorithm to efficiently allocate registers among concurrent executing threads based on current resource utilisation circumstances. An offline training process is first employed to establish a well-trained neural network which is then applied to dynamically adjust the resource distribution in real-time. Our experiment results on M-sim, which is a multi-threaded micro-architectural simulation environment, show that our proposed technique significantly improves the average system throughput by up to 42% without sacrificing execution fairness among the threads.

Keywords: simultaneous multi-threading; SMT; register renaming; physical register file; neural networks; machine learning.

DOI: 10.1504/IJHPSA.2018.100714

International Journal of High Performance Systems Architecture, 2018 Vol.8 No.3, pp.146 - 158

Received: 20 Jun 2018
Accepted: 02 Oct 2018

Published online: 16 Jul 2019 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article