CS 135: File Systems
Persistent Solid-State Storage
1 / 23
CS 135: File Systems Persistent Solid-State Storage 1 / 23 - - PowerPoint PPT Presentation
CS 135: File Systems Persistent Solid-State Storage 1 / 23 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 / 23
Introduction
1980 1985 1990 1995 2000 2005 2010
1000 100 10 1 0.1 0.01 0.001 0.0001 0.00001
2 / 23
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 / 23
The Technology Before Flash
◮ Array of fuses (literally!) ◮ Blow a fuse to generate a zero ◮ Special high-voltage line let fuse be selected
4 / 23
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 / 23
The Technology Before Flash
6 / 23
The Technology Flash Cells
◮ Allows sensing charge 7 / 23
The Technology Flash Cells
8 / 23
The Technology Flash Cells
8 / 23
The Technology Flash Cells
9 / 23
The Technology Flash Cells
◮ Sense varying current levels ◮ Can translate back into multiple bits ◮ Typically four levels, two bits
10 / 23
The Technology NOR vs. NAND Flash
◮ Works like NOR of word lines 11 / 23
The Technology NOR vs. NAND Flash
◮ All will conduct
◮ If programmed, will conduct
12 / 23
The Technology NOR vs. NAND Flash
13 / 23
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 / 23
The Technology A NAND Flash Chip
15 / 23
The Technology A NAND Flash Chip
16 / 23
The Technology A NAND Flash Chip
16 / 23
The Technology A NAND Flash Chip
17 / 23
Building a Flash “Disk” Design Issues
18 / 23
Building a Flash “Disk” Design Issues
19 / 23
Building a Flash “Disk” Flash Translation Layers
20 / 23
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 21 / 23
Building a Flash “Disk” Flash Translation Layers
◮ Well. . . mostly
◮ Problem: need entirely new interface ◮ So far, manufacturers reluctant (chicken and egg)
22 / 23
The Bad News
23 / 23