Preempting or traversing allocated resource applications based on job priority and resource demand information
Abstract:
A priority-based resource allocation method, includes accepting a resource application submitted by a job, the resource application including resource demand information and job priority information; determining, according to the resource demand information of the resource application, whether remaining resources of a system meet the resource application, and traversing, in an allocated resource application queue when the remaining resources do not meet the resource application, allocated resource applications having job priorities lower than that of the resource application; using the sum of system resources occupied by all traversed resource applications plus the remaining resources as available resources; and stopping traversing when the available resources meet the resource application, and allocating the available resources to the resource application. The technical solution of the present disclosure enables a resource application having a high job priority to preempt resources of a resource application having a low job priority.
Public/Granted literature
Information query
Patent Agency Ranking
0/0