Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A data writing method and device for reducing synchronization overhead

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 the number of synchronizations, and eliminating synchronization overhead

Inactive Publication Date: 2018-08-17
CAPITAL NORMAL UNIVERSITY
View PDF5 Cites 0 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
  • A data writing method and device for reducing synchronization overhead
  • A data writing method and device for reducing synchronization overhead
  • A data writing method and device for reducing synchronization overhead

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) problem. The so-called crash consistency problem refers to the transition of the file system from a state of data consistency to a state of Another state of data inconsistency. To ensure data consistency, the atomicity of data updates is the most important basis. Therefore, the application system adopts the transaction mechanism to ensure ...

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products