The Design and Implementation of High Performance Secondary Cache on YHFT-DX DSP

Author
JinQiang
Advisor
GuoYang
School
National University of Defense Science and Technology
Major
Electronic Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2011
Downloads
36
Citations
0

Request the full text

Abstract

Nowadays, the Digital Signal Processor (DSP) has been widely used, but DSP’s performance is also limited by the“memory wall”problem. To resolve this problem, multiple level memory structure is commonly used. Today, the“cache+RAM”two level memory structure is mostly used in DSP design. In DSP, the secondary memory is not only a memory, but also is in charge of the data transformation from DSP core to external memory. For this reason, how to design a high performance“cache+RAM”two level memory structure, especially a high performance secondary cache scheme, is an important problem in DSP design.YHFT-DX DSP is a high performance DSP which is developed independently by my university. It adopts Very Long Instruction Word (VLIW) architecture, whose instruction fetching packet contains 8 instructions, and it can execute 8 instructions in parallel in one cycle at most. Meanwhile, YHFT-DX DSP uses two level memory structure on chip, and the secondary memory is a 1MB“cache+RAM”memory, which is shared and can be configured. When customer is designing a program, he can adjust the proportion of cache and RAM according to the program feature. This paper presents the design and implementation of high performance cache in YHFT-DX DSP, and it contains following works.First of all, this paper reviews the cache techniques and the requisite performance in the popular DSP, and then designs and implements the miss pipeline of L2 cache on YHFT-DX DSP, which can deal requests from L1 on pipeline way, and the miss pipeline can overlap the hit cost of L2 cache effectively. The speedup can be 1.31 at most, when it deals the miss requests which access the L2 memory.Secondly, it analyses the feature of memory-access in programs, and summarizes two kinds of missing access address sequence which can be predicted. And then, it designs a stride adaptive prefetch scheme on secondary cache according to the two kinds of missing access address sequence. In DSP, the secondary cache can not see the address of memory-access instructions, so the prefetch scheme uses the line address to lookup the prefetch table, which can make the implementation of the prefetch scheme on L2 cache simply. Meanwhile, the prefetch scheme uses a confidence system to control the producing of prefetch signal, which reduces the missing rate of cache effectively. Through testing by SPEC2006, the scheme can reduce miss rate on L2 cache by 4.5%, and the speedup can be 1.3 at most.At last, it implements a stride adaptive prefetch scheme combined with L2 cache miss pipeline in YHFT-DX DSP, which contains both the miss pipeline and the prefetch scheme introduced before. The structure has the advantage both of the miss pipeline and the prefetch scheme, so it can greatly improve the memory-access performance of YHFT-DX DSP.

Related dissertations

  1. Research on High Performance Cache and Memory System
    ZuoDanDan ·Institute of Computing Technology ·2006 ·Doctoral dissertation
  2. Research on the Cache and Query Technology in Wide Area Sensor Databases
    ZhangShuZhi ·Yanshan University ·2006 ·Master's thesis
  3. Cache prediction technology research
    XueYan ·Northwestern Polytechnical University ·2005 ·Master's thesis
  4. Research of Streaming Session Sharing and Streaming Protocol in Cluster Streaming Media Caching
  5. A Study of Software/Hardware Cooperative Prefetch Technique
  6. Improving iSCSI Memory Cache Hit Through Prefetching to a Striped Disk
    Nsabagwa Mary ·Hunan University ·2010 ·Master's thesis
  7. Adaptive multi-application environment prefetching Strategy
  8. The Measurement and Optimization of Parallel File System in Mass Storage System
    ZhouFanFu ·Shanghai Jiaotong University ·2012 ·Master's thesis
  9. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  10. Intelligent Video Surveillance System Based on DSP
  11. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  12. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  13. Design and Implementation of High Speed Data Recorder Based on FPGA
  14. Design and Implementation of Multi-channel Data Acquisition System
  15. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  16. Wire Rope On-line Detection System Design Based on DSP
  17. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  18. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  19. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  20. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis