CS 135: File Systems
Persistent Solid-State Storage
1 / 22
CS 135: File Systems Persistent Solid-State Storage 1 / 22 - - PowerPoint PPT Presentation
CS 135: File Systems Persistent Solid-State Storage 1 / 22 Introduction Technology Change is Coming Disks are cheaper than any solid-state memory Likely to be true for many years But SSDs are now cheap enough for some purposes 1000
1 / 22
Introduction
1980 1985 1990 1995 2000 2005 2010
1000 100 10 1 0.1 0.01 0.001 0.0001 0.00001
2 / 22
The Technology Before Flash
◮ Array of transistors ◮ Trivial to leave out a wire to make one “defective” ◮ Result was array of ones and zeros
3 / 22
The Technology Before Flash
◮ Array of fuses (literally!) ◮ Blow a fuse to generate a zero ◮ Special high-voltage line let fuse be selected
4 / 22
The Technology Before Flash
◮ Direct predecessor to flash ◮ Electrons in floating gate (see later slide) store data ◮ UV light used to drive out electrons and erase
5 / 22
The Technology Before Flash
6 / 22
The Technology Flash Cells
◮ Allows sensing charge 7 / 22
The Technology Flash Cells
8 / 22
The Technology Flash Cells
8 / 22
The Technology Flash Cells
9 / 22
The Technology Flash Cells
◮ Sense varying current levels ◮ Can translate back into multiple bits ◮ Typically four levels, two bits
10 / 22
The Technology NOR vs. NAND Flash
◮ Works like NOR of word lines 11 / 22
The Technology NOR vs. NAND Flash
◮ All will conduct
◮ If programmed, will conduct
12 / 22
The Technology NOR vs. NAND Flash
13 / 22
The Technology A NAND Flash Chip
◮ Eight address bits per cycle ◮ CAS is 13 bits + 3 for future ◮ RAS is 18 + 6 for future
14 / 22
The Technology A NAND Flash Chip
15 / 22
The Technology A NAND Flash Chip
16 / 22
The Technology A NAND Flash Chip
16 / 22
Building a Flash “Disk” Design Issues
17 / 22
Building a Flash “Disk” Design Issues
18 / 22
Building a Flash “Disk” Flash Translation Layers
19 / 22
Building a Flash “Disk” Flash Translation Layers
◮ Solution: must sometimes move RO data
◮ Solution: group newly written blocks together regardless of logical
◮ Called “Log-Structured File System” (LFS)
◮ Solution: only reclaim block when overwritten ◮ Solution: know that it’s FAT and reverse-engineer data as it’s written 20 / 22
Building a Flash “Disk” Flash Translation Layers
◮ Well. . . mostly
◮ Problem: need entirely new interface ◮ So far, manufacturers reluctant (chicken and egg)
21 / 22
The Bad News
22 / 22