The Design and Implementation of NAND-Flash-Based Paging Device
碩士 === 國立成功大學 === 電腦與通信工程研究所 === 95 === NAND flash memory comes with features such as non-volatile, small physical size, low-power consumption, good shock-resistance etc. such that system designers tend to use NAND flash memory as the primary storage when designing mobile devices. However, the chara...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2007
|
Online Access: | http://ndltd.ncl.edu.tw/handle/05771588895927451201 |
id |
ndltd-TW-095NCKU5652107 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-095NCKU56521072016-05-20T04:17:27Z http://ndltd.ncl.edu.tw/handle/05771588895927451201 The Design and Implementation of NAND-Flash-Based Paging Device NAND型快閃記憶體分頁機制儲存裝置之設計與實作 Ni-Feng Chang 張倪逢 碩士 國立成功大學 電腦與通信工程研究所 95 NAND flash memory comes with features such as non-volatile, small physical size, low-power consumption, good shock-resistance etc. such that system designers tend to use NAND flash memory as the primary storage when designing mobile devices. However, the characteristics of out-of-place update, wear-leveling, and block-erasing make it very different from a hard disk. In an operating system with virtual memory, these characteristics become challenging issues when using NAND flash memory as paging device. This thesis presents a study in using NAND flash memory as the paging device in virtual memory management. An investigation on FTL (Flash Translation Layer), which is a common approach to encapsulate the characteristics of NAND flash memory, and the interaction between virtual memory management subsystem and paging device is undertaken. We propose a Swap FTL to manage NAND-Flash-based paging device. In addition to the functions which are commonly supported by FTL such as logical-physical address mapping, in-place update emulation, erase address management, Swap FTL provides a feature to avoid unnecessary living-copies caused by the out-of-place-update characteristic of NAND Flash. To support this feature, the kernel needs merely to implement an invalidation mechanism. To demonstrate the functionality of Swap FTL, a demo version is implemented in the MTD subsystem of Linux operating system. Its performance is evaluated by feeding a trace of paging addresses logged during some real-world operations. The results show that our approach works effectively and reduces the number of read, write, erase, and living-copies. Furthermore, the erase operations are evenly distributed to the blocks of NAND flash memory. Jing Chen 陳敬 2007 學位論文 ; thesis 75 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立成功大學 === 電腦與通信工程研究所 === 95 === NAND flash memory comes with features such as non-volatile, small physical size, low-power consumption, good shock-resistance etc. such that system designers tend to use NAND flash memory as the primary storage when designing mobile devices. However, the characteristics of out-of-place update, wear-leveling, and block-erasing make it very different from a hard disk. In an operating system with virtual memory, these characteristics become challenging issues when using NAND flash memory as paging device.
This thesis presents a study in using NAND flash memory as the paging device in virtual memory management. An investigation on FTL (Flash Translation Layer), which is a common approach to encapsulate the characteristics of NAND flash memory, and the interaction between virtual memory management subsystem and paging device is undertaken. We propose a Swap FTL to manage NAND-Flash-based paging device. In addition to the functions which are commonly supported by FTL such as logical-physical address mapping, in-place update emulation, erase address management, Swap FTL provides a feature to avoid unnecessary living-copies caused by the out-of-place-update characteristic of NAND Flash. To support this feature, the kernel needs merely to implement an invalidation mechanism.
To demonstrate the functionality of Swap FTL, a demo version is implemented in the MTD subsystem of Linux operating system. Its performance is evaluated by feeding a trace of paging addresses logged during some real-world operations. The results show that our approach works effectively and reduces the number of read, write, erase, and living-copies. Furthermore, the erase operations are evenly distributed to the blocks of NAND flash memory.
|
author2 |
Jing Chen |
author_facet |
Jing Chen Ni-Feng Chang 張倪逢 |
author |
Ni-Feng Chang 張倪逢 |
spellingShingle |
Ni-Feng Chang 張倪逢 The Design and Implementation of NAND-Flash-Based Paging Device |
author_sort |
Ni-Feng Chang |
title |
The Design and Implementation of NAND-Flash-Based Paging Device |
title_short |
The Design and Implementation of NAND-Flash-Based Paging Device |
title_full |
The Design and Implementation of NAND-Flash-Based Paging Device |
title_fullStr |
The Design and Implementation of NAND-Flash-Based Paging Device |
title_full_unstemmed |
The Design and Implementation of NAND-Flash-Based Paging Device |
title_sort |
design and implementation of nand-flash-based paging device |
publishDate |
2007 |
url |
http://ndltd.ncl.edu.tw/handle/05771588895927451201 |
work_keys_str_mv |
AT nifengchang thedesignandimplementationofnandflashbasedpagingdevice AT zhāngníféng thedesignandimplementationofnandflashbasedpagingdevice AT nifengchang nandxíngkuàishǎnjìyìtǐfēnyèjīzhìchǔcúnzhuāngzhìzhīshèjìyǔshízuò AT zhāngníféng nandxíngkuàishǎnjìyìtǐfēnyèjīzhìchǔcúnzhuāngzhìzhīshèjìyǔshízuò AT nifengchang designandimplementationofnandflashbasedpagingdevice AT zhāngníféng designandimplementationofnandflashbasedpagingdevice |
_version_ |
1718272252276899840 |