Emerging Persistent RAM Based Malleable Main Memory and Storage Architecture

Emerging Persistent RAM Based Malleable Main Memory and Storage Architecture

Memorage: Emerging Persistent RAM based Malleable Main Memory and Storage Architecture Ju-Young Jung Sangyeun Cho Computer Science Department Memory Solutions Lab., Memory Division, University of Pittsburgh Samsung Electronics Co., Korea Pittsburgh, PA, USA Computer Science Department, [email protected] University of Pittsburgh Pittsburgh, PA, USA [email protected] ABSTRACT 1. INTRODUCTION This paper addresses new system design issues that will DRAM has been exclusively used as a platform’s main mem- occur when a large quantity of emerging persistent RAM ory for decades, thanks to its high performance and low cost (PRAM) is put on the main memory bus of a platform. per bit. However, DRAM main memory already accounts for First, we anticipate that continued technology advances will 20% to 40% of the system power consumption and its por- enable us to integrate (portions of) the system storage within tion is growing [4]. Furthermore, according to the ITRS 2011 the PRAM modules on a system board. This change calls report [23], there is no known path for the DRAM technol- for comprehensive re-examination of the system design con- ogy to scale below 20nm. Eventually, DRAM may no longer cepts that assume slow disk and the block I/O concept. be the best technology for main memory, with new memory Next, we propose Memorage, a system architecture that vir- technologies emerging to take over its role. tually manages all available physical resources for memory Indeed, researchers have recently started exploring the use and storage in an integrated manner. Memorage leverages of emerging persistent RAM (PRAM) as a DRAM replace- the existing OS virtual memory (VM) manager to improve ment [28, 33, 43]. They focus on overcoming the relatively the performance of memory-intensive workloads and achieve low performance and write endurance of phase change mem- longer lifetime of the main memory. ory (PCM), a type of PRAM, with clever architectural tech- We design and implement a prototype system in the Linux niques. Due to its non-volatility, PRAM is also expected to OS to study the effectiveness of Memorage. Obtained results provide an adequate medium for high performance storage are promising; Memorage is shown to offer additional phys- systems. Condit et al. [16] describe a file system that takes ical memory capacity to demanding workloads much more advantage of byte-addressable PCM and Dong et al. [17] efficiently than a conventional VM manager. Under mem- address the design issues of a PCM-based storage device. ory pressure, the performance of studied memory-intensive However, most prior work, including the above, emphasizes multiprogramming workloads was improved by up to 40.5% only one aspect of PRAM: random accessibility (main mem- with an average of 16.7%. Moreover, Memorage is shown to ory) or persistence (storage and file system). These pro- extend the lifetime of the PRAM main memory by 3.9 or posals maintain the traditional main memory and storage 6.9 times on a system with 8 GB PRAM main memory and dichotomy in resource management. a 240 GB or 480 GB PRAM storage. We argue in this paper that future PRAM based systems will have to manage the PRAM main memory resource and the PRAM storage resource in an integrated manner to make Categories and Subject Descriptors the best performance and cost trade-offs. In a realization of C.0 [Computer Systems Organization]: General—Sys- the idea, the physical memory resource manager will need tem architectures; D.4.2 [Operating Systems]: Storage to book-keep the status of the storage resources as well as Management—Main memory, Secondary storage the memory resources. The integration of resource manage- ment will allow the system to flexibly provision the available Keywords resources across the memory and storage boundary for bet- ter performance and reliability. The following technology Emerging persistent RAM; Memory hierarchy; Management; trends support this argument: Performance; Write endurance • There will be little characteristic distinctions be- tween main memory resources and storage resources. Note that there are independent research and development efforts on scalable PRAM main memory and fast “PRAM Permission to make digital or hard copies of all or part of this work for storage devices”(or“PSDs”) using high-density PRAM chips. personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies If scaling predictions of ITRS [23] are realized (from 22nm bear this notice and the full citation on the first page. To copy otherwise, to flash half pitch in 2011 to 8nm in 2024) and given that the republish, to post on servers or to redistribute to lists, requires prior specific PCM cell density is comparable to that of NAND flash (see permission and/or a fee. Table 1), a single PCM die can pack 256 Gbits by year 2024. ICS'13, June 10–14, 2013, Eugene, Oregon, USA. This chip capacity, estimated conservatively, enables build- Copyright 2013 ACM 978-1-4503-2130-3/13/06 ...$15.00. ∗ Latency Program Allowable Retention on Write Cell density read write erase energy access unit power-off endurance PCM 20ns 100ns N/A 100 pJ byte Yes 108∼109 5F 2 STT-MRAM 10ns 10ns N/A 0.02 pJ byte Yes 1015 4F 2 ReRAM 10ns 20ns N/A 2 pJ byte Yes 106 6F 2 DRAM 10ns 10ns N/A 2 pJ byte No 1016 (2/3)F 2 NAND flash 25µs 200µs 1.5ms 10 nJ page/block Yes 104∼106 4∼5F 2 HDD 8.5ms 9.5ms N/A N/A sector Yes N/A 2∼3F 2 Table 1: Comparison of emerging PRAM and existing memory/storage technologies [27]. ∗F is the minimum feature size of a given process technology. ing a small form-factor memory module carrying hundreds Memorage can improve the main memory performance by of gigabytes. Stacked multi-chip packaging techniques have granting more directly accessible physical PRAM capacity matured and packages containing 8 to 16 chips are already of the PSD to the main memory. Moreover, it increases the commercially feasible [35]. lifetime of the PRAM resource by spreading writes to all In addition, fully exploiting the high bandwidth of the PRAM capacity without being limited by the main memory- PRAM modules in a platform requires that all the capacity storage wall. Effectively, Memorage achieves higher system be interfaced via the main memory bus. Researchers have performance, higher PRAM resource utilization, and longer already explored the benefit of placing flash memory on the lifetime through virtual over-provisioning. Our experiments main memory bus [25]. Suppose that both main memory based on a prototype system find that Memorage’s perfor- and system storage are comprised of PRAM and are on the mance improvement potential is large; the performance of in- same memory bus; then the main memory and storage re- dividual programs in a memory-intensive multiprogrammed sources are no more heterogeneous than DRAM and hard workload was improved by up to 40.5%, under a high mem- disk drive (HDD) in today’s systems, but are quite homo- ory pressure. Our analytical analysis finds that the lifetime geneous. This offers an unprecedented, practical opportu- improvement potential is also high. For example, we obtain nity for the system to manage the resources in an integrated 3.9× or 6.9× lifetime increase when a system has 8 GB main manner. memory and a 240 GB or 480 GB PSD. • Reducing I/O software overhead becomes even In what follows, Section 2 will first discuss emerging PRAM more important than in the past. Many software arti- technologies and anticipated architectural changes from both facts have been incorporated in a conventional OS to deal hardware and software perspectives. Section 3 then intro- with the slow, block-oriented HDDs. For example, complex duces Memorage and discusses how it can be incorporated in I/O scheduling algorithms have been implemented in the the Linux kernel. Proposed Memorage concepts are studied block I/O layer of the Linux OS [10]. If the current software experimentally and analytically in Section 4. Lastly, related stack is unchanged, however, the major difference in data ac- work and conclusions are summarized in Section 5 and 6. cess latency between PRAM main memory and a PSD will be dominated by the overhead of the software stack that 2. BACKGROUND handles I/O requests. For example, a 4-KB data transfer between a PSD and main memory can be done in hardware 2.1 Emerging Persistent RAM Technologies in a microsecond, whereas the software overhead of an I/O There are a handful of PRAM (also called storage class mem- operation—from a user I/O request to the OS file system ory or SCM [18]) technologies being actively developed by to the block I/O layer to the device driver and vice versa— industry. Table 1 lists and compares three promising PRAM amounts to tens of microseconds [11, 15, 27, 28]! This soft- technologies with DRAM, NAND flash and HDD technolo- ware overhead has been acceptable because the same data gies: PCM, STT-MRAM (spin-transfer-torque magnetore- transfer operation with a HDD typically takes milliseconds sistive RAM) and ReRAM (Resistive RAM) [34, 38, 39, 41]. and the software overhead is only a fraction of the latency. Basically, PRAMs’ operations are based on sensing the resis- • Storage density grows exponentially and a typi- tance of a cell material rather than electrical charge. PCM cal user underutilizes the available storage capac- is considered to be the closest (among all PRAM technolo- ity. HDD and NAND flash density improvement rates have gies) to mass production, with commercial and sample chips outpaced Moore’s Law [22, 26].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    12 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