The invention relates to the field of container and
virtual machine mixed scheduling, in particular to a container and
virtual machine mixed scheduling method and device based on a domestic AI
server, and the method comprises the steps: judging whether the
server is used for operating a
virtual machine or a container, if the
server is used for operating the virtual
machine, operating the virtual
machine and executing corresponding operation, and if the server is used for operating the container, executing corresponding operation; if yes, the container is operated, corresponding operation is executed, a
Volcano scheduling framework is integrated, and a Gang scheduling strategy and a BinPack scheduling strategy are defined; and a resource
pooling management and dynamic adjustment mechanism is adopted, so that the
resource utilization rate and the task execution efficiency are improved. According to the method, the container and the virtual
machine can share and efficiently utilize the Ascend-910B resources, collaborative operation of multiple types of tasks is achieved, deep fusion and efficient
collaboration of the container, the virtual machine and the domestic AI resources are achieved, and the scheduling intelligence level and the
resource utilization efficiency of the domestic AI infrastructure are improved.