Weight priority task task scheduling method based on load balancing mechanism

A technology of load balancing and task scheduling, applied in the direction of program control design, multi-program device, instrument, etc., can solve problems such as unconsidered, high task load of worker nodes, task congestion, etc., to improve resource utilization and solve The effect of high load on weak nodes and saving task running time

Active Publication Date: 2022-01-14
广州广电云融数字科技有限公司
View PDF5 Cites 0 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
  • Weight priority task task scheduling method based on load balancing mechanism
  • Weight priority task task scheduling method based on load balancing mechanism
  • Weight priority task task scheduling method based on load balancing mechanism

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 weight-priority Task task scheduling method based on a load balancing mechanism, so as to avoid the problem that the load of a single high-weight worker node is too high, and the problem that a large task task is directly discarded is improved; firstly, the The task task is classified, and the task task is divided into four categories based on the two conditions of the task task reading speed and the amount of resources occupied; a load balancing module is added to each worker node to make it a distributed load balancing model; and dynamic Monitor the resource usage and load on each worker node, and then map to each worker node by classifying the task according to the size of the weight on the master node, and then schedule the task task. Solve the problem of load imbalance and queue congestion among high-weight worker nodes.

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 Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5027G06F9/5088G06F2209/508
Inventor 尚凤军陈炫伶
Owner 广州广电云融数字科技有限公司
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