The invention relates to a shared GPU resource
fair scheduling method and
system based on multi-dimensional priority, and belongs to the field of
cloud computing and container
orchestration.The method comprises the steps that
pooling and
virtualization segmentation are conducted on physical GPU resources in a cluster, and a unified GPU
resource pool is formed; calculating the comprehensive priority weight of the task according to the user level, the task type and the
service quality in combination with a multi-dimensional priority model; a scheduling decision is made based on a weighted dominant resource fair
algorithm, task priority weights and dominant resource proportions are comprehensively considered, and
fair scheduling and optimal distribution of GPU resources are achieved; through a resource monitoring and feedback mechanism, the GPU
utilization rate, the task execution state and the
resource allocation result are monitored in real time, priority parameters and scheduling weights are dynamically adjusted, and finally
fair scheduling of shared GPU resources is achieved. According to the method, intelligent allocation, resource sharing and fair scheduling of tasks can be realized in a GPU
virtualization environment, and the scheduling efficiency and the overall cluster
utilization rate are improved.