Unlock instant, AI-driven research and patent intelligence for your innovation.

A scheduling execution method, device and medium based on multi-thread tasks

An execution method and task execution technology, applied in the field of storage systems, can solve problems such as clock synchronization, achieve the effects of ensuring relative synchronization, solving clock synchronization problems, and improving system performance

Active Publication Date: 2021-12-03
JINAN INSPUR DATA TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a multi-thread task-based scheduling execution method, device and computer-readable storage medium, which can solve the clock synchronization problem in the multi-thread task scheduling execution process without increasing the cost

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 scheduling execution method, device and medium based on multi-thread tasks
  • A scheduling execution method, device and medium based on multi-thread tasks
  • A scheduling execution method, device and medium based on multi-thread tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0054] Next, a multi-thread task-based scheduling execution method provided by an embodiment of the present invention is described in detail. figure 1 It is a flow chart of a method for scheduling ex...

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 embodiment of the present invention discloses a scheduling execution method, device and medium based on multi-threaded tasks, which sequentially buffer the built timer events into the task queue according to the time sequence of task execution; update the global time counter by using preset working threads , and use the current time recorded by the global time counter as the initial time of all local time counters. When the current time recorded by the local time counter of the first timer event reaches the task execution time corresponding to the first timer event, the corresponding worker thread is used to execute the pending task corresponding to the first timer event; The current time recorded by the local time counter of the first timer event is used as the initial time of the next timer event, until all timer events in the task queue are polled, the operation ends. On the premise of not increasing the cost, the problem of clock synchronization in the process of multi-thread task scheduling and execution is solved.

Description

technical field [0001] The present invention relates to the technical field of storage systems, and in particular to a scheduling execution method, device and computer-readable storage medium based on multi-thread tasks. Background technique [0002] As the storage system has to process more and more IO requests (that is, tasks to be performed), the performance requirements of the storage system are also higher and higher. In the case of more and more tasks to be performed, in order to improve the performance of task processing, at present, a common method is to create as many threads as possible to increase the degree of concurrency. Under the application background of multi-thread task scheduling and execution, the selection and design of timer processing mode is particularly critical. [0003] In the existing computer multi-node system, two ideas of hardware and software are generally used to realize the timer function. The hardware method can include satellite signal t...

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): G06F9/50G06F9/48G06F9/54
CPCG06F9/4881G06F9/4887G06F9/5027G06F9/544G06F2209/5018
Inventor 张珠玉
Owner JINAN INSPUR DATA TECH CO LTD