Time Series Characterization of Gaming Workload for Runtime Power Management

Runtime power management using dynamic voltage and frequency scaling (DVFS) has been extensively studied for video processing applications. But there is only a little work on game power management although gaming applications are now widely run on battery-operated portable devices like mobile phones. Taking a cue from video power management, where PID controllers have been successfully used, they were recently applied to game workload prediction and DVFS. However, the use of hand-tuned PID controller gains on relatively short game plays left open questions on the robustness of the controller and the sensitivity of prediction quality on the choice of the gain values. In this paper, we try to systematically answer these questions. We first show that from the space of PID controller gain values, only a small subset leads to good game quality and power savings. Further, the choice of this set highly depends on the scene and the game application. For most gain values the controller becomes unstable, which can lead to large oscillations in the processor's frequency setting and thereby poor results. We then study a number of time series models, such as a Least Mean Squares (LMS) Linear Predictor and its generalizations in the form of Autoregressive Moving Average (ARMA) models. These models learn most of the relevant model parameters iteratively as the game progresses, thereby dramatically reducing the complexity of manual parameter estimation. This makes them deployable in real setups, where all game plays and even game applications are not a priori known. We have evaluated each of these models (PID, LMS, and ARMA) for a variety of games-ranging from Quake II to more recent closed-source games such as Crysis, Need for Speed-Shift and World in Conflict-with very encouraging results. To the best of our knowledge, this is the first work that systematically explores (a) the feasibility of manually tuning PID controller parameters for power management, (b) time series models for workload prediction for gaming applications, and (c) power management for closed-source games.

[1]  L. Benini,et al.  Battery-driven dynamic power management of portable systems , 2000, Proceedings 13th International Symposium on System Synthesis.

[2]  Rami G. Melhem,et al.  Power-aware scheduling for periodic real-time tasks , 2004, IEEE Transactions on Computers.

[3]  Niraj K. Jha,et al.  Simultaneous Dynamic Voltage Scaling of Processors and Communication Links in Real-Time Distributed Embedded Systems , 2007, IEEE Transactions on Very Large Scale Integration (VLSI) Systems.

[4]  Kevin Skadron,et al.  Control-theoretic dynamic frequency and voltage scaling for multimedia workloads , 2002, CASES '02.

[5]  Peter A. Dinda,et al.  User-Driven Frequency Scaling , 2006, IEEE Computer Architecture Letters.

[6]  Klara Nahrstedt,et al.  Practical voltage scaling for mobile multimedia devices , 2004, MULTIMEDIA '04.

[7]  Samarjit Chakraborty,et al.  Control theory-based DVS for interactive 3D games , 2008, 2008 45th ACM/IEEE Design Automation Conference.

[8]  Mun Choon Chan,et al.  Game action based power management for multiplayer online game , 2009, MobiHeld '09.

[9]  Karthik Dantu,et al.  Frame-based dynamic voltage and frequency scaling for a MPEG decoder , 2002, ICCAD 2002.

[10]  Radu Marculescu,et al.  Dynamic power management of voltage-frequency island partitioned Networks-on-Chip using Intel's Single-chip Cloud Computer , 2011, Proceedings of the Fifth ACM/IEEE International Symposium.

[11]  Wei Tsang Ooi,et al.  Games are up for DVFS , 2006, 2006 43rd ACM/IEEE Design Automation Conference.

[12]  S. Haykin,et al.  Adaptive Filter Theory , 1986 .

[13]  Xiaobo Sharon Hu,et al.  Signature-based workload estimation for mobile 3D graphics , 2006, 2006 43rd ACM/IEEE Design Automation Conference.

[14]  Christopher J. Hughes,et al.  A formal approach to frequent energy adaptations for multimedia applications , 2004, Proceedings. 31st Annual International Symposium on Computer Architecture, 2004..

[15]  Margaret Martonosi,et al.  Formal control techniques for power-performance management , 2005, IEEE Micro.

[16]  Rami G. Melhem,et al.  Applying statistical machine learning to multicore voltage & frequency scaling , 2010, Conf. Computing Frontiers.

[17]  Niraj K. Jha,et al.  An energy-aware framework for dynamic software management in mobile computing systems , 2008, TECS.

[18]  W. Fuller,et al.  Distribution of the Estimators for Autoregressive Time Series with a Unit Root , 1979 .

[19]  Kajal T. Claypool,et al.  The effects of frame rate and resolution on users playing first person shooter games , 2006, Electronic Imaging.

[20]  Rami G. Melhem,et al.  A unified practical approach to stochastic DVS scheduling , 2007, EMSOFT '07.

[21]  Peter A. Dinda,et al.  User- and process-driven dynamic voltage and frequency scaling , 2009, 2009 IEEE International Symposium on Performance Analysis of Systems and Software.

[22]  Naehyuck Chang,et al.  Accurate modeling and calculation of delay and energy overheads of dynamic voltage scaling in modern high-performance microprocessors , 2010, 2010 ACM/IEEE International Symposium on Low-Power Electronics and Design (ISLPED).

[23]  Niraj K. Jha,et al.  Dynamic Power Optimization Targeting User Delays in Interactive Systems , 2006, IEEE Transactions on Mobile Computing.

[24]  Margaret Martonosi,et al.  Formal online methods for voltage/frequency control in multiple clock domain microprocessors , 2004, ASPLOS XI.

[25]  L. Marple A new autoregressive spectrum analysis algorithm , 1980 .

[26]  Petru Eles,et al.  Overhead-conscious voltage selection for dynamic and leakage energy reduction of time-constrained systems , 2004, Proceedings Design, Automation and Test in Europe Conference and Exhibition.

[27]  Samarjit Chakraborty,et al.  A Hybrid DVS Scheme for Interactive 3D Games , 2008, 2008 IEEE Real-Time and Embedded Technology and Applications Symposium.

[28]  Lui Sha,et al.  System-wide energy optimization for multiple DVS components and real-time tasks , 2010, 2010 22nd Euromicro Conference on Real-Time Systems.

[29]  Richard A. Davis,et al.  Introduction to time series and forecasting , 1998 .

[30]  David C. Snowdon,et al.  Power Management and Dynamic Voltage Scaling: Myths and Facts , 2005 .

[31]  P. Phillips,et al.  Testing the null hypothesis of stationarity against the alternative of a unit root: How sure are we that economic time series have a unit root? , 1992 .

[32]  Lennart Ljung,et al.  System Identification: Theory for the User , 1987 .

[33]  Christian Poellabauer,et al.  Feedback-based dynamic voltage and frequency scaling for memory-bound real-time applications , 2005, 11th IEEE Real Time and Embedded Technology and Applications Symposium.

[34]  Samarjit Chakraborty,et al.  LMS-based low-complexity game workload prediction for DVFS , 2010, 2010 IEEE International Conference on Computer Design.

[35]  Luca Benini,et al.  An adaptive algorithm for low-power streaming multimedia processing , 2001, Proceedings Design, Automation and Test in Europe. Conference and Exhibition 2001.

[36]  Petru Eles,et al.  On-line thermal aware dynamic voltage scaling for energy optimization with frequency/temperature dependency consideration , 2009, 2009 46th ACM/IEEE Design Automation Conference.

[37]  Yung-Hsiang Lu,et al.  Statistically optimal dynamic power management for streaming data , 2006, IEEE Transactions on Computers.

[38]  Preeti Ranjan Panda,et al.  Rank based dynamic voltage and frequency scaling for tiled graphics processors , 2010, 2010 IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[39]  R.W. Brodersen,et al.  A dynamic voltage scaled microprocessor system , 2000, IEEE Journal of Solid-State Circuits.