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

Load balance mechanism-based weight priority task scheduling method

A load balancing and task scheduling technology, applied in program control design, resource allocation, instrumentation, etc., can solve problems such as task congestion, high load of worker node tasks, and failure to take into account

Active Publication Date: 2018-08-24
CHONGQING UNIV OF POSTS & TELECOMM
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In summary, the problems in the prior art are: The existing improved algorithm does not take into account that there are many waiting tasks on the worker nodes with high weights, resulting in task congestion; when the task task selects the worker nodes, only the node with the largest weight is considered, resulting in a single The situation where the number of worker node tasks is too high

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
  • Load balance mechanism-based weight priority task scheduling method
  • Load balance mechanism-based weight priority task scheduling method
  • Load balance mechanism-based weight priority task scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] Such as figure 1 As shown, the weight priority Task task scheduling method based on the load balancing mechanism provided by the embodiment of the present invention includes the following steps:

[0039] S101: Classify the task tasks, and divide the task tasks into four categories based on the two conditions of the task task reading speed and the size of the occupied resources; add a load balancing module to each worker node to make it a distributed load balancing model ;

[0040] S102: Dynamically monitor the resource usage and load situation on each worker node, according to the size of the weight on the master ...

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 belongs to the technical field of resource allocation, and discloses a load balance mechanism-based weight priority task scheduling method, which avoids excessively high load of a singlehigh-weight worker node and improves the problem that a large task is directly discarded. The method comprises the steps of firstly classifying tasks: classifying the tasks into four types accordingto two conditions including a task reading speed and an occupied resource quantity; adding a load balance module to each worker node, thereby enabling each worker node to become a distributed load balance model; and dynamically monitoring resource usage and load conditions of each worker node, performing mapping to each worker node according to weight values on a master node and the task classification condition, and performing task scheduling. The problems of load imbalance among the high-weight worker nodes and queue congestion are solved.

Description

technical field [0001] The invention belongs to the technical field of resource allocation, and in particular relates to a weight priority Task scheduling method based on a load balancing mechanism. Background technique [0002] At present, the existing technologies commonly used in the industry are as follows: [0003] In the spark source code, the scheduling process from task tasks to worker nodes is prioritized according to the priority of the stage and the locality of the task. By default, the task uses one thread for calculation. When broadcasting a task, if the task is larger than 128mb-200mb, the task will be discarded directly. Tasks will be assigned to each worker node by the master node in the form of a queue. This will lead to unbalanced distribution among the nodes, resulting in long-term starvation of high-configuration nodes and long-term full-load status of low-configuration nodes, resulting in longer task completion time, lower performance, and lower resou...

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 Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5027G06F9/5088G06F2209/508
Inventor 尚凤军陈炫伶
Owner CHONGQING UNIV OF POSTS & TELECOMM
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