SlideShare a Scribd company logo
1 of 25
Schematic
Page & Block Mapping Table
2018310242 신승훈
Page-level Mapping Scheme
• Page Mapping Scheme
- LPN(4KB) = PPN(4KB)
- 초기화 된 상태의 Block과 Table 상태임
- Write Operation은 아래와 같이 내려옴
1. write(0, 1)
2. write(1, 1)
3. write(2, 1)
4. write(8, 1)
5. write(4, 1)
6. write(5, 1)
LP
N
PP
N
0
1
2
3
4
5
6
7
8
9
10
11
Page-Map Table
PPN #0
PPN #1
PPN #2
PPN #3
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1) Current Input
2. write(1, 1)
3. write(2, 1)
4. write(8, 1)
5. write(4, 1)
6. write(5, 1)
• For WAF
 Host Write : 1
 NAND Flash Write : 1
 WAF : 1
LP
N
PP
N
0 0
1
2
3
4
5
6
7
8
9
10
11
Page-Map Table
PPN #0 0
PPN #1
PPN #2
PPN #3
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1)
2. write(1, 1) Current Input
3. write(2, 1)
4. write(8, 1)
5. write(4, 1)
6. write(5, 1)
• For WAF
 Host Write : 2
 NAND Flash Write : 2
 WAF : 1
LP
N
PP
N
0 0
1 1
2
3
4
5
6
7
8
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2
PPN #3
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1)
2. write(1, 1)
3. write(2, 1) Current Input
4. write(8, 1)
5. write(4, 1)
6. write(5, 1)
• For WAF
 Host Write : 3
 NAND Flash Write : 3
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3
4
5
6
7
8
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1)
2. write(1, 1)
3. write(2, 1)
4. write(8, 1) Current Input
5. write(4, 1)
6. write(5, 1)
• For WAF
 Host Write : 4
 NAND Flash Write : 4
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3
4
5
6
7
8 3
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1)
2. write(1, 1)
3. write(2, 1)
4. write(8, 1)
5. write(4, 1) Current Input
6. write(5, 1)
• For WAF
 Host Write : 5
 NAND Flash Write : 5
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3
4 4
5
6
7
8 3
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
1. write(0, 1)
2. write(1, 1)
3. write(2, 1)
4. write(8, 1)
5. write(4, 1)
6. write(5, 1) Current Input
• For WAF
 Host Write : 6
 NAND Flash Write : 6
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3
4 4
5 5
6
7
8 3
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5 5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
- Write Operation이 아래와 같이 더 내려옴.
- 1~6번 Write 작업은 완료됨.
- 7~13번 Write 작업 수행 시작
1. write(0, 1) 7. write(9, 1)
2. write(1, 1) 8. write(3, 1)
3. write(2, 1) 9. write(5, 1)
4. write(8, 1) 10. write(8, 1)
5. write(4, 1) 11. write(9, 1)
6. write(5, 1) 12. write(3, 1)
Done 13. write(1, 1)
LP
N
PP
N
0 0
1 1
2 2
3
4 4
5 5
6
7
8 3
9
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5 5
PPN #6
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1) Current Input
8. write(3, 1)
9. write(5, 1)
10. write(8, 1)
11. write(9, 1)
12. write(3, 1)
13. write(1, 1)
• For WAF
 Host Write : 7
 NAND Flash Write : 7
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3
4 4
5 5
6
7
8 3
9 6
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5 5
PPN #6 9
PPN #7
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1)
8. write(3, 1) Current Input
9. write(5, 1)
10. write(8, 1)
11. write(9, 1)
12. write(3, 1)
13. write(1, 1)
• For WAF
 Host Write : 8
 NAND Flash Write : 8
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3 7
4 4
5 5
6
7
8 3
9 6
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5 5
PPN #6 9
PPN #7 3
PPN #8
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1)
8. write(3, 1)
9. write(5, 1) Current Input (Update)
10. write(8, 1)
11. write(9, 1)
12. write(3, 1)
13. write(1, 1)
• For WAF
 Host Write : 9
 NAND Flash Write : 9
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3 7
4 4
5 5-
>8
6
7
8 3
9 6
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3 8
PPN #4 4
PPN #5
(invalid)
5
PPN #6 9
PPN #7 3
PPN #8 5
PPN #9
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1)
8. write(3, 1)
9. write(5, 1)
10. write(8, 1) Current Input (Update)
11. write(9, 1)
12. write(3, 1)
13. write(1, 1)
• For WAF
 Host Write : 10
 NAND Flash Write : 10
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3 7
4 4
5 5-
>8
6
7
8 3-
>9
9 6
10
11
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4 4
PPN #5
(invalid)
5
PPN #6 9
PPN #7 3
PPN #8 5
PPN #9 8
PPN #10
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1)
8. write(3, 1)
9. write(5, 1)
10. write(8, 1)
11. write(9, 1) Current Input (Update)
12. write(3, 1)
13. write(1, 1)
• For WAF
 Host Write : 11
 NAND Flash Write : 11
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3 7
4 4
5 5-
>8
6
7
8 3-
>9
9 6-
>10
10
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4 4
PPN #5
(invalid)
5
PPN #6
(invalid)
9
PPN #7 3
PPN #8 5
PPN #9 8
PPN #10 9
PPN #11
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Page Mapping Scheme
7. write(9, 1)
8. write(3, 1)
9. write(5, 1)
10. write(8, 1)
11. write(9, 1)
12. write(3, 1) Current Input (Update)
13. write(1, 1)
• For WAF
 Host Write : 12
 NAND Flash Write : 12
 WAF : 1
LP
N
PP
N
0 0
1 1
2 2
3 7-
>11
4 4
5 5-
>8
6
7
8 3-
>9
9 6-
>10
10
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4 4
PPN #5
(invalid)
5
PPN #6
(invalid)
9
PPN #7
(invalid)
3
PPN #8 5
PPN #9 8
PPN #10 9
PPN #11 3
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
• Garbage Collection
- Input : 13. write(1, 1) Current Input
- Spare Block을 제외한 Block에서 순차 쓰기 완료
먼저, 각 Block에 대한 Invalidation Page를 Count함.
- Invalidation Count
 Block #0 – 1
 Block #1 – 3 (GC 수행)
 Block #2 – 0
- GC Policy
 가장 Invalidation Count가 큰 Block을 선택
LP
N
PP
N
0 0
1 1
2 2
3 7-
>11
4 4
5 5-
>8
6
7
8 3-
>9
9 6-
>10
10
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4 4
PPN #5
(invalid)
5
PPN #6
(invalid)
9
PPN #7
(invalid)
3
PPN #8 5
PPN #9 8
PPN #10 9
PPN #11 3
PPN #12
PPN #13
PPN #14
PPN #15
Block #0
Block #1
Block #2
Block #3
(Spare Block)
Data Area Spare Area
Page-level Mapping Scheme
PPN #4 4
PPN #5
(invalid)
5
PPN #6
(invalid)
9
PPN #7
(invalid)
3
PPN #12 4
PPN #13
PPN #14
PPN #15
Block #1
(Victim Block)
Block #3
(Spare Block)
PPN #4
PPN #5
PPN #6
PPN #7
Block #1
(Spare Block)
PPN #12 4
PPN #13
PPN #14
PPN #15
Block #3
(Data Block)
① Valid Page Copy back to Spare Block
- NAND Flash Write Count가 1 증가함 -> WAF 증가 영향
② Erase Victim Block
③ Spare Block Switching (3->1), 순차 쓰기 PPN #13부터 적용
①
② ③
current_page_offset
Page-level Mapping Scheme
• Garbage Collection 수행 후
• For WAF
 Host Write : 12
 NAND Flash Write : 13
 WAF : 1.08
LP
N
PP
N
0 0
1 1
2 2
3 7-
>11
4 4-
>12
5 5-
>8
6
7
8 3-
>9
9 6-
>10
10
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8 5
PPN #9 8
PPN #10 9
PPN #11 3
PPN #12 4
PPN #13
PPN #14
PPN #15
Block #0
Block #1
(Spare Block)
Block #2
Block #3
Data Area Spare Area
Page-level Mapping Scheme
• Last Input : 13. write(1,1) Update
• For WAF
 Host Write : 13
 NAND Flash Write : 14
 WAF : 1.77
LP
N
PP
N
0 0
1 1-
>13
2 2
3 7-
>11
4 4-
>12
5 5-
>8
6
7
8 3-
>9
9 6-
>10
Page-Map Table
PPN #0 0
PPN #1 1
PPN #2 2
PPN #3
(invalid)
8
PPN #4
PPN #5
PPN #6
PPN #7
PPN #8 5
PPN #9 8
PPN #10 9
PPN #11 3
PPN #12 4
PPN #13 1
PPN #14
PPN #15
Block #0
Block #1
(Spare Block)
Block #2
Block #3
Data Area Spare Area
Block Mapping Table
Block-level Mapping Scheme
• Block Mapping Scheme
- LBN to PBN
- Page per Block = 4
- 초기화 된 상태의 Block과 Table 상태임
- Write Operation은 아래와 같이 내려옴
1. write(5, 1)
2. write(6, 1)
3. write(4, 1)
LB
N
PBN
0
1 PBN #0
2
Block-Map Table
Page 0
Page 1
Page 2
Page 3
PBN #0
Page 0
Page 1
Page 2
Page 3
PBN #1
Page 0
Page 1
Page 2
Page 3
PBN #2
Page 0
Page 1
Page 2
Page 3
PBN #3
Block-level Mapping Scheme
• Block Mapping Scheme
1. write(5, 1) Current Input
- 5 / 4 = 1 (LBN)
- 5 % 4 = 1 (Page Offset)
2. write(6, 1)
3. write(4, 1)
LB
N
PBN
0
1 PBN #0
2
Block-Map Table
Page 0
Page 1
Page 2
Page 3
PBN #0
Page 0
Page 1
Page 2
Page 3
PBN #1
Page 0
Page 1
Page 2
Page 3
PBN #2
Page 0
Page 1
Page 2
Page 3
PBN #3
Block-level Mapping Scheme
• Block Mapping Scheme
1. write(5, 1)
2. write(6, 1) Current Input
- 6 / 4 = 1 (LBN)
- 6 % 4 = 2 (Page Offset)
3. write(4, 1)
LB
N
PBN
0
1 PBN #0
2
Block-Map Table
Page 0
Page 1
Page 2
Page 3
PBN #0
Page 0
Page 1
Page 2
Page 3
PBN #1
Page 0
Page 1
Page 2
Page 3
PBN #2
Page 0
Page 1
Page 2
Page 3
PBN #3
Block-level Mapping Scheme
• Block Mapping Scheme
1. write(5, 1)
2. write(6, 1)
3. write(4, 1) Current Input
- 4 / 4 = 1 (LBN)
- 4 % 4 = 0 (Page Offset)
- 순차 쓰기 불가능!
LB
N
PBN
0
1 PBN #0
2
Block-Map Table
Page 0
Page 1
Page 2
Page 3
PBN #0
Page 0
Page 1
Page 2
Page 3
PBN #1
Page 0
Page 1
Page 2
Page 3
PBN #2
Page 0
Page 1
Page 2
Page 3
PBN #3
Block-level Mapping Scheme
• Block Mapping Scheme
1. write(5, 1)
2. write(6, 1)
3. write(4, 1) Current Input
- 4 / 4 = 1 (LBN) -> PBN #1
- 4 % 4 = 0 (Page Offset)
LB
N
PBN
0
1 #0 ->
#1
2
Block-Map Table
Page 0
Page 1
Page 2
Page 3
PBN #0
Page 0
Page 1
Page 2
Page 3
PBN #1
Page 0
Page 1
Page 2
Page 3
PBN #2
Page 0
Page 1
Page 2
Page 3
PBN #3
Erase Block
copy_back
copy_back

More Related Content

Recently uploaded

Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...AshwaniAnuragi1
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Studentskannan348865
 
Fundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingFundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingChandrakantDivate1
 
Overview of Transformation in Computer Graphics
Overview of Transformation in Computer GraphicsOverview of Transformation in Computer Graphics
Overview of Transformation in Computer GraphicsChandrakantDivate1
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsVIEW
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Studentskannan348865
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdfVinayVadlagattu
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentationsj9399037128
 
Study of Computer Hardware System using Block Diagram
Study of Computer Hardware System using Block DiagramStudy of Computer Hardware System using Block Diagram
Study of Computer Hardware System using Block DiagramChandrakantDivate1
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
Dr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxDr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxProfAAMiraje
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 

Recently uploaded (20)

Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
Fundamentals of Structure in C Programming
Fundamentals of Structure in C ProgrammingFundamentals of Structure in C Programming
Fundamentals of Structure in C Programming
 
Overview of Transformation in Computer Graphics
Overview of Transformation in Computer GraphicsOverview of Transformation in Computer Graphics
Overview of Transformation in Computer Graphics
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Study of Computer Hardware System using Block Diagram
Study of Computer Hardware System using Block DiagramStudy of Computer Hardware System using Block Diagram
Study of Computer Hardware System using Block Diagram
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Dr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxDr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

FTL - Context of Page & Block Mapping Table

  • 1. Schematic Page & Block Mapping Table 2018310242 신승훈
  • 2. Page-level Mapping Scheme • Page Mapping Scheme - LPN(4KB) = PPN(4KB) - 초기화 된 상태의 Block과 Table 상태임 - Write Operation은 아래와 같이 내려옴 1. write(0, 1) 2. write(1, 1) 3. write(2, 1) 4. write(8, 1) 5. write(4, 1) 6. write(5, 1) LP N PP N 0 1 2 3 4 5 6 7 8 9 10 11 Page-Map Table PPN #0 PPN #1 PPN #2 PPN #3 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block)
  • 3. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) Current Input 2. write(1, 1) 3. write(2, 1) 4. write(8, 1) 5. write(4, 1) 6. write(5, 1) • For WAF  Host Write : 1  NAND Flash Write : 1  WAF : 1 LP N PP N 0 0 1 2 3 4 5 6 7 8 9 10 11 Page-Map Table PPN #0 0 PPN #1 PPN #2 PPN #3 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 4. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) 2. write(1, 1) Current Input 3. write(2, 1) 4. write(8, 1) 5. write(4, 1) 6. write(5, 1) • For WAF  Host Write : 2  NAND Flash Write : 2  WAF : 1 LP N PP N 0 0 1 1 2 3 4 5 6 7 8 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 PPN #3 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 5. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) 2. write(1, 1) 3. write(2, 1) Current Input 4. write(8, 1) 5. write(4, 1) 6. write(5, 1) • For WAF  Host Write : 3  NAND Flash Write : 3  WAF : 1 LP N PP N 0 0 1 1 2 2 3 4 5 6 7 8 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 6. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) 2. write(1, 1) 3. write(2, 1) 4. write(8, 1) Current Input 5. write(4, 1) 6. write(5, 1) • For WAF  Host Write : 4  NAND Flash Write : 4  WAF : 1 LP N PP N 0 0 1 1 2 2 3 4 5 6 7 8 3 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 7. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) 2. write(1, 1) 3. write(2, 1) 4. write(8, 1) 5. write(4, 1) Current Input 6. write(5, 1) • For WAF  Host Write : 5  NAND Flash Write : 5  WAF : 1 LP N PP N 0 0 1 1 2 2 3 4 4 5 6 7 8 3 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 8. Page-level Mapping Scheme • Page Mapping Scheme 1. write(0, 1) 2. write(1, 1) 3. write(2, 1) 4. write(8, 1) 5. write(4, 1) 6. write(5, 1) Current Input • For WAF  Host Write : 6  NAND Flash Write : 6  WAF : 1 LP N PP N 0 0 1 1 2 2 3 4 4 5 5 6 7 8 3 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 9. Page-level Mapping Scheme • Page Mapping Scheme - Write Operation이 아래와 같이 더 내려옴. - 1~6번 Write 작업은 완료됨. - 7~13번 Write 작업 수행 시작 1. write(0, 1) 7. write(9, 1) 2. write(1, 1) 8. write(3, 1) 3. write(2, 1) 9. write(5, 1) 4. write(8, 1) 10. write(8, 1) 5. write(4, 1) 11. write(9, 1) 6. write(5, 1) 12. write(3, 1) Done 13. write(1, 1) LP N PP N 0 0 1 1 2 2 3 4 4 5 5 6 7 8 3 9 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 5 PPN #6 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 10. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) Current Input 8. write(3, 1) 9. write(5, 1) 10. write(8, 1) 11. write(9, 1) 12. write(3, 1) 13. write(1, 1) • For WAF  Host Write : 7  NAND Flash Write : 7  WAF : 1 LP N PP N 0 0 1 1 2 2 3 4 4 5 5 6 7 8 3 9 6 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 5 PPN #6 9 PPN #7 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 11. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) 8. write(3, 1) Current Input 9. write(5, 1) 10. write(8, 1) 11. write(9, 1) 12. write(3, 1) 13. write(1, 1) • For WAF  Host Write : 8  NAND Flash Write : 8  WAF : 1 LP N PP N 0 0 1 1 2 2 3 7 4 4 5 5 6 7 8 3 9 6 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 5 PPN #6 9 PPN #7 3 PPN #8 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 12. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) 8. write(3, 1) 9. write(5, 1) Current Input (Update) 10. write(8, 1) 11. write(9, 1) 12. write(3, 1) 13. write(1, 1) • For WAF  Host Write : 9  NAND Flash Write : 9  WAF : 1 LP N PP N 0 0 1 1 2 2 3 7 4 4 5 5- >8 6 7 8 3 9 6 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 8 PPN #4 4 PPN #5 (invalid) 5 PPN #6 9 PPN #7 3 PPN #8 5 PPN #9 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 13. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) 8. write(3, 1) 9. write(5, 1) 10. write(8, 1) Current Input (Update) 11. write(9, 1) 12. write(3, 1) 13. write(1, 1) • For WAF  Host Write : 10  NAND Flash Write : 10  WAF : 1 LP N PP N 0 0 1 1 2 2 3 7 4 4 5 5- >8 6 7 8 3- >9 9 6 10 11 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 4 PPN #5 (invalid) 5 PPN #6 9 PPN #7 3 PPN #8 5 PPN #9 8 PPN #10 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 14. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) 8. write(3, 1) 9. write(5, 1) 10. write(8, 1) 11. write(9, 1) Current Input (Update) 12. write(3, 1) 13. write(1, 1) • For WAF  Host Write : 11  NAND Flash Write : 11  WAF : 1 LP N PP N 0 0 1 1 2 2 3 7 4 4 5 5- >8 6 7 8 3- >9 9 6- >10 10 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 4 PPN #5 (invalid) 5 PPN #6 (invalid) 9 PPN #7 3 PPN #8 5 PPN #9 8 PPN #10 9 PPN #11 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 15. Page-level Mapping Scheme • Page Mapping Scheme 7. write(9, 1) 8. write(3, 1) 9. write(5, 1) 10. write(8, 1) 11. write(9, 1) 12. write(3, 1) Current Input (Update) 13. write(1, 1) • For WAF  Host Write : 12  NAND Flash Write : 12  WAF : 1 LP N PP N 0 0 1 1 2 2 3 7- >11 4 4 5 5- >8 6 7 8 3- >9 9 6- >10 10 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 4 PPN #5 (invalid) 5 PPN #6 (invalid) 9 PPN #7 (invalid) 3 PPN #8 5 PPN #9 8 PPN #10 9 PPN #11 3 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 16. Page-level Mapping Scheme • Garbage Collection - Input : 13. write(1, 1) Current Input - Spare Block을 제외한 Block에서 순차 쓰기 완료 먼저, 각 Block에 대한 Invalidation Page를 Count함. - Invalidation Count  Block #0 – 1  Block #1 – 3 (GC 수행)  Block #2 – 0 - GC Policy  가장 Invalidation Count가 큰 Block을 선택 LP N PP N 0 0 1 1 2 2 3 7- >11 4 4 5 5- >8 6 7 8 3- >9 9 6- >10 10 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 4 PPN #5 (invalid) 5 PPN #6 (invalid) 9 PPN #7 (invalid) 3 PPN #8 5 PPN #9 8 PPN #10 9 PPN #11 3 PPN #12 PPN #13 PPN #14 PPN #15 Block #0 Block #1 Block #2 Block #3 (Spare Block) Data Area Spare Area
  • 17. Page-level Mapping Scheme PPN #4 4 PPN #5 (invalid) 5 PPN #6 (invalid) 9 PPN #7 (invalid) 3 PPN #12 4 PPN #13 PPN #14 PPN #15 Block #1 (Victim Block) Block #3 (Spare Block) PPN #4 PPN #5 PPN #6 PPN #7 Block #1 (Spare Block) PPN #12 4 PPN #13 PPN #14 PPN #15 Block #3 (Data Block) ① Valid Page Copy back to Spare Block - NAND Flash Write Count가 1 증가함 -> WAF 증가 영향 ② Erase Victim Block ③ Spare Block Switching (3->1), 순차 쓰기 PPN #13부터 적용 ① ② ③ current_page_offset
  • 18. Page-level Mapping Scheme • Garbage Collection 수행 후 • For WAF  Host Write : 12  NAND Flash Write : 13  WAF : 1.08 LP N PP N 0 0 1 1 2 2 3 7- >11 4 4- >12 5 5- >8 6 7 8 3- >9 9 6- >10 10 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 5 PPN #9 8 PPN #10 9 PPN #11 3 PPN #12 4 PPN #13 PPN #14 PPN #15 Block #0 Block #1 (Spare Block) Block #2 Block #3 Data Area Spare Area
  • 19. Page-level Mapping Scheme • Last Input : 13. write(1,1) Update • For WAF  Host Write : 13  NAND Flash Write : 14  WAF : 1.77 LP N PP N 0 0 1 1- >13 2 2 3 7- >11 4 4- >12 5 5- >8 6 7 8 3- >9 9 6- >10 Page-Map Table PPN #0 0 PPN #1 1 PPN #2 2 PPN #3 (invalid) 8 PPN #4 PPN #5 PPN #6 PPN #7 PPN #8 5 PPN #9 8 PPN #10 9 PPN #11 3 PPN #12 4 PPN #13 1 PPN #14 PPN #15 Block #0 Block #1 (Spare Block) Block #2 Block #3 Data Area Spare Area
  • 21. Block-level Mapping Scheme • Block Mapping Scheme - LBN to PBN - Page per Block = 4 - 초기화 된 상태의 Block과 Table 상태임 - Write Operation은 아래와 같이 내려옴 1. write(5, 1) 2. write(6, 1) 3. write(4, 1) LB N PBN 0 1 PBN #0 2 Block-Map Table Page 0 Page 1 Page 2 Page 3 PBN #0 Page 0 Page 1 Page 2 Page 3 PBN #1 Page 0 Page 1 Page 2 Page 3 PBN #2 Page 0 Page 1 Page 2 Page 3 PBN #3
  • 22. Block-level Mapping Scheme • Block Mapping Scheme 1. write(5, 1) Current Input - 5 / 4 = 1 (LBN) - 5 % 4 = 1 (Page Offset) 2. write(6, 1) 3. write(4, 1) LB N PBN 0 1 PBN #0 2 Block-Map Table Page 0 Page 1 Page 2 Page 3 PBN #0 Page 0 Page 1 Page 2 Page 3 PBN #1 Page 0 Page 1 Page 2 Page 3 PBN #2 Page 0 Page 1 Page 2 Page 3 PBN #3
  • 23. Block-level Mapping Scheme • Block Mapping Scheme 1. write(5, 1) 2. write(6, 1) Current Input - 6 / 4 = 1 (LBN) - 6 % 4 = 2 (Page Offset) 3. write(4, 1) LB N PBN 0 1 PBN #0 2 Block-Map Table Page 0 Page 1 Page 2 Page 3 PBN #0 Page 0 Page 1 Page 2 Page 3 PBN #1 Page 0 Page 1 Page 2 Page 3 PBN #2 Page 0 Page 1 Page 2 Page 3 PBN #3
  • 24. Block-level Mapping Scheme • Block Mapping Scheme 1. write(5, 1) 2. write(6, 1) 3. write(4, 1) Current Input - 4 / 4 = 1 (LBN) - 4 % 4 = 0 (Page Offset) - 순차 쓰기 불가능! LB N PBN 0 1 PBN #0 2 Block-Map Table Page 0 Page 1 Page 2 Page 3 PBN #0 Page 0 Page 1 Page 2 Page 3 PBN #1 Page 0 Page 1 Page 2 Page 3 PBN #2 Page 0 Page 1 Page 2 Page 3 PBN #3
  • 25. Block-level Mapping Scheme • Block Mapping Scheme 1. write(5, 1) 2. write(6, 1) 3. write(4, 1) Current Input - 4 / 4 = 1 (LBN) -> PBN #1 - 4 % 4 = 0 (Page Offset) LB N PBN 0 1 #0 -> #1 2 Block-Map Table Page 0 Page 1 Page 2 Page 3 PBN #0 Page 0 Page 1 Page 2 Page 3 PBN #1 Page 0 Page 1 Page 2 Page 3 PBN #2 Page 0 Page 1 Page 2 Page 3 PBN #3 Erase Block copy_back copy_back