Task scheduling method and device
A task scheduling and task technology, applied in the computer field, can solve the problem of high bandwidth occupation between clusters
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a schematic flowchart of a task scheduling method provided in Embodiment 1 of the present invention. The method provided in this embodiment can be executed by a task manager in a distributed system, such as figure 1 As shown, the methods include:
[0024] Step 101, determine the network resources between the default cluster of the task and the idle target cluster.
[0025] Wherein, the default cluster is a cluster storing task data required for running the task, and the network resources include: at least one of network bandwidth and network bandwidth-delay product.
[0026] Specifically, a set of network models can be established, and the network model is used to distinguish the network structure relationship between different clusters. The network structure relationship mentioned here can include the same core switch, the same region and different regions. Among them, the same core switch means that the two clusters belong to the same core switch, the...
Embodiment 2
[0042] image 3 It is a schematic flowchart of a task scheduling method provided in Embodiment 2 of the present invention, as shown in image 3 shown, including:
[0043] Step 201 , query whether the load of the default cluster of the task is idle, if it is idle, execute step 202 , otherwise execute step 203 .
[0044] Specifically, after obtaining the task to be scheduled, first check whether the load of the default cluster of the task is idle, and if it is idle, the task will be run by the default cluster. The cluster reads the task data required for running. Therefore, running the task on the default cluster can effectively avoid the bandwidth occupation caused by reading the task data, thereby avoiding the occurrence of excessive bandwidth occupation.
[0045]Step 202, schedule the task to the default cluster, and the process ends.
[0046] Specifically, tasks are scheduled to be queued to run on the default cluster.
[0047] Step 203 , judging whether there is a targe...
Embodiment 3
[0062] Figure 4 A schematic structural diagram of a task scheduling device provided by Embodiment 3 of the present invention, as shown in image 3 As shown, it includes: a determination module 31 and a scheduling module 32 .
[0063] A determining module 31, configured to determine network resources between a default cluster of a task and an idle target cluster.
[0064] Wherein, the default cluster is a cluster storing task data required for running the task, and the network resources include: at least one of network bandwidth and network bandwidth-delay product.
[0065] The scheduling module 32 is configured to schedule tasks according to network resources between the default cluster and the target cluster.
[0066] Specifically, the scheduling module 32 is specifically configured to schedule tasks to the target cluster with the most network resources.
[0067] further, Figure 5 A schematic structural diagram of another task scheduling device provided by Embodiment 3 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com