NFS/FsCache Write-Back Cache in Linux Kernel

Author
JiaZuoYi
Advisor
ZhangXiaoPin
School
Beijing University of Posts and Telecommunications
Major
Communication and Information System
Classification
TP333 Memory
Degree
Master's thesis
Year
2013
Downloads
9
Citations
0

Request the full text

Abstract

In current computer system, there are eminent differences in speed between the several main components, typically including CPU Cache, RAM and Hard Disk. Their speed order is CPU Cache> RAM> Hard Disk. Their speed discrepancy is as exponential decreasing and their capacity is as exponential increasing. Thus, in order to get the best performance, operating systems usually add a Page Cache mechanism to speed up accessing the files.With the explosion of the application of big data, traditional cache system could no longer meet the critical demanding for the performance in reading and writing big data. But the fact is the reading and writing performance has been a vital factor influencing the whole performance of the network, and is being one of the hottest research fields. The I/O-dependent applications, namely database, always wait for new technologies to break up the bottleneck. Before, the huge high-end storage devices weight several tons. Moreover, they are always much more expensive than the hard disk. Its additional value is at workload balance, multiple-path error tolerance, firmware optimization and data protection.With the appearance of SSD, the above problems have been solved better. SSD converts the machinery disk to electric product, which owns higher performance, less power consumption and faster response. In this case, Facebook implemented SSD-based Flashcache/Bcache to take the challenges brought by the big data However, this cache could only serve local file systems, and in distributed scenarios it brings no improvement. Although there has already been a kind of SSD-based cache system which could work in distributed environment, it has two limitations:1) it only serves read-opened files.2) it is only equipped with write-through cache, but no write-back. These limitations seriously confined the write-intensive clients deployed on NFS.This paper proposed a kind of write-back cache which exploits SSD to accelerate distributed clients and improve the whole networks’traffic.

Table of contents

Summary 4-5 ABSTRACT 5-8 first chapter 1.1 Background and current status of research 8-13 8-12 development and current status 1.1.1 large data storage 8 1.1.2 typical features four large data 8-9 1.1.3 large try to data processing in the cache level Status 9-10 1.1.4 distributed storage 10-12 1.2 research significance 12 the main contents and chapter 1.3 papers arrangement 12-13 the second chapter of Linux systems, and write back Cache algorithm 13-26 Page Cache nbsp 2.1 Linux files ; 13-19 2.1.1 caching method 13-14 2.1.2 Page Cache role of Linux systems in 14 2.1.3 Page Cache in Linux location 14-16 prefetch algorithms 2.1.4 Page Cache of 16-17 2.1.5 Page Cache replacement algorithm 17-18 2.1.6 Page Cache refresh mechanism of 18-19 2.2 writeback distributed systems 19-21 2.2.1 written back to the traditional closed-loop system 19-20 2.2.2 writeback new closed-loop system 20-21 2.3 writeback new algorithm 21-26 2.3.1 improved trickle write-back algorithm (Modified Trickle Write-Back) 21-22 2.3.2 fixed interval algorithm written back (Fixed Interval Algorithm) 22 2.3.3 variable writeback interval algorithm (Fixed Interval Algorithm) 22-23 2.3.4 quantum writeback algorithm (Quantum Write-Back) 23-24 2.3.5 proportional rate change algorithm ( Rate of Change Proportional Algorithm) 24-26 Chapter FsCache, design and implementation of NFS 26-39 3.1 FsCache design and implementation of 26 - 32 3.1.1 FsCache design architecture 26-27 basic operations and services provided 3.1.2 FsCache of 27-28 3.1.3 FsCache in performance compromise 28-29 3.1.4 FsCache objects and index design 29-31 3.1.5 FsCache current performance 31-32 3.2 NFS design and implementation of 32-39 3.2.1 NFS calls in the kernel achieve 33-34 3.2.2 server side achieve 34 3.2.3 client 34-35 3.2.4 from the protocol to the distributed file system 35-37 3.2.5 client distribution type of the file system cache 37-39 Chapter FsCache / NFS write-back cache design 39-53 4.1 FsCache write-back cache design 39-47 4.1.1 FsCache design structure cache entry 39-41 4.1.2 FsCache write information back to the control data structure 41-42 <br / > 4.1.3 writeback control information data structure relationships between 42-43 registered nbsp 4.1.4 distributed File System ; 43-44 4.1.5 FsCache thread pool writeback mechanism 44-47 4.2 of NFS add write-Back FsCache function 47-53 4.2.1 Page Cache interact with the amount of data organization 47-48 4.2.2 NFS writes the user data page Cache process 48-49 4.2.3 NFS traditional dirty page refresh 49-50 <br / > dirty pages 4.2.4 NFS writeback improved process 50-52 4.2.5 NFS writeback equipment for FsCache registration and deregistration 52-53 Article chapters FsCache / NFS write-back cache performance analysis 53-60 5.1 client write -intensive operation speed 53-56 5.1.1 default writeback performance of the algorithm 53-55 5.1.2 writeback algorithm to adjust the time interval T 55-56 5.1.3 adjustment algorithm writeback writeback strength H 56 <br / > 5.2 network to improve the situation 56-60 5.2.1 client sends data volume of data 56-57 5.2.2 client receives 57-58 5.2.3 client network bandwidth is 58-60 Chapter VI Conclusion 60-62 6.1 thesis summary 60 6.2 further technical outlook 60-62 References 62-63 Thanks 63-64 during the master's degree published papers 64

Related dissertations

  1. Research of Cache Management in "Papershare"
  2. Research and implementation of the application of distributed cache technology in the insert intensive in the system
  3. CACHE network storage array design
    TianXinYu ·Southwest Jiaotong University ·2011 ·Master's thesis
  4. Design and Implementation of High Speed Data Recorder Based on FPGA
  5. Study on the Distributed Optical Fiber Acoustic Emission Sensor
    QuDanDan ·Harbin Engineering University ·2013 ·Master's thesis
  6. The Design and Implementation of a Delivery and Scheduling System for Video Files
  7. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  8. Complex Network Environment of Distributed Network Management and Software Implementation
  9. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Research and Design of Distributed Vertical Search Engine Based on Hadoop
    JieYaoWei ·Hebei University of Technology ·2012 ·Master's thesis
  11. The Research of Distributed Topic Detection Method
    XiaoJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
    LinJiPo ·Northwest Normal University ·2013 ·Master's thesis
  13. The Development and Realization of Scenario Thesaurus Based on Machine Learning
    DiZuo ·South China University of Technology ·2013 ·Master's thesis
  14. Research on text clustering algorithm based on Cloud Computing
  15. Three-Layout Key/Value Index System Base on JB~c-LSM
    YangMingYa ·Xiamen University ·2014 ·Master's thesis
  16. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  17. Parallel distributed processing and application in rendering based on
  18. Design and Implementation of Distributed MySQL Database Cluster Online Monitoring System
    HuangXu ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Technology Research of the Distributed Networked Digital Equipment Datewarehouse
    PanLiang ·Harbin Engineering University ·2013 ·Master's thesis
  20. Skyline Queries for Moving Objects under Distributed Environment
    FanMingSuo ·Ningbo University ·2013 ·Master's thesis