Solid-Sate Drives Ing. Stefan Verbruggen

Slides:



Advertisements
Similar presentations
Flash storage memory and Design Trade offs for SSD performance
Advertisements

+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
And How It Effects SQL Server. NAND Flash Structure MLC and SLC Compared NAND Flash Read Properties NAND Flash Write Properties Wear-Leveling Garbage.
Avishai Wool lecture Introduction to Systems Programming Lecture 8.3 Non-volatile Memory Flash.
IT Systems Memory EN230-1 Justin Champion C208 –
Solid-State Drive Ding Ruogu Kong Liang. A solid-state drive (SSD) is a data storage device that uses solid-state memory to store persistent data.
Solid State Drive Feb 15. NAND Flash Memory Main storage component of Solid State Drive (SSD) USB Drive, cell phone, touch pad…
 A basic overview  Presented by:  Steve Jones, Gran-IT Consulting, Inc.
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
Slide 1 Windows PC Accelerators Reporter :吳柏良. Slide 2 Outline l Introduction l Windows SuperFetch l Windows ReadyBoost l Windows ReadyDrive l Conclusion.
2. Memory. Main memory – speed & types Organization of RAM RAM – Random Access Mem Static RAM [SRAM] - In SRAM, a bit of data is stored using the state.
Memory Hierarchy.
Computing Hardware Starter.
Computers in the real world Objectives Understand what is meant by memory Difference between RAM and ROM Look at how memory affects the performance of.
Origianal Work Of Hyojun Kim and Seongjun Ahn
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
1. Memory Manager 2 Memory Management In an environment that supports dynamic memory allocation, the memory manager must keep a record of the usage of.
SOLID STATE DRIVES By: Vaibhav Talwar UE84071 EEE(5th Sem)
GCSE Computing Memory Powerpoint Templates.
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
Solid State Disks Members: Rakesh Dudi Tianhao Sun Timothy Wease.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
Understanding Memory.
Lecture 22 SSD. LFS review Good for …? Bad for …? How to write in LFS? How to read in LFS?
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Memory and Storage Aldon Tom. What is Memory? Memory is a solid-state digital device that stores data values. Memory holds running programs and the data.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
 The emerged flash-memory based solid state drives (SSDs) have rapidly replaced the traditional hard disk drives (HDDs) in many applications.  Characteristics.
1 Paolo Bianco Storage Architect Sun Microsystems An overview on Hybrid Storage Technologies.
CMSC 611: Advanced Computer Architecture Memory & Virtual Memory Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material.
Internal Parallelism of Flash Memory-Based Solid-State Drives
Storage HDD, SSD and RAID.
COS 518: Advanced Computer Systems Lecture 8 Michael Freedman
Storage Devices CS 161: Lecture 11 3/21/17.
Memory Miss Elliott.
Memory COMPUTER ARCHITECTURE
Computer Hard Drive.
Database Management Systems (CS 564)
Using non-volatile memory (NVDIMM-N) as block storage in Windows Server 2016 Tobias Klima Program Manager.
How will execution time grow with SIZE?
The (Solid) State Of Drive Technology
Solid State Drives ( SSD )
CS-301 Introduction to Computing Lecture 17
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
Operating Systems ECE344 Lecture 11: SSD Ding Yuan
Unit 2 Computer Systems HND in Computing and Systems Development
Lesson Objectives Aims You should be able to:
File Processing : Storage Media
Lecture 11: DMBS Internals
William Stallings Computer Organization and Architecture 8th Edition
Disk scheduling In multiprogramming systems several different processes may want to use the system's resources simultaneously. The disk drive needs some.
14/11/2018 RAM and ROM.
O.S Lecture 13 Virtual Memory.
Secondary Storage Devices
COS 518: Advanced Computer Systems Lecture 8 Michael Freedman
File Processing : Storage Media
William Stallings Computer Organization and Architecture 8th Edition
Memory Organization.
2.C Memory GCSE Computing Langley Park School for Boys.
Parallel Garbage Collection in Solid State Drives (SSDs)
William Stallings Computer Organization and Architecture 8th Edition
Hardware Main memory 26/04/2019.
Lecture 5 Memory and storage
Cache Memory and Performance
COS 518: Advanced Computer Systems Lecture 9 Michael Freedman
CS 295: Modern Systems Storage Technologies Introduction
Efficient Migration of Large-memory VMs Using Private Virtual Memory
Presentation transcript:

Solid-Sate Drives Ing. Stefan Verbruggen SSD’s Solid-Sate Drives Ing. Stefan Verbruggen

SSD device that uses integrated circuit assemblies as memory to store data persistently (retains data when power is lost). uses electronic interfaces compatible with traditional block input/output (I/O) hard disk drives (HDDs), which permit simple replacements in common applications new I/O interfaces, like NVM Express have been designed to address specific requirements of the SSD technology

SATA and “PCI express 1x” SSD

SSD SSDs have no moving mechanical components typically more resistant to physical shock run silently have lower access time lower latency

DRAM SSD and Hybrid SSD As of 2015, most SSDs use MLC NAND-based flash memory, which is a type of non-volatile memory that retains data when power is lost. For applications requiring fast access but not necessarily data persistence after power loss, SSDs may be constructed from random-access memory (RAM). Such devices may employ batteries as integrated power sources to retain data for a certain amount of time after external power is lost. Hybrid drives or solid-state hybrid drives (SSHDs) combine the features of SSDs and HDDs in the same unit, containing a large hard disk drive and an SSD cache to improve performance of frequently accessed data.[

NAND Floating gate transistors (FGT) Write erase 15-20Volt to clear electrons in FGT => possible damage after 10.000 (consumer) 100.000 (enterprise) read/write cycles. Read Select bitline Activate all word-lines, except the one to read Word-line can be far away from bitline => noise ECC needed !!!

SSD: SLC, MLC, TLC SLC: Single Level Cell Single memory cell used to store one data-bit (2 states) Very fast More expensive, lasts longer 100.000 erase/write (PE) cycles/cell before failure Server / Enterprise grade SSD’s MLC: Multi Level Cell 4 digital states in a single cell (00,01,10,11) fast Cheaper, wears out faster, ECC needed 10.000 erase/write cycles/cell before failure Client-systems / consumer grade SSD’s TLC 8 digital states in a single cell (000 – 111) 5000 erase write cycles/cell before failure Read/erase 3-4 times slower, Write 5-6 times slower than SLC

Access Times compared https://www.extremetech.com/extreme/210492-extremetech-explains-how-do-ssds-work

Test / vergelijking MacBook Pro Early 2011 MacBook Pro Early2013 MacBook Pro Late2016 CPU 2GHz Core i7 2,6GHz Core i5 3,3GHz Core i7 Cores 4 2 L2/core 256KB L3 cache 6MB 3MB 4MB RAM 8GB 1,6GHz DDR3 16GB 2,13GHz DDR3 HDD 500GB 7200rpm 250GB SSD 500GB SSD HD-interface SATA – 3Gbps SATA – 6Gbps NVMe: PCI-Express 4x 8 GT/s Price incl. VAT 2.250 euro 1.600 euro 2.500 euro Write 10GB 3min30s 30 s 5,5 s Write speed 50MB/s 436MB/s 2049MB/s Read 10GB 23,5 s 4,5 s

Test / data

Overprovisioning and usage tip Failures after x write cycles for MLC en TLS Solution: Overprovisioning add extra space to replace failed cells 8GB on some models Never fill a SSD to nearly completion Little free spaces gets all the writes and wears out quickly Solution: smart controller that ”hussels” around the more static data over the entire disk to more evenly wear out the disk (wear leveling).

SSD structure: grid, blocks, pages SSD storage is a grid of blocks Blocks consist of pages Pages are not individually erasable Only entire blocks are erasable Page size: 2K, 4K, 8K, 16K 128-256 pages per block Blocksize: 256KB – 4MB

Reads, writes and erasures

Garbage Collection (GC) Drawback:NAND flash memory cannot overwrite existing data They must first erase old data before writing new data to the same location. GC is the name for the process of relocating existing data to new locations and allowing the surrounding invalid data to be erased. Flash memory is divided into blocks, which is further divided in pages. Data can be written directly into an empty page, but only whole blocks can be erased. Therefore, to reclaim the space taken up by invalid data, all the valid data from one block must be first copied and written into the empty pages of a new block. Only then can the invalid data in the original block be erased, making it ready for new valid data to be written (see next slide). NAND flash organized in een grid, bestaande uit blokken Block bestaat uit individuele rows (pages) - Page size: 2K, 4K, 8K, 16K - 128 tot 256 pages per block => Block size from 256KB tot 4MB Steeds volledige blok-erase door 20volt spanning die omliggende cellen stoort

OS AWARENESS VS DRIVE AWARENESS In an HDD system, the Operating System (OS) can simply request that new data be written to the same location where the older, now invalid data, is stored, and the HDD will directly overwrite the old data. In an SSD, however, the valid pages in the block must first be relocated to another block. Then the entire original block can be erased and is again ready to be used. The SSD cannot directly overwrite existing data as stated earlier (previous slides).

OS AWARENESS VS DRIVE AWARENESS The OS understands the files, their structure, and the logical locations where they are stored, but does not understand the physical storage structure of the storage device. In any storage system, the storage device doesn’t know the file structure it simply knows that there are bytes of data written in specific sectors. The storage system, whether SSD or HDD, returns the data from physical locations when the OS asks for data in the corresponding logical locations.

OS AWARENESS VS DRIVE AWARENESS When the OS deletes a file, it simply marks the space used for that data as free in its logical data table. With HDDs, the OS does not need to tell the storage device anything about the deletion because it would simply write something new into that same physical location in the future. In the case of an SSD, it only becomes aware that the data is deleted (or invalid) when the OS tries to write to that location again. At that time the SSD marks the old data as invalid and it writes the new data to a new physical location. It may also perform GC at that same time, but that varies between SSD architectures and other conditions at that moment.

TRIM command In newer operating systems, e.g., Win7, Windows Server 2008 R2, Linux 2.6.33, FreeBSD 8.2, Open Solaris, Mac OS X Lion, the TRIM command enables the OS to notify the SSD that old data is no longer valid about the time it deletes the logical block addresses from its logical table. The advantage of the TRIM command is that it enables the SSD’s GC to skip the invalid data rather than moving it, thus saving time not rewriting the invalid data. This results in a reduction of the number of erase cycles on the flash memory and enables higher performance during writes. The SSD doesn’t need to immediately delete or garbage collect these locations it just marks them as no longer valid.

GC without the TRIM command

GC with the TRIM command

Increase capacity further: 3D tricks 60nm > 30 nm > 15nm 1 - 2 - ?? TB

MLC: life extending techniques => eMLC All implemented in the device controller Wear leveling moves write cycles around the chip so that cells wear evenly Occurs during Garbage Collection On device deduplication reduces the volumes of data written and so lowers wear Redundancy (overprovisioning) reserves a portion of the device's capacity to replace cells as they fail Write optimisation stores data writes temporary, so they can be made in large chunks to reduce the number of write operations => Enterprise MLC

Minimize write-erase to SDD’s: tips for windoze and or OSX Disable search and indexing (disk is fast enough) Disable defragmenation (disk is fast enough and SSD’salways fragment through wear-leveling) Disable paging (swap) on SSD, when enough memory is available Disable hibernation / sleep (disk / boot is fast enough) Disable prefetch / superfetch (XP and Vista) Make sure TRIM is enabled !!!

NVMe Non-Volatile Memory Express Aka NVM Express or NVMe

NVMe Based on PCI Express (PCIe) Scalable, high bandwidth 1GB/s => 8GB/s and up

SSD interface evolution

Why PCIe for SSD’s ?

Tomorrow = Today

sources http://www.thessdreview.com/daily-news/latest- buzz/garbage-collection-and-trim-in-ssds-explained-an- ssd-primer/2/ http://www.disk-partition.com/kb/tips-ssd-optimization- windows7-3.html