Performance Analysis and Optimization of Network Attached Storage System for Loongson
- Author
- WeiHaiRui
- Advisor
- JiYouFang , GuLiHong
- School
- China University of Petroleum
- Major
- Applied Computer Technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 53
- Citations
- 0
Abstract
The Loongson Network Attached Storage system is an important application and research direction for China’s self-researched and developed universal 64-bit Loongson processor. The storage services structure that the main software framework-Openfiler management interface supports is so rich that it provides a favorable and scalable interface for designing various levels of Network Attached Storage systems. In the process of network transmission and document storage, with the precondition of high security and performance the Loongson Network Attached Storage system gives the Loongson-2F processor of lower frequency compressive stress, so it makes important practical significance and application value to optimize the transmission and document storage of Loongson Network Attached Storage system.There are five stages in the design, customization and setup optimization process of the Loongson Network Attached Storage system: the production of instrument chain, the design and customization of target system, kernel compilation, the creation of the configure file necessary to system startup and the optimization of the system startup. The paper tested the performance of network transmission and document storage on Network Attached Storage system which based on the Loongson-2F platform by using performance benchmark tools, moreover, the corresponding quantitative comparison has been done on the X86 platform which has the similar hardware condition The analysis of test results show that the Loongson Network Attached Storage system has better performance of data I/O (through the establishment of soft-RAID) and network transmission (except for encrypted network protocol Sftp) on the whole. Because of the inefficiency network transmission of the Sftp encrypted network protocol, this paper firstly made detailed analysis of the Sftp work flow and determined the optimization direction; secondly, this paper got the core time-consuming function AES_encrypt() and AES_decrypt() in the execution time of data transmission from libcrypto.so; finally, this paper brought up the method to optimize the performance of AES encryption which based on expansion of multi-media instruction (SIMD technology) the first time, and optimized the AES decryption function of libcrypto.so by using the SIMD technology of the Loongson platform, which combined with characteristics of Loongson architecture platform.Before and after optimization, the results of data transmission of the Sftp encryption (AES encryption) showed that optimization of AES encryption and decryption based on the Loongson SIMD technology reduced the time, so it improved the transmission rate of Sftp network effectively. The optimization method based on Loongson SIMD technology achieved a satisfying effect to the optimization of AES encryption and decryption functions.
Table of contents
Abstract 4-5
Abstract 5-9
first chapter 9-12
1.1 Background and Significance 9-10
1.2 major Tasks and objectives 10-11
1.3 articles of organization 11-12
Chapter Godson 2F basic system design and start optimizing 12-20
2.1 Loongson-2F processor Introduction 12-13
2.2 Godson 2F basic system design 13-17
2.3 Godson 2F basic system startup Optimizer 17-19
2.3.1 parallel startup optimization principle 17-18
2.3.2 started in parallel optimized implementation 18
2.3 .3 Next optimize the direction and recommendations 18-19
2.4 Summary 19-20
Chapter Godson additional network storage system performance testing and analysis 20-31
3.1 Godson network attached system architecture analysis 20-21
3.2 benchmark testing tools About 21-23
3.3 Godson additional network storage systems network file system performance testing and analysis 23-28
3.3.1 network Device analysis 23-25 ??
3.3.2 NFS, SMB, Sftp network File System performance Analysis 25-28
3.4 Godson storage attached network storage system performance testing and analysis 28-30
3.4.1 disk Performance Test and Analysis 28-29
3.4.2 build software RAID improves I / O operation performance 29-30
3.5 Summary 30-31
Chapter encrypted network protocol Sftp performance Godson analysis and Optimization 31-51
4.1 encrypted network protocol Sftp working models and processes 31-32
4.2 Godson encrypted network protocol Sftp execution time analysis 32 - 34
4.3 decryption library libcrypto.so analysis 34-37
4.3.1 decryption library libcrypto.so brief introduction 34
4.3.2 standard OpenSSL SSL protocol and brief 34-37
4.4 encrypted network protocol analysis Sftp AES encryption and decryption 37-41
4.4.1 Advanced Encryption algorithm AES encryption and decryption process analysis 37-40
4.4.2 Advanced Encryption algorithm AES encryption and decryption of complexity analysis 40-41
4.5 network protocol encryption , AES encryption and decryption Sftp optimization ideas 41-44
4.6 Godson SIMD technology to optimize AES encryption and decryption algorithm 44-49
4.6.1 AES encryption and decryption algorithm to optimize some analysts 44-46 <br / > 4.6.2 AES encryption and decryption algorithm optimization to achieve 46-49
4.7 Chapter Summary 49-51
Chapter Godson encrypted network protocol Sftp before and after optimization performance evaluation 51-54
5.1 Sftp network transmission performance comparison of before and after optimization 51
5.2 data transfer before and after optimization Sftp execution time distribution contrast 51-53
5.3 chapter Summary 53-54
Conclusion 54-57
References 57-60
Appendix 60-63
for Master degree during the academic achievements 63-64
Thanks 64