+ All Categories

slides

Date post: 03-Nov-2014
Category:
Upload: flashdomain
View: 399 times
Download: 0 times
Share this document with a friend
Description:
 
Popular Tags:
15
A NOR Emulation Strategy over NAND Flash Memory Jian-Hong Lin, Yuan-Hao Chang , Jen-Wei Hsieh, and Tei-Wei Kuo Embedded Systems and Wireless Networking Laboratory Dept. of Computer Science and Information Engineering National Taiwan University Taipei, Taiwan
Transcript
Page 1: slides

A NOR Emulation Strategy over NAND Flash Memory

Jian-Hong Lin, Yuan-Hao Chang, Jen-Wei Hsieh, and Tei-Wei Kuo

Embedded Systems and Wireless Networking LaboratoryDept. of Computer Science and Information Engineering National Taiwan UniversityTaipei, Taiwan

Page 2: slides

2April 8, 2023 2

Copyright © All Rights Reserved by Jian-Hong Lin

Agenda• Research Motivation

• An Efficient Prediction Mechanism

• Performance Evaluation

• Conclusion

Page 3: slides

3April 8, 2023 3

Copyright © All Rights Reserved by Jian-Hong Lin

Comparison between NAND and NOR

NORSLC NAND

(large-block, 2KB-page)

Access Method Random Sequential

Access SpeedRead: 23.84 MB/secWrite: 0.07 MB/sec

Erase: 0.22 MB/sec

Read: 15.33 MB/secWrite: 4.57 MB/sec

Erase: 6.25 MB/sec

Density Low High

Price High (34.55 $/GB) Low (6.79 $/GB)

ApplicationCode storage•low-end mobile handsets

•PC BIOS chips

Data storage•MP3 player (music storage)

•Digital Cameras (image storage)

Page 4: slides

4April 8, 2023 4

Copyright © All Rights Reserved by Jian-Hong Lin

Motivation• Replace NOR with NAND for code storage

• Challenge: – How to fill up the performance gap between NAND and

NOR?- Use SRAM for data caching- Prediction scheme- Implementation design

Page 5: slides

5April 8, 2023 5

Copyright © All Rights Reserved by Jian-Hong Lin

A Prediction-based Prefetching Strategy• An Example Scenario

Offline: Traces analysis

1.

Online: Prefetch the data based on the prediction information

2.

Page 6: slides

6April 8, 2023 6

Copyright © All Rights Reserved by Jian-Hong Lin

The System Architecture

Cache for data access

Communication with the host system

For code and data storage

Address translation from byte addressing to LBA addressing

Prefetch data from NAND to SRAM based on prediction info.

Page 7: slides

7April 8, 2023 7

Copyright © All Rights Reserved by Jian-Hong Lin

A Prediction Graph• A prediction graph

– An Illustration of the access patterns(a sequence of LBA’s)

– One node for each LBA in the graph

seq i … 1000, 1001, 1002, 1003, 740, …seq j … 1000, 1001, 345, 346, 347, …

1000 1001 1002 1003 740

345 346 347

Branch node

Regular node

branch node

e.g.

Page 8: slides

8April 8, 2023 8

Copyright © All Rights Reserved by Jian-Hong Lin

An Implementation• The Way to Save the Prediction Graph in

the Flash Memory

• The Spare Area Usage of Nodes1. Regular Nodes (Subsequent LBA Information)

spare area ! small block: 16 bytes

large block: 64 bytes

Page 9: slides

9April 8, 2023 9

Copyright © All Rights Reserved by Jian-Hong Lin

An Implementation (cont.)2. Branch Nodes (Assisted by a Branch Table)

addr(b1)

addr(b2)

addr(b3)

An example

Page 10: slides

10April 8, 2023 10

Copyright © All Rights Reserved by Jian-Hong Lin

A Prefetch Procedure• The Objective: The Probability Maximization of Data

Accesses over SRAM

• Cyclic Buffer with Two indices: current and next

• A Greedy Algorithm in the Prefetch Procedure– Regular Node Prefetching of its Subsequent LBA– Branch Node Prefetching of all Possible Following LBA Links in a

Round-Robin Way

• Stop Conditions1. next reaches a branch node again along a link.2. next and current point to the same page.3. The caching buffer is full.

……

meet a branch node again!

Page 11: slides

11April 8, 2023 11

Copyright © All Rights Reserved by Jian-Hong Lin

A Prefetch Procedure

1 2 3 4 5 1 6current next

the cache

Prediction graph

An Example

Page 12: slides

12April 8, 2023 12

Copyright © All Rights Reserved by Jian-Hong Lin

Snapshots of the Access Patterns

RANDOM ACCESS!

RANDOM ACCESS!

BURST READ!BURST READ!

Page 13: slides

13April 8, 2023 13

Copyright © All Rights Reserved by Jian-Hong Lin

Performance Metrics and Experiment Setup• Performance metrics

– Read performance– Cache miss rate– Main-memory requirement

• Experiment setup– Large-block NAND flash memory:

- Setup time (random access): 25 us/page- Serial access time: 50 ns/byte

– SRAM- 10 ns/byte

– NOR flash memory- 40 ns/byte

Page 14: slides

14April 8, 2023 14

Copyright © All Rights Reserved by Jian-Hong Lin

Read Performance

saturate at 4KB

Page 15: slides

15April 8, 2023 15

Copyright © All Rights Reserved by Jian-Hong Lin

Conclusion• An Application-Oriented Approach to Replace NOR with

NAND– Prefetching of data from NAND based on the trace analysis– Limited SRAM requirement– Good performance, but the results depending on the predictability of

the applications

• Performance Improvement and Overhead Evaluation– Read performance better than that of NOR:

- AOE II: 24%- TTD: 216%- Raiden: 298%

– Cache miss rate:- Lower than 10% in most cases


Recommended