Performance Analysis and Optimization of eMMC-Based Storage
- Author
- HuWenWen
- Advisor
- ZhouWenAn
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 153
- Citations
- 1
Abstract
From 2009,The mobile phone markets were filled with the wave of smart phones, and the use of eMMC(embedded Multimedia Card) is more and more widely too. However, due to the characteristics of eMMC device, eMMC storage system are faced with several problems, such as devices from different manufactures vary widely on read and write performance; The random read and random write performance is unstable and poor, especially for small random data write performance; Many devices’life are unstable. Therefore, we urgently need to optimize the performance of embedded memory systems, in order to improve the smart phone storage system performance. At present, although the optimization of the storage system performance does not have a uniform standard, but their goal is clear, meeting the user’s read and write requests as quickly as possible.Firstly, this paper introduces the implementation of block device driver and the principle and workflow of the device driver. Secondly, analyzing the characteristics of the device eMMC, and the main features of eMMC driver. Then this paper introduce three new driver features based on original driver to improve the performance of eMMC and extend the life of eMMC. The three new features are TRIM^ HPI(high priority interrupt) and BO(Background Operation). This paper also analyze the I/O scheduling algorithm of embedded Linux system, and based on I/O scheduler introduce a software program, which can improve the small block random write performance of eMMC device greatly. Finally, the author choose the specific testing tools and did the actual reading and writing tests after optimization, and achieve the expected results.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-16
1.1 research background and significance 9 development -10
1.2 eMMC storage devices measure 10-12
1.3 embedded storage system I / 0 performance 12-13
1.4 eMMC storage technology lack 13
1.5 related research 13-14
1.6 the main contents and chapters arrangements 14-16
1.6.1 the main thesis content 14
1.6.2 thesis structure 14-16
Chapter II embedded Linux storage system overview 16-32
2.1 embedded Linux storage system Introduction 16-17
2.2 virtual file system 17
2.3 file system 17-18
2.4 device driver 18-19
2.5 block device and block device drivers 19-25
2.5.1 block Device 19-20
2.5.2 block device drivers 20-21
2.5.3 block device driver in the main data structures 21-23
2.5.4 block Device request request processing method 23-25 ??<br / > 2.6 I / O request scheduling 25-31
2.6.1 mapping layer 26-27
2.6.2 generic block layer (Generic block Layer) 27 -28
2.6.3 I / O scheduler 28-29
2.6.4 scheduling algorithm 29-31
2.7 Summary 31 - 32
Chapter III Research and Improvement eMMC device drivers 32-56
3.1 hardware development environment : icdk medfield processor introduced 32
3.2 software development environment 32-34
3.2.1 embedded Linux systems 33
3.2.2 Android OS 33-34
3.3 eMMC driver in embedded Linux systems location 34-36
3.4 eMMC driven three levels 36-43
3.5 eMMC / MMC device driver modules introduced 43-48 <br / > Initialize 3.5.1 devices 43-44
3.5.2 eMMC read / write / erase operations module 44-45
3.5.3 interrupt response and handling 45-46
3.5.4 release and respond to commands 46-47
3.5.5 DMA data transfer with ADMA 47-48
3.6 eMMC drive improvements 48-54
3.6.1 fast Erase TRIM introduction 48-50
3.6.2 driver support for TRIM and implementation 50-51
3.6.3 background processing and high-priority interrupt 51-53
3.6.4 background processing and high-priority interrupt main data structures 53-54
3.7 analysis 54-55
3.8 Summary design and implementation of Chapter IV Flashfast 55-56
module 56-64 <br / > principle 4.1 Flashfast of 58-59
select 4.2 Cluster buffer size improved 59-60
4.3 LRU strategy 60-62
4.4 Flashfast the main data structures 62-63
4.5 Summary 63-64
Chapter V test-related work 64-68
5.1 testing select the tool 64
build 5.2 testing environment 64-65
5.3 performance test 65-67
5.4 Summary 67 -68
Chapter VI summary and Outlook 68-70
6.1 summarizes 68-69
6.2 Prospects 69-70
reference literature 70-73
Thanks 73
Related dissertations
- The Research on Data Placement for Multiple Types of Memory Units in Embedded Systems with Scratch-Pad Memories
- Design and development of laser gyro and USB interface frequency test system
- Optimization of Opus Decoders in Arm Cortex-A8
- Design of Embedded 8 Channels High Speed Data Acquisition System
- Based ARM Rotating Machinery Data Acquisition and Analysis System
- Research and Exploitation of Multi-Function Combined Instrument Based on ARM
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure