Task scheduling-based load balance method and system

A technology of load balancing and task scheduling, applied in resource allocation, multi-programming devices, etc., can solve the problems that the shared resources of each node cannot be fully utilized, cannot meet the calculation requirements of task volume, and the shared resources of computers are idle. Achieve the effect of improving parallel resource utilization and overall performance, eliminating uneven load, and reducing complexity

Inactive Publication Date: 2018-01-09
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are many deficiencies in the traditional task scheduling system, which cannot meet the increasing computing demands of tasks, and there are a lot of idle shared resources of some computers in the cluster, and the overload of a few computer systems is too large, which leads to the failure of each node. Shared resources cannot be fully utilized, and these problems will seriously affect the performance of the system

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 scheduling-based load balance method and system
  • Task scheduling-based load balance method and system
  • Task scheduling-based load balance method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0068] The load balancing method based on task scheduling in this embodiment, resource scheduling based on cloud computing, such as image 3 shown, including the following steps:

[0069] Step A, the central task scheduler 1 assigns tasks to each executor 2 according to the first-in-first-out principle through the load balancing algorithm;

[0070] Step B, the executor 2 establishes a Deque queue 3 and stores the received tasks on the Deque queue 3, the Deque queue 3 is a queue with limited input, and the head of the Deque queue 3 can only be deleted , and the tail of the Deque queue 3 can be inserted and deleted; the executor 2 inserts tasks from the bottom of the Deque queue 3 and deletes completed tasks;

[0071] Step C, the central task scheduler 1 monitors the number of tasks of all executors...

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 discloses a task scheduling-based load balance method and system. A central task scheduler adopts a load balance algorithm; executors establish Deques and store received tasks in the Deques; and the thief executor captures the tasks at the head of the Deque of the Victim executor through a bisection method according to a received address of the Victim executor, and inserts the tasksinto the own Deque. Through modes of task distribution, task extraction and the like, the executor with a relatively small task quantity is scheduled to execute the tasks of the executor with a maximum task quantity, so that dynamic distribution and migration of the tasks are realized, the load imbalance phenomenon of each executor is eliminated, and the task execution becomes efficient and parallel; and each executor stores the tasks through the Deque and extracts the tasks through the bisection method, so that the problem of task execution deadlock caused by resource contention is avoided, the higher load balance degree is obtained, and the parallel resource utilization rate and the overall performance of the system are improved.

Description

technical field [0001] The invention relates to the field of cloud computing resource scheduling, in particular to a load balancing method and system based on task scheduling. Background technique [0002] Load balancing is the distribution of load among multiple computers (computer clusters), network connections, CPUs, disk drives, or other resources in order to optimize resource usage, maximize throughput, minimize response time, and avoid overloading at the same time . More and more modern enterprise information applications adopt B / S application architecture to carry the key business of the enterprise. Therefore, it is becoming increasingly important to ensure the reliable operation of these tasks. As more and more enterprises implement data centralization, the scalability, security and reliability of applications are also paid more and more attention by enterprises. [0003] In cloud computing, task scheduling is the key to affecting system performance. How to effect...

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
Inventor 李绍良黄衍博周保群黄春豪史伟麦剑
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD
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