Job scheduling method and apparatus
A job scheduling and job entity technology, applied in the field of computer networks, can solve problems such as unbalanced utilization, unguaranteed minimum resource quotas for jobs, and inability to meet concurrent multi-scheduling requirements, and achieve the effect of improving utilization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] According to an aspect of the embodiments of the present invention, a method for job scheduling is provided, such as figure 1 shown, including:
[0072] Step S11 , acquiring the priority information of the job entity carried by the job entity and the minimum amount of resources required by the job entity.
[0073] Among them, Job_i is used to represent the job entity with the serial number i, and the job entity includes several important information related to SLA in addition to the basic information of the job: Job_i{sla_i, time_max_i}. Among them, sla_i represents the priority of Job_i, which is defined as any integer from 1 to 1000; time_max_i represents the maximum allowable execution time of Job_i; and the data of {sla_i, time_max_i} is defined when the user submits Job_i. The minimum resource quantity required by the job entity is obtained through related algorithms after the job entity is submitted.
[0074] Step S13 , according to the priority information of t...
Embodiment 2
[0112] According to another aspect of the embodiments of the present invention, a job scheduling device is provided, such as figure 2 As shown, the device 200 includes:
[0113] An acquisition module 201, configured to acquire the priority information of the operation entity carried by the operation entity and the minimum resource quantity required by the operation entity;
[0114] A planning module 203, configured to divide a plurality of job entities with the same priority into the same job queue according to the priority information of the job entities, so as to obtain at least one job queue;
[0115] A resource allocation module 205, configured to obtain available resources in the resource queue and allocate them to the job entity if the number of resources allocated to the job entity in each job queue is less than the minimum resource quantity required by the job entity .
[0116] Optionally, as in image 3 As shown, the resource allocation module 205 includes:
[01...
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