SlideShare a Scribd company logo
Flash & SSD 101
Zhichao Lv
What is Flash
• Obviously, The Flash we are talking about here is
not an Player.
• Here, Flash is short for Flash Memory
• Flash memory is an electronic non-volatile
computer storage media that can be electrically
erased and reprogrammed.
• Introduced by Toshiba in 1984
What is Flash
• Flash Memory uses Floating-gate(FG) transistor
• Categorized by the types of FG:
• NOR( ) Flash
• NAND( ) Flash
• Today, When we talk about Flash, mostly it refers to
NAND Flash.
• NOR Flash ,
Flash Cell
• Flash (NAND Flash)
• Flash
.(NAND Flash)
Flash Cell
Flash Cell
• SLC: Single-Level Cell 1bit
(0,1)
• MLC:Multi-Level Cell 2bit
(00,01,10,11)
• TLC:Triple-Level Cell, And you got the idea.
Flash Cell
Flash Media
•
• Cell
• Page/ (8KB 16KB , Cell ,
16KB )
• Block/ (256 512 ,4~8MB)
• Die/Lun/ (1024~4096 ,4GB~16GB)
• Package/ (4 8 , 16GB~128GB)
Flash Media
Flash Media
• Read/ , , 0, 1.
Page/ (16KB) 40~80us
• Write/Program/ , ,
(One Way). : Page/
(16KB) 0.5~2ms
• Erase/ , Program Page,
Program (Dirty->Clear),
. :Block/ (4MB) 1~4ms
Flash Media
It’s me
Flash Media
Flash Media
Cell
Cell
Cell
Cell
Flash Cell
• Erase ,
( )
• Erase
• Cell —>Cell
• Cell Cell ,Cell Erase
• Flash P/E Cycle (Program/Erase)
Flash Cell
• MLC
• P/E Cycle:5000
• P/E Cycle Flash Media .
• P/E Cycle, Flash (WA,WL)
• Flash Media Flash Media
Flash
Flash
Flash
•
• Flash ,
.
• , .
• P/E Cycle=0 10
• P/E Cycle 5000 3
Flash
•
• Flash ,
.
• , .
• P/E Cycle=0 10
• P/E Cycle 5000 3
Flash
• U
• U
• U
•
Flash
• SSD is short for Solid State Disk
• Flash Media
• Don’t Panic!
• Flash Flash Media
• Driver/FW( )
Flash
• SSD is short for Solid State Disk
• Flash Media
• Don’t Panic!
• Flash Flash Media
• Driver/FW( )
Flash
• FTL: Flash Translation Layer
• Intel
• Mapping Table + Flash Media
•
• ( )
Flash
FTL,RAID,OP,GC,WL
• Mapping Table
• ,
• DRAM
•
FTL,RAID,OP,GC,WL
•
• RAID
FTL,RAID,GC,WL
FTL,RAID,OP,GC,WL
• OP
• OP , Flash ,
• GC, WL
•
• ,
• ,
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA
1 A1
2 A2
3 A3
4 A4
5 B1
6 B2
7 B3
8 B4
9 C1
10 C2
11 C3
12 C4
Over
Provision
page
block
Physical Capacity = 16page
User Capacity = 12page
OP = 25%
FTL(Flash Translation Layer)Simple SSD
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 A1 xa
2 A2 xb
3 A3 xc
4 A4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
xa xb
xc xd
xe xf
xg xh
xi xj
xk xl
Whole Disk Write
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 A1->D1 xa ->ya
2 A2 xb
3 A3 xc
4 A4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
LBA 1 xa -> ya
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 A2->D2 xb->yb
3 A3 xc
4 A4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
yb
LBA 2 xb -> yb
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 A3->D3 xc->yc
4 A4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
yb
yc
LBA 3xc -> yc
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 A4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
yb
yc
LBA 5 xe -> ye
LBA 5 xe -> ye
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 A4 xd
5 B1->D4 xe->ye
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
yb
yc ye
OP free block
LBA 5 xe -> ye (error)
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 A4->D4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
xa xb
xc xd
yb
yc xd
5
4
3
2
1
life(A)=5
life(B)=5
life(C)=5
life(D)=5
5
4
3
2
1
5
4
3
2
1
5
4
3
2
1
Garbage Collection
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 D4 xd
5 B1 xe
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
yb
yc xd
4
3
2
1
life(A)=4
life(B)=5
life(C)=5
life(D)=5
5
4
3
2
1
5
4
3
2
1
5
4
3
2
1
Over
Provision
Garbage Collection
GC free block
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 D4 xd
5 B1->A1 xe->ye
6 B2 xf
7 B3 xg
8 B4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
yb
yc xd
4
3
2
1
life(A)=4
life(B)=5
life(C)=5
life(D)=5
ye
Host write = 16 page
Flash write = 17 page
= 1.0625 (Write Amplifier)
5
4
3
2
1
5
4
3
2
1
5
4
3
2
1
LBA 5 xe -> ye
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 D4 xd
5 A1 ye
6 B2->A2 xf
7 B3->A3 xg
8 B4->A4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
ya
xe xf
xg xh
xi xj
xk xl
yb
yc xd
4
3
2
1
life(A)=4
life(B)=5
life(C)=5
life(D)=5
ye
5
4
3
2
1
5
4
3
2
1
5
4
3
2
1
xf
xg xh
LBA 1 ya -> za
LBA 1 ya -> za
A1 A2
A3 A4
B1 B2
B3 B4
C1 C2
C3 C4
D1 D2
D3 D4
LBA PBA Data
1 D1 ya
2 D2 yb
3 D3 yc
4 D4 xd
5 A1 ye
6 A2 xf
7 A3 xg
8 A4 xh
9 C1 xi
10 C2 xj
11 C3 xk
12 C4 xl
yaxi xj
xk xl
yb
yc xd
4
3
2
1
life(A)=4
life(B)=4
life(C)=5
life(D)=5
ye
4
3
2
1
5
4
3
2
1
5
4
3
2
1
xf
xg xh
Wear Leveling
FTL,RAID,OP,GC,WL
• GC/WL
•
•
•
•
•
•
Thx.
Q&A

More Related Content

Viewers also liked

Flash 101
Flash 101Flash 101
Flash 101
Roman Tarnavski
 
Flash 101
Flash 101Flash 101
Flash 101
Stanley Fok
 
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash ArrayWebinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
Storage Switzerland
 
Company Snapshot
Company SnapshotCompany Snapshot
Company Snapshot
waldroncw
 
Social networking present 5 20
Social networking present 5 20Social networking present 5 20
Social networking present 5 20
Victor Hurdle
 
FlashSystem February 2017
FlashSystem February 2017FlashSystem February 2017
FlashSystem February 2017
Joe Krotz
 
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
Dell EMC World
 
Flash Storage Technology 101
Flash Storage Technology 101Flash Storage Technology 101
Flash Storage Technology 101
Unitiv
 
07.flash memory technology
07.flash memory technology07.flash memory technology
07.flash memory technology
ruchiusha
 

Viewers also liked (9)

Flash 101
Flash 101Flash 101
Flash 101
 
Flash 101
Flash 101Flash 101
Flash 101
 
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash ArrayWebinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
Webinar: Getting Beyond Flash 101 - Flash 102 Selecting the Right Flash Array
 
Company Snapshot
Company SnapshotCompany Snapshot
Company Snapshot
 
Social networking present 5 20
Social networking present 5 20Social networking present 5 20
Social networking present 5 20
 
FlashSystem February 2017
FlashSystem February 2017FlashSystem February 2017
FlashSystem February 2017
 
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
MT48 A Flash into the future of storage….  Flash meets Persistent Memory: The...
 
Flash Storage Technology 101
Flash Storage Technology 101Flash Storage Technology 101
Flash Storage Technology 101
 
07.flash memory technology
07.flash memory technology07.flash memory technology
07.flash memory technology
 

Similar to 7 吕智超-ssd101

PAL
PALPAL
Why Systolic Architectures
Why Systolic ArchitecturesWhy Systolic Architectures
Why Systolic Architectures
Mindos Cheng
 
Storage
StorageStorage
Storage
David Evans
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
DataStax Academy
 
unit 5.ppt
unit 5.pptunit 5.ppt
Introduction to Asic Design and VLSI Design
Introduction to Asic Design and VLSI DesignIntroduction to Asic Design and VLSI Design
Introduction to Asic Design and VLSI Design
Pratik Gohel
 
Raidz on-disk format vs. small blocks
Raidz on-disk format vs. small blocksRaidz on-disk format vs. small blocks
Raidz on-disk format vs. small blocks
Joyent
 
RAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocksRAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocks
Christie Barnes Andersen
 
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
Hsien-Hsin Sean Lee, Ph.D.
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
Rick Branson
 
OptiCal & LUMOS Networks
OptiCal & LUMOS NetworksOptiCal & LUMOS Networks
OptiCal & LUMOS Networks
Tal Lavian Ph.D.
 
Relations between archive formats
Relations between archive formatsRelations between archive formats
Relations between archive formats
Ange Albertini
 
Some analysis of BlueStore and RocksDB
Some analysis of BlueStore and RocksDBSome analysis of BlueStore and RocksDB
Some analysis of BlueStore and RocksDB
Xiao Yan Li
 
Flash! (Modern File Systems)
Flash! (Modern File Systems)Flash! (Modern File Systems)
Flash! (Modern File Systems)
David Evans
 
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
DataWorks Summit
 
Jackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade MachinesJackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade Machines
Patrick Sayler
 
Placas base evolucion[1]
Placas base evolucion[1]Placas base evolucion[1]
Placas base evolucion[1]
zuzanitah
 
I pad 2 full schematic diagram
I pad 2 full schematic diagramI pad 2 full schematic diagram
I pad 2 full schematic diagram
Phonefix
 
ipad2 full Schematic Diagram
ipad2 full Schematic Diagramipad2 full Schematic Diagram
ipad2 full Schematic Diagram
vipphone1 vipphone
 
CArcMOOC 07.02 - Non-volatile memory devices
CArcMOOC 07.02 - Non-volatile memory devicesCArcMOOC 07.02 - Non-volatile memory devices
CArcMOOC 07.02 - Non-volatile memory devices
Alessandro Bogliolo
 

Similar to 7 吕智超-ssd101 (20)

PAL
PALPAL
PAL
 
Why Systolic Architectures
Why Systolic ArchitecturesWhy Systolic Architectures
Why Systolic Architectures
 
Storage
StorageStorage
Storage
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
 
unit 5.ppt
unit 5.pptunit 5.ppt
unit 5.ppt
 
Introduction to Asic Design and VLSI Design
Introduction to Asic Design and VLSI DesignIntroduction to Asic Design and VLSI Design
Introduction to Asic Design and VLSI Design
 
Raidz on-disk format vs. small blocks
Raidz on-disk format vs. small blocksRaidz on-disk format vs. small blocks
Raidz on-disk format vs. small blocks
 
RAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocksRAIDZ on-disk format vs. small blocks
RAIDZ on-disk format vs. small blocks
 
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
Lec6 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Instruction...
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
 
OptiCal & LUMOS Networks
OptiCal & LUMOS NetworksOptiCal & LUMOS Networks
OptiCal & LUMOS Networks
 
Relations between archive formats
Relations between archive formatsRelations between archive formats
Relations between archive formats
 
Some analysis of BlueStore and RocksDB
Some analysis of BlueStore and RocksDBSome analysis of BlueStore and RocksDB
Some analysis of BlueStore and RocksDB
 
Flash! (Modern File Systems)
Flash! (Modern File Systems)Flash! (Modern File Systems)
Flash! (Modern File Systems)
 
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
Losing Data in a Safe Way – Advanced Replication Strategies in Apache Hadoop ...
 
Jackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade MachinesJackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade Machines
 
Placas base evolucion[1]
Placas base evolucion[1]Placas base evolucion[1]
Placas base evolucion[1]
 
I pad 2 full schematic diagram
I pad 2 full schematic diagramI pad 2 full schematic diagram
I pad 2 full schematic diagram
 
ipad2 full Schematic Diagram
ipad2 full Schematic Diagramipad2 full Schematic Diagram
ipad2 full Schematic Diagram
 
CArcMOOC 07.02 - Non-volatile memory devices
CArcMOOC 07.02 - Non-volatile memory devicesCArcMOOC 07.02 - Non-volatile memory devices
CArcMOOC 07.02 - Non-volatile memory devices
 

More from Ivan Tu

8 彭立勳-double binlog方案
8 彭立勳-double binlog方案8 彭立勳-double binlog方案
8 彭立勳-double binlog方案
Ivan Tu
 
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
Ivan Tu
 
2 ivan ma-mysql複製的演進和應用-twn- v1
2 ivan ma-mysql複製的演進和應用-twn- v12 ivan ma-mysql複製的演進和應用-twn- v1
2 ivan ma-mysql複製的演進和應用-twn- v1
Ivan Tu
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
Ivan Tu
 
My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2
Ivan Tu
 
My sql resources_april2012_zht
My sql resources_april2012_zhtMy sql resources_april2012_zht
My sql resources_april2012_zht
Ivan Tu
 
My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2
Ivan Tu
 
My sql cluster_taipei_event
My sql cluster_taipei_eventMy sql cluster_taipei_event
My sql cluster_taipei_event
Ivan Tu
 
My sql introduction for Bestcom
My sql introduction for BestcomMy sql introduction for Bestcom
My sql introduction for Bestcom
Ivan Tu
 
My S Q L Introduction for 1 day training
My S Q L  Introduction for 1 day trainingMy S Q L  Introduction for 1 day training
My S Q L Introduction for 1 day training
Ivan Tu
 

More from Ivan Tu (10)

8 彭立勳-double binlog方案
8 彭立勳-double binlog方案8 彭立勳-double binlog方案
8 彭立勳-double binlog方案
 
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
3 周彦偉-隨需而變 我所經歷的my sql架構變遷﹣周彥偉﹣acmug@2015.12台北
 
2 ivan ma-mysql複製的演進和應用-twn- v1
2 ivan ma-mysql複製的演進和應用-twn- v12 ivan ma-mysql複製的演進和應用-twn- v1
2 ivan ma-mysql複製的演進和應用-twn- v1
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
 
My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2
 
My sql resources_april2012_zht
My sql resources_april2012_zhtMy sql resources_april2012_zht
My sql resources_april2012_zht
 
My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2
 
My sql cluster_taipei_event
My sql cluster_taipei_eventMy sql cluster_taipei_event
My sql cluster_taipei_event
 
My sql introduction for Bestcom
My sql introduction for BestcomMy sql introduction for Bestcom
My sql introduction for Bestcom
 
My S Q L Introduction for 1 day training
My S Q L  Introduction for 1 day trainingMy S Q L  Introduction for 1 day training
My S Q L Introduction for 1 day training
 

Recently uploaded

“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 

Recently uploaded (20)

“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 

7 吕智超-ssd101

  • 1. Flash & SSD 101 Zhichao Lv
  • 2. What is Flash • Obviously, The Flash we are talking about here is not an Player. • Here, Flash is short for Flash Memory • Flash memory is an electronic non-volatile computer storage media that can be electrically erased and reprogrammed. • Introduced by Toshiba in 1984
  • 3. What is Flash • Flash Memory uses Floating-gate(FG) transistor • Categorized by the types of FG: • NOR( ) Flash • NAND( ) Flash • Today, When we talk about Flash, mostly it refers to NAND Flash. • NOR Flash ,
  • 4. Flash Cell • Flash (NAND Flash) • Flash .(NAND Flash)
  • 6. Flash Cell • SLC: Single-Level Cell 1bit (0,1) • MLC:Multi-Level Cell 2bit (00,01,10,11) • TLC:Triple-Level Cell, And you got the idea.
  • 8. Flash Media • • Cell • Page/ (8KB 16KB , Cell , 16KB ) • Block/ (256 512 ,4~8MB) • Die/Lun/ (1024~4096 ,4GB~16GB) • Package/ (4 8 , 16GB~128GB)
  • 10. Flash Media • Read/ , , 0, 1. Page/ (16KB) 40~80us • Write/Program/ , , (One Way). : Page/ (16KB) 0.5~2ms • Erase/ , Program Page, Program (Dirty->Clear), . :Block/ (4MB) 1~4ms
  • 14. Cell
  • 15. Cell
  • 16. Cell
  • 17. Cell
  • 18. Flash Cell • Erase , ( ) • Erase • Cell —>Cell • Cell Cell ,Cell Erase • Flash P/E Cycle (Program/Erase)
  • 19. Flash Cell • MLC • P/E Cycle:5000 • P/E Cycle Flash Media . • P/E Cycle, Flash (WA,WL) • Flash Media Flash Media
  • 20. Flash
  • 21. Flash
  • 22. Flash • • Flash , . • , . • P/E Cycle=0 10 • P/E Cycle 5000 3
  • 23. Flash • • Flash , . • , . • P/E Cycle=0 10 • P/E Cycle 5000 3
  • 25. Flash • SSD is short for Solid State Disk • Flash Media • Don’t Panic! • Flash Flash Media • Driver/FW( )
  • 26. Flash • SSD is short for Solid State Disk • Flash Media • Don’t Panic! • Flash Flash Media • Driver/FW( )
  • 27. Flash • FTL: Flash Translation Layer • Intel • Mapping Table + Flash Media • • ( )
  • 28. Flash
  • 32. FTL,RAID,OP,GC,WL • OP • OP , Flash , • GC, WL • • , • ,
  • 33. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA 1 A1 2 A2 3 A3 4 A4 5 B1 6 B2 7 B3 8 B4 9 C1 10 C2 11 C3 12 C4 Over Provision page block Physical Capacity = 16page User Capacity = 12page OP = 25% FTL(Flash Translation Layer)Simple SSD
  • 34. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 A1 xa 2 A2 xb 3 A3 xc 4 A4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl xa xb xc xd xe xf xg xh xi xj xk xl Whole Disk Write
  • 35. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 A1->D1 xa ->ya 2 A2 xb 3 A3 xc 4 A4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd LBA 1 xa -> ya
  • 36. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 A2->D2 xb->yb 3 A3 xc 4 A4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd yb LBA 2 xb -> yb
  • 37. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 A3->D3 xc->yc 4 A4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd yb yc LBA 3xc -> yc
  • 38. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 A4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd yb yc LBA 5 xe -> ye LBA 5 xe -> ye
  • 39. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 A4 xd 5 B1->D4 xe->ye 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd yb yc ye OP free block LBA 5 xe -> ye (error)
  • 40. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 A4->D4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl xa xb xc xd yb yc xd 5 4 3 2 1 life(A)=5 life(B)=5 life(C)=5 life(D)=5 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 Garbage Collection
  • 41. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 D4 xd 5 B1 xe 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl yb yc xd 4 3 2 1 life(A)=4 life(B)=5 life(C)=5 life(D)=5 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 Over Provision Garbage Collection GC free block
  • 42. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 D4 xd 5 B1->A1 xe->ye 6 B2 xf 7 B3 xg 8 B4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl yb yc xd 4 3 2 1 life(A)=4 life(B)=5 life(C)=5 life(D)=5 ye Host write = 16 page Flash write = 17 page = 1.0625 (Write Amplifier) 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 LBA 5 xe -> ye
  • 43. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 D4 xd 5 A1 ye 6 B2->A2 xf 7 B3->A3 xg 8 B4->A4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl ya xe xf xg xh xi xj xk xl yb yc xd 4 3 2 1 life(A)=4 life(B)=5 life(C)=5 life(D)=5 ye 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 xf xg xh LBA 1 ya -> za LBA 1 ya -> za
  • 44. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 LBA PBA Data 1 D1 ya 2 D2 yb 3 D3 yc 4 D4 xd 5 A1 ye 6 A2 xf 7 A3 xg 8 A4 xh 9 C1 xi 10 C2 xj 11 C3 xk 12 C4 xl yaxi xj xk xl yb yc xd 4 3 2 1 life(A)=4 life(B)=4 life(C)=5 life(D)=5 ye 4 3 2 1 5 4 3 2 1 5 4 3 2 1 xf xg xh Wear Leveling
  • 46. Thx.
  • 47. Q&A