Memory Power Management Via Dynamic Voltage/Frequency Scaling

Memory Power Management Via Dynamic Voltage/Frequency Scaling

Memory Power Management via Dynamic Voltage/Frequency Scaling Howard Davidy, Chris Fallinx, Eugene Gorbatovy, Ulf R. Hanebuttey, Onur Mutlux yIntel Corporation xCarnegie Mellon University {howard.david,eugene.gorbatov, {cfallin,onur}@cmu.edu ulf.r.hanebutte}@intel.com ABSTRACT its energy usage as much as its capital cost. As a result Energy efficiency and energy-proportional computing have of these shifting constraints, server power consumption has become a central focus in enterprise server architecture. As become a significant focus of work, stimulating a variety of thermal and electrical constraints limit system power, and research for energy-efficient systems [4, 35]. datacenter operators become more conscious of energy costs, Most proposed energy efficiency mechanisms autonomous- energy efficiency becomes important across the whole sys- ly observe system load or behavior and adjust the system's tem. There are many proposals to scale energy at the data- operating point periodically, moving on the performance / center and server level. However, one significant component power curve to achieve the best efficiency. Several mech- of server power, the memory system, remains largely un- anisms operate by shutting down unused servers in clus- addressed. We propose memory dynamic voltage/frequency ters [10, 34], placing unused servers in a sleep state and scaling (DVFS) to address this problem, and evaluate a sim- batching work to minimize sleep transitions [10, 23], or scal- ple algorithm in a real system. ing active server power proportionally to load [2]. In this As we show, in a typical server platform, memory con- paper, we focus on the last goal, known as server energy sumes 19% of system power on average while running SPEC proportionality, which works by scaling subsystems within CPU2006 workloads. While increasing core counts demand an individual server. more bandwidth and drive the memory frequency upward, Prior work has focused mostly on CPU energy propor- many workloads require much less than peak bandwidth. tionality, adjusting frequency and voltage according to load These workloads suffer minimal performance impact when (DVFS, or dynamic voltage/frequency scaling) [36]. While memory frequency is reduced. When frequency reduces, CPU DVFS, and idle powerdown states in various other sys- voltage can be reduced as well. We demonstrate a large tem components, help to achieve scalability, we observe that opportunity for memory power reduction with a simple con- the memory system often draws power disproportionate to trol algorithm that adjusts memory voltage and frequency its load. In modern systems, memory power can be a sig- based on memory bandwidth utilization. nificant portion of system power: in our evaluations, 23% We evaluate memory DVFS in a real system, emulat- on average. Although modern systems make use of memory ing reduced memory frequency by altering timing registers powerdown states during idle periods between memory re- and using an analytical model to compute power reduction. quests, significant further opportunity exists. Current mem- With an average of 0.17% slowdown, we show 10.4% aver- ory systems run at speeds that are balanced with respect to age (20.5% max) memory power reduction, yielding 2.4% the peak computing power, optimized for memory-intensive average (5.2% max) whole-system energy improvement. workloads. However, for many other workloads, the per- Categories and Subject Descriptors: C.5.5 [Computer formance impact of running at lower memory frequency is System Implementation]: Servers, B.3.1 [Semiconductor Mem- minimal. A slower memory frequency allows for lower volt- ories]: DRAM age, furthering power reduction. Thus, we propose mem- ory DVFS to dynamically adapt the memory system's op- General Terms: Measurement, Performance erating point to current needs. We make the following con- tributions: 1. INTRODUCTION • We identify the opportunity for memory DVFS by pre- Power management has become a critical component of senting a detailed power model that quantifies fre- both mobile and enterprise systems in recent years. In the quency-dependent portions of memory power, showing data center environment, thermal management and power that significant reductions are possible. budgeting have become significant concerns, especially as • We present a control algorithm based on observing data centers become larger and pack servers more densely. memory bandwidth utilization and adjusting its fre- The cost of operating a data center increasingly depends on quency/voltage to minimize performance impact. • We evaluate this on real hardware, obtaining perfor- mance results by emulating memory frequency with altered timing settings and modeling power reduction Permission to make digital or hard copies of all or part of this work for analytically. personal or classroom use is granted without fee provided that copies are The rest of this paper is organized as follows. In x2, we not made or distributed for profit or commercial advantage and that copies motivate the opportunity for memory DVFS. In x3, we dis- bear this notice and the full citation on the first page. To copy otherwise, to cuss the components of DRAM power, and in x4 we present republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. a model of memory power under voltage and frequency scal- ICAC’11, June 14–18, 2011, Karlsruhe, Germany. ing. x5 discusses the impact of frequency scaling on appli- Copyright 2011 ACM 978-1-4503-0607-2/11/06 ...$10.00. cation performance. We present our control algorithm in 1 400 System Power 300 Mem Power 200 100 Power (W) 0 lbm GemsFDTDmilc leslie3dlibquantumsoplexsphinx3mcf cactusADMgcc dealIItontobzip2gobmksjengcalculixperlbenchh264refnamdgromacsgamesspovrayhmmer Figure 1: Memory system power in a 12-DIMM (48 GB), 2-socket system for SPEC CPU2006 benchmarks. x6, and evaluate it in x7. We conclude with a discussion of Configuration CPU Mem Avg. Power Reduction Baseline 2.93GHz 1333MHz 355W related work and future directions for memory DVFS. CPU scaling 2.4GHz 1333MHz 320W 9.9% Mem scaling 2.93GHz 800MHz 338W 7.6% 2. MOTIVATION Table 1: Simple (static) reduction for mcf: AC power In order to motivate memory frequency/voltage scaling as reduction due to CPU and memory frequency scal- a viable mechanism for energy efficiency, we must show (i) ing, in real Intel Nehalem hardware. that there is significant opportunity for power reduction with this mechanism, and (ii) that common workloads tolerate we will discuss in more detail later, memory running at lower the performance impact of memory frequency scaling with speed can operate at lower voltage as well, and this grants minimal degradation. additional power reduction. In the remainder of this paper, At a high level, two opposing forces on energy efficiency we assume voltage as well as frequency scaling. are at play when memory frequency is reduced. The effi- 3. BACKGROUND: MEMORY POWER ciency depends both on power consumption and on runtime, as energy is the product of power and time. Power reduction In order to effectively improve energy efficiency by scal- alone will increase efficiency. However, performance also de- ing memory frequency and voltage, we must first understand grades at lower-power operating points, which increases run- how this scaling affects memory system power (and thus sys- time and thus energy. Thus, there is a tradeoff in reducing tem energy). In this section, we first briefly provide back- memory frequency/voltage. We will show later that stati- ground on DRAM structure (x3.1). We then break down cally scaling memory frequency has little performance effect the components of DRAM power (x3.2) and discuss how fre- on many lower-bandwidth workloads because frequency im- quency scaling impacts each component. With this under- pacts only bus transfer latency, a portion of the full memory standing, we quantify power in terms of operational power latency. In this section, we motivate that memory frequency due to memory access (x3.3.1) and background power that scaling can have an effect on system power and thus energy varies with memory sleep states and frequency (x3.3.2). We (in the next section, we present an analytical model that next discuss the ability of DRAM to tolerate voltage scal- incorporates voltage scaling). ing, and its effects on power (x3.4). We address the effects that frequency/voltage scaling might have on time spent in 2.1 Magnitude of Memory Power power-down states (and the consequent trade-offs) in x3.5. We argue that (i) memory power is a significant portion of Finally, we discuss some potential implementation issues for full-system power in modern systems, and (ii) the magnitude memory DVFS in x3.6. This understanding will allow us of power reduction attainable by memory frequency/voltage to build an analytical model in x4 in order to approximate scaling is on par with the reduction due to CPU DVFS. power and energy reduction. First, Figure 1 shows average memory system power in a 3.1 DRAM Structure Background 12-DIMM (48 GB), 2-socket server class system running 8 copies of each benchmark (see x7.1 for details) as computed Figure 2 (a simplified version of Figure 1 in [26]) gives a by our power model (see x3). Total average system power for general overview of the structure of a DDR3 DRAM device. each run is shown for comparison. Memory power is 80W A set of devices placed together on a DIMM comprises a in the highest case, and 65W on average, against a 382W rank. Within a rank, a number of banks consist of indepen- maximum (341W average) system power. dent DRAM storage arrays in each device with associated decoders and sense amplifiers. These banks share I/O hard- 2.2 Potential Memory Power Reduction ware (drivers and receivers) to interface with the DDR bus. Second, having seen that the magnitude of memory power Each bank is a matrix of storage cells, organized into rows.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us