Task resource reservation method and device

A technology of resource reservation and task, applied in the direction of resource allocation, multi-programming device, program control design, etc., can solve the problem of reducing the utilization rate of system resources, and achieve the effect of improving the utilization rate of system resources

Pending Publication Date: 2020-05-12
QINGDAO HAIER TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a resource reservation method and device for tasks, so as to at least solve the problem i

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
  • Task resource reservation method and device
  • Task resource reservation method and device
  • Task resource reservation method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0022] Example 1

[0023] This embodiment provides a resource reservation method for tasks, figure 2 It is a flowchart of a task resource reservation method according to an embodiment of the present invention, such as figure 2 As shown, the task resource reservation method in this embodiment includes:

[0024] S102: Select a second node set from the first node set; where the first node set includes one or more first nodes, and the second node set includes one or more second nodes that can be used for resource reservation;

[0025] S104: According to the first running time information of the second node, select a target node from one or more second nodes to perform resource reservation processing for the task to be scheduled; wherein the first running time information is used to indicate that the second node is currently running The moment of completion of the task.

[0026] It should be further explained that the second node set in the above-mentioned embodiment is a subset of the f...

Example Embodiment

[0085] Example 2

[0086] This embodiment provides a task resource reservation device, which is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated. As used below, the term "module" may implement a combination of software and / or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, hardware or a combination of software and hardware is also possible and conceived.

[0087] Figure 4 It is a structural block diagram of a task resource reservation device according to an embodiment of the present invention, such as Figure 4 As shown, the resource reservation device for tasks in this embodiment includes:

[0088] The selection module 202 is configured to select a second set of nodes from a first set of nodes; wherein, the first set of nodes includes one or more first nodes, and the second set of nodes includes one or ...

Example Embodiment

[0116] Example 3

[0117] The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the foregoing method embodiments when running. step.

[0118] Optionally, in this embodiment, the foregoing computer-readable storage medium may be configured to store a computer program for executing the method steps recorded in the foregoing embodiment:

[0119] Optionally, in this embodiment, the foregoing computer-readable storage medium may include, but is not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), and Random Access Memory (Random Access Memory, for short). It is a variety of media that can store computer programs such as RAM), mobile hard disks, magnetic disks or optical disks.

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 provides a task resource reservation method and device, and the method comprises the steps: selecting a second node set from a first node set, wherein the first node set comprises one ormore first nodes, and the second node set comprises one or more second nodes which can be used for resource reservation; selecting a target node from the one or more second nodes according to the first running moment information of the second nodes so as to perform resource reservation processing on a to-be-scheduled task, wherein the first running time information is used for indicating the completion time of the current running task of the second node. Through the resource reservation method and device, the problem that the system resource utilization rate is reduced due to idle node resources in the resource reservation process in the prior art can be solved, so that the effect of improving the system resource utilization rate in the resource reservation process is achieved.

Description

technical field [0001] The present invention relates to the field of computer software, in particular to a task resource reservation method and device. Background technique [0002] Cluster management systems, such as OpenPBS, need to reserve resource nodes in the system during task scheduling. At present, the reservation strategy in related technologies is usually that when a task waits in the queue for more than a certain length, it can reserve the node resources it needs, that is, when some of these node resources become available, no It is then assigned to other tasks, and the task is put into operation until all reserved resources are satisfied. [0003] Although the above reservation strategy can alleviate the phenomenon that tasks with large resource requirements cannot be run for a long time to a certain extent, resource fragments will be generated during the above resource reservation process; figure 1 It is a schematic diagram of resource and time distribution du...

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): G06F9/50
CPCG06F9/5027Y02D10/00
Inventor 尹德帅徐志方刘超马成东钱学文
Owner QINGDAO HAIER TECH
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