Data writing method and apparatus for reducing synchronization overheads

A data writing and data technology, applied in the computer field, can solve problems such as a great impact on system performance, and achieve the effect of reducing synchronization overhead, reducing synchronization times, and eliminating synchronization overhead.

Inactive Publication Date: 2016-06-15
CAPITAL NORMAL UNIVERSITY
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Frequent synchronization operations increase the system's response to data reliability risks caused by abnormal power failures or system crashes, but frequent synchronization operations have a great impact on system performance

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
  • Data writing method and apparatus for reducing synchronization overheads
  • Data writing method and apparatus for reducing synchronization overheads
  • Data writing method and apparatus for reducing synchronization overheads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The purpose of the present invention is to provide a writing method and device to reduce the synchronization overhead and improve the data reliability of the system against abnormal power failure or system crash.

[0027] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] figure 1 A flow chart of the data writing method for reducing the synchronization overhead of the present invention, such as figure 1 As shown, the present invention is a data writing method that reduces synchronization overhead, specifically comprising the following steps:

[0029] 100. Obtain externally written data;

[0030] 101. Copy the data to a log area for backup, specifically including: copying the data to a scratch pad SPM for backup, where the storage medium of the scratch pad SPM is a spin tr...

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 a data writing method and an apparatus for reducing synchronization overheads. The method comprises: acquiring data written from outside; copying the data to a log region for backup; determining cached pages corresponding to the data; in according with the cache mode of the cached page where the data are, making the data persistent. The method and apparatus of the invention, in accordance with frequency of data writing, adopt different cache modes, and merely store frequently written data to a Cache region, and reduces synchronization overheads written to an off-chip memory. And a scratch pad memory (SPM) which stores backup log to the chip without having to writing to the off-chip memory, which further reduces synchronization overheads.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data writing method and device for reducing synchronization overhead. Background technique [0002] Abnormal power failure and system crash are major threats to storage systems. In the process of writing data to the disk, if there is an abnormal power failure or system crash, the data will be lost, causing a phenomenon in the storage system that "some parts have been updated with new data, while the other part is still old data". This phenomenon is called data inconsistency, and the resulting problem is called crash consistency (crash consistency). A state where data is inconsistent. To ensure data consistency, the atomicity of data updates is the most important basis. Therefore, the application system adopts the transaction mechanism to ensure the atomicity of data update. The main method is to record the new data in a log area before updating the old data at the original location,...

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): G06F11/14G06F3/06
CPCG06F3/0625G06F3/065G06F11/1471
Inventor 徐远超万虎闫俊峰张伟功
Owner CAPITAL NORMAL UNIVERSITY
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