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 in the related art that the utilization rate of system resources decreases due to idle node resources during the resource reservation process.

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

Embodiment 1

[0023] This embodiment provides a task resource reservation method, figure 2 is a flow chart of a task resource reservation method provided 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; wherein, the first node set includes one or more first nodes, and the second node set includes one or more second nodes available 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 embodiment is a subset of the first node set, and th...

Embodiment 2

[0086] This embodiment provides a task resource reservation device, which is used to implement the above embodiments and preferred implementation modes, and what has been described will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

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

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

Embodiment 3

[0117] Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute any one of the above method embodiments when running. step.

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

[0119] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, Various media that can store computer programs such as RAM), mobile hard disk, magnetic disk or optical disk.

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