A Flash Storage Technical and Economic Primer
Total Page:16
File Type:pdf, Size:1020Kb
A Flash Storage Technical and Economic Primer By Mark May Storage Consultant, By James Green, vExpert Virtualization Consultant and Scott D. Lowe, vExpert Co-Founder, ActualTech Media March, 2015 Table of Contents TABLE OF CONTENTS ........................................................................................................................................ 2 HISTORY ........................................................................................................................................................... 3 TECHNICAL CHARACTERISTICS .......................................................................................................................... 3 FLASH CELLS ............................................................................................................................................................. 3 Single Level Cell Media ...................................................................................................................................... 4 Multi-Level Cell Media ....................................................................................................................................... 5 Triple Level Cell Media ....................................................................................................................................... 6 Real World Media Type Impact ......................................................................................................................... 6 UNDER THE HOOD: PHYSICAL AND LOGICAL ORGANIZATION ............................................................................................. 7 DRIVE ARCHITECTURE ................................................................................................................................................. 8 Drive Enclosure .................................................................................................................................................. 8 Controller ........................................................................................................................................................... 8 FLASH MEDIA ECONOMICS ............................................................................................................................. 11 STORAGE COST METRICS ........................................................................................................................................... 11 Performance: Cost per IOPS ............................................................................................................................. 11 Capacity: Cost per GB ...................................................................................................................................... 11 The Break-Even for Flash ................................................................................................................................. 12 DATA REDUCTION .................................................................................................................................................... 12 Data Reduction for Capacity ............................................................................................................................ 13 Data Reduction for Performance ..................................................................................................................... 14 CONCLUSION .................................................................................................................................................. 16 SUMMARY ..................................................................................................................................................... 16 ActualTech Media © 2015. All rights reserved. Under no circumstances should this document be sold, copied, or reproduced in any way except with written permission. The information contained with the document is given in good faith and is believed to be accurate, appropriate and reliable at the time it is given, but is provided without any warranty of accuracy, appropriateness or reliability. The author does not accept any liability or responsibility for any loss suffered from the reader’s use of the advice, recommendation, information, assistance or service, to the extent available by law. A Flash Storage Technical and Economic Primer Page 2 History Flash memory is a type of non-volatile memory storage, which can be electrically erased and programmed. What was the event that precipitated the introduction of this new storage medium? Well, it started in the mid-1980s, when Toshiba was working on a project to create a replacement for the EEPROM, a low-cost type of non-volatile memory, which could be erased and reprogrammed. The problem with the EEPROM was its cumbersome erasure process; it needed to be exposed to an ultraviolet light source to perform a complete erasure. To overcome this challenge, the E2PROM was created. The E2PROM type of memory cell was block erasable, but it was eight times the cost of the EEPROM. The high cost of the E2PROM led to rejection from consumers who wanted the low cost of EEPROM coupled with the block erasable qualities of the E2PROM. This market desire led to the creation of what became known as the NOR architecture at Toshiba. While Toshiba was the first to create a NOR-based flash memory cell, the first commercially successfully design did not arrive until the late 1980s and was known as the ETOX Cell. The ETOX cell was slow to write and slow to erase, but was quick to read. This low-capacity NOR architecture became the industry standard replacement for read-only memory. From there came new advances in storage technology, which has had a radical impact on the storage market as well as on data center economics. This paper discusses both the technical aspects of flash storage as well as the economic impact it has had. Technical Characteristics In the late 1980s, Toshiba introduced a new kind of architecture — the NAND architecture —which had a significantly lower cost-per-bit, a much larger capacity, and performance improvements in every area. The larger capacity made it suitable for storing data. Today’s flash-based storage systems are direct descendants on this architecture. In the following sections, discover the technology underpinnings that make these speedy systems work in the modern data center. Flash Cells The key component of a flash storage device is the cell. Information is stored in groups of memory cells comprised of floating-gate transistors (Figure 1). Information is comprised of 1s and 0s which are stored as electrons inside the floating-gate transistor. Think of this transistor as a light switch that can be either on or off. The light will stay on until turned off just as data will reside in flash media until it is erased. This statefulness (the ability to retain information) of the data is made possible by the floating gate. A Flash Storage Technical and Economic Primer Page 3 Control Gate Insulating Oxide Floating Gate N+ Source N+ Drain Figure 1 - Floating-gate transistor The floating-gate is isolated, insulated all around by an oxide layer, with no electrical contacts. This means that any electrons placed on the floating-gate are literally trapped until removed. This persistence is the foundation for using flash memory as storage. For electrons to be placed on the floating gate, they must penetrate the insulating material used for isolation. In order to penetrate the insulation, the electrons must be exposed to a high voltage in a process called tunneling. Once the charged electron passes through the insulation, it lands on the floating-gate where it is then stored. The process of tunneling is the Achilles’ heel of a flash cell because it causes physical degradation to the insulation material. Each time a data store on the floating-gate needs to be reused, it has to be completely erased and then rewritten. The more this cycle of programming and erasing (called a P/E Cycle) is invoked, the more the material degrades. Thus each flash cell has a limited write endurance before the cell is completely degraded. This phenomenon is the reason that flash storage has a finite life span. Single Level Cell Media The traditional approach, which is the light switch example from earlier, is called a single-level cell (SLC). As the name suggests, only one bit of data is stored per cell (Figure 2). The SLC benefits from the highest levels of performance, lowest power consumption, and also enjoys high write endurance (more P/E cycles). These benefits result in the cost being higher on SLC than with other approaches. This fact has led to the near extinction of SLC in the storage market. Few NAND flash providers in today’s market build SLC-based systems. Value State 1 Erased 0 Programmed Figure 2 – Two SLC states yield one bit of information With SLC, the state of the cell is determined by the voltage range of the cell (Figure 3). As a charge is placed on the floating-gate, and the voltage is raised to 4.0V, the cell will be marked as “programmed.” Anything less and the cell will be considered erased. A Flash Storage Technical and Economic Primer Page 4 1 0 Voltage Figure 3 – SLC Voltage References Multi-Level Cell Media The second approach to storing data is to use what’s called the multi-level cell (MLC). As the name implies, MLC media allows a cell to have multiple storage states. Traditional MLCs allow up to four states which allows for double the number of bits to be stored on the same number of transistors as an SLC device.