The invention belongs to the field of PCIe Switch
interconnection, and relates to a GPU cross-host communication
interconnection system based on PCIe NTB, which comprises two hosts, two GPUs and two PCIe Switch chips, the two GPUs are respectively connected with the PCIe Switch chips, the two PCIe Switch chips are connected through a Crosslink line, a connection port of each PCIe Switch
chip is set to be in an NTB mode, and the two GPUs achieve
interconnection communication through the NTB. By windowing in the NTB, the address of the remote equipment is mapped in the local
address space, so that the purpose of accessing the remote equipment is achieved. The PCIe Switch is used for replacing high-end network equipment, so that the hardware cost can be remarkably reduced, and the complexity of
system deployment is reduced. Communication between the devices can be directly accessed through a
memory address, and
complex network connection, IP addresses or special
software protocols do not need to be set; and low-
delay and high-bandwidth GPU cross-host interconnection communication is achieved. Through the GPU which carries out cross-host communication in a PCIe NTB mode, the effect of GPU Direct P2P can be achieved.