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

Method and device for writing data to disk through cache during starting up

A technology for booting and writing data, which is applied in the fields of electrical digital data processing, memory system, memory address/allocation/relocation, etc., and can solve the problems of booting time consumption and delaying system booting time, etc.

Inactive Publication Date: 2014-03-05
BEIJING QIHOO TECH CO LTD +1
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With this boot mechanism, the application layer needs to wait for the completion of data writing before proceeding with the boot process, resulting in a large amount of system boot time spent waiting.
It has been verified by experiments that during the boot time of about 30 seconds, the system waits for queuing to write data to the disk for about 8 seconds, which greatly delays the system boot time

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
  • Method and device for writing data to disk through cache during starting up
  • Method and device for writing data to disk through cache during starting up
  • Method and device for writing data to disk through cache during starting up

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0016] figure 1 A flow chart showing a method for writing data to a disk through a cache during startup according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:

[0017] Step S110, during the execution of the boot program, intercept the write data request sent by the application layer to the disk, and store the data corresponding to the write data request into the...

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 method and device for writing data to a disk through a cache during starting up. The method comprises the steps that in the executing process of a starting-up procedure, a data writing request sent by an application layer to the disk is intercepted, and data corresponding to the data writing request are stored into the cache; a data writing success response is returned to the application layer to allow the application layer to continue to execute the starting-up procedure according to the response; when the disk is detected to be idle, the data in the cache are written into the disk. According to the method and device for writing the data to the disk through the cache during starting up, in the starting-up procedure executing process, the data which originally need to be written into the disk are written into the cache, and the data writing success response is immediately fed to the application layer at the same time, time of the application layer for waiting the response is saved, the starting-up procedure standards are met, and influences cannot be caused on later system operation.

Description

technical field [0001] The invention relates to the technical field of computer system optimization, in particular to a method and a device for writing data to a disk through a cache during startup. Background technique [0002] In the existing computer system, in order to maintain data consistency, there is the following boot mechanism: when the application layer wants to write data to the disk, it sends a write data request to the disk, and queues the write data to the disk according to the write data request. The required data; during the data writing process, the system waits until the data to be written is completely written to the disk, and then responds to the application layer; the application layer can continue to execute the boot program after receiving the response. With this booting mechanism, the application layer needs to wait for the completion of data writing before proceeding with the booting process, resulting in a large amount of system booting time spent ...

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
IPC IPC(8): G06F3/06G06F12/08G06F12/0868
Inventor 李常坤
Owner BEIJING QIHOO TECH CO LTD
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