Cooperative Multi-Agent Reinforcement Learning-Based Co-optimization of Cores, Caches, and On-chip Network
Authors:
Open Access
- 14 November 2017
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 14 (4) , 1-25
Abstract
Modern multi-core systems provide huge computational capabilities, which can be used to run multiple processes concurrently. To achieve the best possible performance within limited power budgets, the various system resources need to be allocated effectively. Any mismatch between runtime resource requirement and allocation leads to a sub-optimal energy-delay product (EDP). Different optimization techniques exist for addressing the problem of mismatch between the dynamic requirement and runtime allocation of the system resources. Choosing between multiple optimizations at runtime is complex due to the non-additive effects, making the scenario suitable for the application of machine learning techniques. We present a novel method, Machine Learned Machines (MLM), by using online reinforcement learning (RL) to perform dynamic partitioning of the last level cache (LLC), along with dynamic voltage and frequency scaling (DVFS) of the core and uncore (interconnection network and LLC). We have proposed and evaluated three different MLM co-optimization techniques based on independent and cooperative multi-agent learners. We show that the co-optimization results in a much lower system EDP than any of the techniques applied individually. We explore various RL models targeted toward optimization of different system metrics and study their effects on a system EDP, system throughput (STP), and Fairness. The various proposed techniques have been extensively evaluated with a mix of 20 workloads on a 4-core system using Spec2006 benchmarks. We have further evaluated our cooperative MLM techniques on a 16-core system. The results show an average of 20.5% and 19.1% system EDP improvement on a 4-core and 16-core system, respectively, with limited degradation of STP and Fairness.Keywords
This publication has 34 references indexed in Scilit:
- Probabilistic shared cache management (PriSM)ACM SIGARCH Computer Architecture News, 2012
- VantageACM SIGARCH Computer Architecture News, 2011
- FlexDCPACM SIGOPS Operating Systems Review, 2009
- System-wide energy minimization for real-time tasksACM Transactions on Embedded Computing Systems, 2008
- MLP-Aware Dynamic Cache Partitioning2008
- PinACM SIGPLAN Notices, 2005
- Using SimPoint for accurate and efficient simulationACM SIGMETRICS Performance Evaluation Review, 2003
- Automatically characterizing large scale program behaviorACM SIGARCH Computer Architecture News, 2002
- A case for two-way skewed-associative cachesACM SIGARCH Computer Architecture News, 1993
- Q-learningMachine Learning, 1992