The invention belongs to the technical field of computer
virtualization, and particularly discloses an elastic hierarchical scheduling method and device for
graphics card
virtualization, equipment and a storage medium. According to the method and the device, when the video card request command information of the
virtual machine is received, the scheduling layer where the
virtual machine is currently located is determined according to the analyzed
virtual machine identifier; determining a target
graphics card
resource allocation strategy according to the scheduling layer; when it is determined that the cross-layer adjustment
resource allocation condition is not met,
graphics card resources dynamically scheduled to a scheduling layer are calculated; and distributing the video card resources according to the target video card
resource distribution strategy. Through the mode, the performance loss of the virtualized graphic
processing task is reduced by adopting the para-
virtualization framework, when it is determined that the cross-layer adjustment
resource allocation condition is not met, fair allocation and efficient utilization of graphics card resources are achieved according to the target graphics card resource allocation strategy, dynamic allocation of resources and
adaptation of task loads in a multi-virtual-
machine environment are guaranteed, and the resource allocation efficiency is improved. Therefore, the accuracy of
dynamic resource allocation and the
resource utilization rate can be effectively improved.