Tailoring STT-MRAM for Persistent Main Memory

Tailoring STT-MRAM for Persistent Main Memory

Couture: Tailoring STT-MRAM for Persistent Main Memory Mustafa M Shihab1, Jie Zhang3, Shuwen Gao2, Joseph Callenes-Sloan1, and Myoungsoo Jung3 1The University of Texas at Dallas, 2 Intel Corporation 3 School of Integrated Technology, Yonsei Institute Convergence Technology, Yonsei University Computer Architecture Memory Systems Laboratory [email protected], [email protected], [email protected], [email protected], [email protected] Abstract Modern computer systems rely extensively on dynamic random-access memory (DRAM) to bridge the perfor- mance gap between on-chip cache and secondary stor- age. However, continuous process scaling has exposed DRAM to high off-state leakage and excessive power consumption from frequent refresh operations. Spin- transfer torque magnetoresistive RAM (STT-MRAM) is a plausible replacement for DRAM, given its high en- durance and near-zero leakage. However, conventional STT-MRAM cannot directly substitute DRAM due to its (a) large cell space area and the high latency and energy costs for writes. In this work, we present Couture – a main memory design using tailored STT-MRAM that can offer a storage density comparable to DRAM and high performance with low-power consumption. In addition, we propose an intelligent data scrubbing method (iScrub) to ensure data integrity with minimum overhead. Our evaluation results show that, equipped with the iScrub policy, our proposed Couture can achieve up to 23% per- (b) formance improvement, while consuming 18% less en- Figure 1: The reduction in STT-MRAM cell area by the ergy, on average, compared to a contemporary DRAM. proposed optimizations in our Couture design (a), and an analysis of retention errors in tailored STT-MRAM (b). 1 Introduction DRAM cell (∼6F2), which renders it difficult for STT- Dynamic random-access memory (DRAM) has been in- MRAM to attain the density required for main mem- strumental in propelling the progress of computer sys- ory. The other critical challenge with STT-MRAM is tems, serving as the exclusive main memory technol- that, its write process involves “physically” switching the ogy. However, many recent data-intensive applications magnetic configuration of the magnetic tunnel junction are demanding terabytes of working memory [1], forc- (MTJ) with a large write current – rendering the energy ing DRAM to scale-down to smaller process technolo- cost unsuitable for write-intensive applications. gies that can adversely affect its performance and relia- In this work, we present Couture, a persistent main bility. Specifically, scaling down DRAM cells increases memory that tailors STT-MRAM to offer a DRAM- off-state leakage, and reduces data-retention time. This comparable storage density, along with low-power op- results in frequent refresh operations that burden DRAM eration, and excellent read/write performance. Specifi- with extra latency and power overhead. The increased cally, we propose to tune the MTJ’s thermal stability fac- leakage also renders DRAM less reliable, as leakage tor to lower the write current, which allows STT-MRAM from the “off” cells into the bitlines can generate errors. to use smaller access transistors and significantly reduce While prior studies addressed these challenges using its cell area. Figure 1a demonstrates this STT-MRAM techniques such as data partitioning [2] and retention- cell area reduction achieved by our Couture design. By aware refresh [3], it is expected that replacing DRAM lowering the write current, we also reduce STT-MRAM’s with a non-volatile memory (NVM) can alleviate the write energy. Furthermore, we present an optimized power and reliability issues in the long term [4]. Spin- DDR3 [5] based dual in-line memory module (DIMM) transfer torque magnetoresistive random-access memory design for our tailored STT-MRAM. (STT-MRAM) has received considerable attention as one Unfortunately, optimizing the thermal stability factor such replacement candidate, owing to its excellent scal- partially truncates the conventional data retention time ability, endurance, and near-zero leakage [4]. However, of the STT-MRAM (∼10 years). In addition, at the end the primary obstruction in replacing DRAM with STT- of the retention period, the STT-MRAM cells experience MRAM is their difference in cell area. A typical STT- an increased probability of unintentional switching of the MRAM cell (∼40F2) is roughly six times larger than a MTJs and can generate errors, which in turn can render `VV:7V` `VV:7V` 2.2 Exploring Critical Design Parameters $ $ Thermal stability factor (D). In order to ensure data 16VR:7V` 16VR:7V` storage reliability, the MTJ in a STT-MRAM cell must :`:CCVC J 1R:`:CCVC QJ`1$%`: 1QJ QJ`1$%`: 1QJ maintain the parallel and the anti-parallel configurations in a discrete and stable manner. Thermal stability factor Figure 2: Internal structure of the STT-MRAM cell. refers to the stability of an MTJ’s magnetic orientation, and is modeled as [9]: STT-MRAM difficult to be a reliable persistent working HKMSV memory. Figure 1b demonstrates that, a small rise in the D ∝ Eb ≈ (1) cell-level switching probability can escalate the error rate 2kBT in a 4KB memory page, overwhelming the typical single- error correction and double-error detection (SECDED) where Eb is energy barrier, T is temperature, HK is DRAM ECC [6]. To address this, we propose iScrub, a anisotropic field, MS is saturation magnetization, kB is novel data-scrubbing scheme using reinforcement learn- Boltzmann constant, and V is MTJ’s volume. ing to ensure data persistency with minimum overhead. One can note that, while the other parameters are The main contributions of this work are as follows: fixed, we can set the thermal stability factor to fit our • Tailored STT-MRAM. We tune the MTJ design pa- optimization goal by modifying the MTJ’s volume. rameters to render the STT-MRAM cell area comparable Critical current (IC). Critical current refers to minimum to that of a modern DRAM. Specifically, we adjust the current that switches the polarity of MTJ’s free layer [9]. thermal stability factor to lower the critical current for The model for critical current can be expressed as: switching the MTJ’s orientation, which in turn enables I = g[D + dVT] (2) us to reduce STT-MRAM’s cell area and its write energy. C • Revamped memory module. We propose a modified where g and d are fitting constants that represent the op- DIMM that incorporates unique requirements of STT- erational environment, V is MTJ’s volume, and T is tem- MRAM, while maintaining main memory’s fundamental perature. organization and DDR interface. The analytic model reveals that, critical current (IC) • Reinforcement learning for intelligent scrubbing. can be reduced by reducing thermal stability factor (D). We employ a customized reinforcement learning al- Retention time. Retention time is the expected time be- gorithm to minimize the latency and power overhead fore a random bit-flip occurs. It depends on the thermal caused by scrub operation in tailored STT-MRAM with- stability factor, and can be expressed as follows [9]: out incurring additional retention errors. In this work, we compare our Couture memory and 1 a DDR3 DRAM at system-level, and the evaluation re- TRetention = exp(D) (3) f0 sults show that our Couture with iScrub can deliver up to a 23% performance gain, while consuming 18% less where f0 is the operating frequency. energy, on average. One can notice that, while a low thermal stability fac- tor reduces the MTJ’s critical current requirement, unfor- tunately, it also shortens the retention time. 2 Preliminary 2.1 STT-MRAM Fundamentals 3 Persistent Main Memory Cell structure. Figure 2 shows the cell structure of STT- 3.1 Tailoring STT-MRAM MRAM, which consists of an access transistor and a magnetic tunnel junction (MTJ). The access transistor is Access transistor optimization. A STT-MRAM cell is used to activate and control the cell, while MTJ works as comprised of one access transistor and one MTJ. Since the storage element. The MTJ demonstrates two differ- MTJ has comparatively small size, access transistor size ent resistance levels by switching the polarity of its ferro- becomes the main factor of cell area. As access tran- magnetic plates to either parallel or anti-parallel config- sistor is used to control current to go through MTJ, the uration. These two resistance levels are used to represent transistor size is mainly decided by the maximum cur- the stored data bit (0 or 1) [7]. rent. Thus, in order to minimize the STT-MRAM cell Characteristics of basic operations. The read operation area, the critical current should be reduced. Equations of STT-MRAM is fast and power-efficient, because sense 1 ∼ 3 indicate the relationship of thermal stability fac- amplifier only needs to inject small current to measure tor and critical current. Derived from Equations 1 ∼ 3, the resistance of target cells. However, a large current we evaluate shows the optimized cell areas under the re- is required to switch the the target MTJ’s free layer ori- duced thermal stability factors, and the results are shown entation during a write operation, which results in high in Figure 3a. One can observe from this figure that as write energy and large STT-MRAM cell size. Specifi- the thermal stability factor decreases, the cell area keeps cally, to avoid write failures, transistors with a large W/L decreasing. However, it also shows that, the lowering ratio are used to drive the write current, which in turn of thermal stability factor (D) also shortens the retention increases the cell size [8]. time of our tailored STT-MRAM optimization. By con- (a) (b) (c) Figure 3: Cell-level optimization of the STT-MRAM: thermal stability factor (D) vs. cell area and retention time (a), write current vs. write power and write latency (b), and thermal stability factor (D) vs.

View Full Text

Details

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