NVDIMM-based data writing and caching methods and apparatuses

A data writing and data technology, applied in the direction of electrical digital data processing, memory system, memory address/allocation/relocation, etc.

Active Publication Date: 2017-03-01
MEMBLAZE TECH BEIJING
View PDF15 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] One purpose of the present invention is to solve the problem of improving write performance without data loss when power is off, and to achieve both write performance and data reliability

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
  • NVDIMM-based data writing and caching methods and apparatuses
  • NVDIMM-based data writing and caching methods and apparatuses
  • NVDIMM-based data writing and caching methods and apparatuses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] figure 2 It is a block diagram of a storage system according to an embodiment of the present invention. In accordance with figure 2 In the embodiment, the storage system may be a computer or a server, including a CPU 210, an NVDIMM 220, and one or more disk (DISK) devices 230. The disk device 230 may be a mechanical hard disk, a solid state hard disk, or a memory card. The disk device 230 can exchange data with the CPU through methods such as SATA, IDE, USB, PCIe, NVMe, SCSI, Ethernet, and the like. The disk device 230 may be directly coupled to the CPU 210, or may be coupled to the CPU 210 through a bridge chip (not shown) such as a chipset. The NVDIMM 220 is coupled to the CPU 210 through the DIMM memory slot. The CPU 210 may include one or more CPU chips. One or more disks 230 may be organized into RAID to provide high-performance and high-reliability storage services.

[0039] The CPU 210 runs software that accesses the storage system, such as application softwar...

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 discloses NVDIMM (Non-Volatile Dual In-line Memory Module)-based data writing and caching methods and apparatuses. The NVDIMM-based data writing method comprises the steps of receiving a first data writing request, wherein the first data writing request indicates that first data is written in a first address; in response to operation of receiving the first data writing request, writing the first data in an NVDIMM; in response to the completion of the operation of writing the first data in the NVDIMM, sending a message which indicates the completion of the first data writing request; in response to the operation of receiving the first data writing request, writing the first data in a storage device; and in response to the completion of the operation of writing the first data in the storage device, releasing the storage space occupied by the first data in the NVDIMM.

Description

Technical field [0001] The present invention relates to a high-performance storage system. More specifically, the present invention relates to a method and a device for caching write data based on NVDIMM (Non-Volatile Dual In-line Memory Module) in the storage system. Background technique [0002] To improve the write operation performance of the storage system, a high-speed buffer is generally provided in the system for caching the written data. One way to provide a write cache is to create a cache in the memory. After the write request for a file or block device is written to the cache in the memory, it can return the completion of the write operation to the host, and then asynchronously write the data to the disk through a background operation . This method is usually called write-back (write back). Another method is to wait for the data in the buffer to be synchronized to the disk before returning the completion of the write operation to the host. This is called write-throu...

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/02G06F12/0877
Inventor 王田欧阳涛吴忠杰
Owner MEMBLAZE TECH BEIJING
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