Storage system with second-level cache structure and reading/writing method

A storage system and read cache technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of increasing product cost, loss, system loss, etc., and achieve the effect of cost optimization, increased speed, and good read operation performance

Active Publication Date: 2016-06-01
SHANGHAI CIYU INFORMATION TECH
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the introduction of the write cache creates a new problem: once a power failure occurs, the content in the DRAM cache that has not been written to the NAND will be lost, causing the system to lose data or even damage the entire file system
Using a large amount of MRAM will also significantly increase the cost of the product

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage system with second-level cache structure and reading/writing method
  • Storage system with second-level cache structure and reading/writing method
  • Storage system with second-level cache structure and reading/writing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] Such as Figure 5 As shown, a storage system with a secondary cache structure according to an embodiment of the present invention includes a host memory DRAM and a solid-state hard disk, the solid-state hard disk includes a main control chip, a NAND chip, and MRAM, the host memory DRAM includes a read cache, and the MRAM includes a write cache .

[0057] The host memory also includes a read cache table, which is used to store whether each page in the read cache is free and the corresponding NAND page address when it is not free.

[0058] The read cache table can also store read operation time or read operation frequency.

[0059] The MRAM also includes a write cache table, which is used to store whether each page in the write cache is free and the corresponding NAND page address when it is not free.

[0060] The write cache table may also store write operation time or write operation frequency.

[0061] In the storage system with a secondary cache structure in this e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a storage system with a second-level cache structure. The storage system comprises a host internal memory and a solid state hard disk, wherein the solid state hard disk comprises a main control chip, an NAND chip and an MRAM; the host internal memory comprises a read cache; and the MRAM comprises a write cache. The invention furthermore provides a reading/writing method which adopts the storage system with the second-level cache structure. According to the second-level cache structure and the reading/writing method which adopts the second-level cache structure, the reading operability is better; the MARM is used as the write cache, so that the data writing speed is greatly improved while the security of the data under the condition of unexpected outage is ensured; by using the read cache in the host internal memory, the limited MRAM space can be used as the write cache as much as possible, so that the cost is optimum and an expensive outage protection system is saved; and by using the MRAM as the write cache, the write frequency of the NAND is decreased, so that the NAND is protected and the service life of the NAND is prolonged. According to the storage system and the reading/writing method, a scheme with good cost-benefit ratio is provided.

Description

technical field [0001] The invention relates to a solid-state hard disk, in particular to a storage system with a secondary cache structure and a read-write method. Background technique [0002] Currently, the development of NAND flash memory technology has promoted the SSD industry. Such as figure 1 As shown, high-speed serial interfaces such as SATA, PICe and other technologies are used between the SSD and the host. The interior consists of a set of NAND chips used to store data, DDR DRAM (memory) used to support calculations and cache data, and a main control chip (SSD Controller). Sometimes a power failure protection system is also required. [0003] NAND is a storage device that reads and writes in blocks. The smallest readable unit is called a page, and the smallest erasable unit is called a block. A block is often composed of many pages. After the block is erased, the Pages can be written individually. Write operations are slow, much slower than read operations, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/08
Inventor 戴瑾
Owner SHANGHAI CIYU INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products