Disclosure of Invention
Aiming at the problems in the related art, the invention provides a cloud server system, which saves the cost and simultaneously improves the performance of a cloud server.
The technical scheme of the invention is realized as follows:
in order to solve the problems existing in the prior art, the invention discloses a cloud server system, which comprises: the system comprises a plurality of management nodes and a plurality of first FPGA modules, wherein the management nodes are respectively connected with the first FPGA modules in a one-to-one correspondence manner; and each first FPGA module comprises: the device comprises an upstream unit and a plurality of downstream units, wherein the upstream unit is respectively connected with each downstream unit, and each downstream unit is connected with the virtio device.
According to one embodiment of the invention, each management node is connected with a corresponding first FPGA module through a PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: and the second FPGA module is connected with all the first FPGA modules through the PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: and the management node is connected with the second FPGA through a PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: the management node is also connected with the storage device, the network device and the input and output device respectively.
The invention has the beneficial technical effects that:
according to the cloud server system, the FPGA module is utilized, so that the cloud server system has better expandability, the node scale can be flexibly customized according to the specific application of a client, meanwhile, the semi-virtualization technology of equipment is realized by combining with the virtio technology, the cost can be well saved, the management is convenient, and the safety purpose can be achieved. In addition, the FPGA module is used as a basis of data exchange, communication is realized by using a standard PCI protocol, and the effect of high-speed communication can be realized.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
In order to solve the problems in the prior art, the present invention discloses a cloud server system, as shown in fig. 1, the cloud server system includes: the system comprises a plurality of management nodes and a plurality of first FPGA modules, wherein the management nodes are respectively connected with the first FPGA modules in a one-to-one correspondence manner; and each first FPGA module comprises: the device comprises an upstream unit and a plurality of downstream units, wherein the upstream unit is respectively connected with each downstream unit, and each downstream unit is connected with the virtio device.
By means of the technical scheme, the FPGA module is utilized, so that the cloud server system has better expandability, the node scale can be flexibly customized according to specific application of a client, meanwhile, the semi-virtualization technology of equipment is realized by combining with the virtio technology, the cost can be well saved, the management is convenient, and the safety purpose can be achieved. In addition, the FPGA module is used as a basis of data exchange, communication is realized by using a standard PCI protocol, and the effect of high-speed communication can be realized.
According to one embodiment of the invention, each management node is connected with a corresponding first FPGA module through a PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: and the second FPGA module is connected with all the first FPGA modules through the PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: and the management node is connected with the second FPGA through a PCI bus.
According to an embodiment of the present invention, the cloud server system further includes: the management node is also connected with the storage device, the network device and the input and output device respectively.
In order to better understand the technical solution of the present invention, the following detailed description is given by specific examples.
As shown in fig. 1, the cloud server system includes: a compute node (or CN)1, a compute node 2, an FPGA11 (or a first FPGA module 11), an FPGA12 (or a first FPGA module 12), an FPGA2 (or a second FPGA module 2), and a management node (or IO), wherein the compute node 1 is connected to the FPGA11 through a PCI (Peripheral Component Interconnect) bus, so that a PCI Switch is implemented on the FPGA11, and the FPGA11 includes: an Upstream (or Upstream unit, which can be regarded as a signal sending unit), and a plurality of down (or downstream units, which can be regarded as signal receiving units), the Upstream is respectively connected with a plurality of down, and a virtio (abstraction layer above the device in the semi-virtualized hypervisor) device is hung under each down, meanwhile, the FPGA11 is a logic device, which can be realized by a programming language, and the semi-virtualization technology for realizing the virtio device is based on a PCI bus, which is convenient for realizing FPGA logic. In addition, the implementation of CN2 and FPGA12 is similar to the above and will not be described in detail here. In addition, it is certainly understood that although the present embodiment defines the FPGA11 as a logic device, those skilled in the art should understand that it can also be implemented by a chip or the like.
In addition, with continued reference to fig. 1, the FPGAs 11 and 12 are further connected to the FPGA2 through a PCI bus, the FPGA2 is used for data exchange between CN1 and CN2, and at the same time, it also serves as a path for a virtio device, and in addition, the FPGA2 is also connected to a management node through a PCI bus, the management node is responsible for managing the whole cloud server system, and at the same time, the management node is respectively connected to blk (or a storage device), net (or a network device), and sci (or an input/output device), so that the CN1 and CN2 share resources of storage, network, input/output of the management node through a paravirtualization technology. In addition, the management node realizes virtio device virtualization back-end drive for the devices hung on the management node, and the CN node realizes virtio device virtualization front-end drive. It should be understood that although fig. 1 illustrates the management node connected to the storage device, the network device, and the input/output device, those skilled in the art should understand that the management node may also be connected to other devices, and this method is not limited thereto.
In addition, it is understood that, although the specific number of the compute nodes, the first FPGA modules, the downstream units, etc. is specifically limited in the present embodiment, it should be understood by those skilled in the art that the number may be set according to actual requirements, and the present invention is not limited to this.
In summary, according to the technical scheme of the invention, the cloud server system has better expandability by using the FPGA module, the node scale can be flexibly customized according to the specific application of the client, and meanwhile, the semi-virtualization technology of the device is realized by combining with the virtio technology, so that the cost can be well saved, the management is convenient, and the purpose of safety can be achieved. In addition, the FPGA module is used as a basis of data exchange, communication is realized by using a standard PCI protocol, and the effect of high-speed communication can be realized.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.