Method and system for constructing plug-and-play high-performance GPU (Graphic Processing Unit) computing workstation
By identifying and connecting parallel hardware, optimizing the connection path and data processing between workstations and networks, the problems of workstations and network connection performance and parallel data selection in the prior art are solved, and efficient construction of GPU computing workstations is achieved.
Patent Information
- Application Number
- CN202411873121.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-18
AI Technical Summary
When building high-performance GPU computing workstations, the prior art lacks the performance of the workstation and the selection of parallel data after connecting to the network.
By obtaining the supporting hardware types of plug-and-play GPUs, identify parallel hardware, simulate data flow analysis parallel performance, calculate hardware budget, determine the final hardware, connect workstations, and build parallel correlation modules to optimize the connection path and data processing between workstations and networks.
It realizes performance optimization after connecting the workstation to the network, as well as intelligent selection of parallel data, improving the overall performance and efficiency of the workstation.
Smart Images

Figure CN119784572A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method and system for constructing a plug-and-play high-performance GPU computing workstation, and belongs to the technical field of parallel processing. Background Art
[0002] A high-performance GPU computing workstation is a workstation specifically designed for tasks that require extremely large amounts of computing, such as graphics processing, scientific computing, and machine learning. In addition, a workstation that is connected to the network is a complete workstation, so that the workstation can mobilize other resources in the network world, such as data processing resources, data storage resources, etc., to achieve high-performance data processing of the GPU.
[0003] First, the existing technology takes relatively simple considerations into account when building a workstation, such as only considering the cost of purchasing hardware and whether the hardware can realize data processing and the performance of data processing. However, a workstation is not an island, which means that a single workstation must be connected to other computer systems to achieve distributed processing of tasks. When the workstation is connected to other computer systems, the connection path problem must be considered. Secondly, when using a workstation for parallel data processing, it is necessary to pre-select which cases to process in parallel, but the existing technology lacks consideration of the performance of the workstation after connecting to the network and the selection of parallel data. Summary of the invention
[0004] The present invention provides a plug-and-play high-performance GPU computing workstation construction method and system, the main purpose of which is to consider the performance of the workstation after being connected to the network and the selection of parallel data.
[0005] To achieve the above object, the present invention provides a method for constructing a plug-and-play high-performance GPU computing workstation, comprising:
[0006] Obtaining a supporting hardware type of a plug-and-play GPU, querying a version range of the supporting hardware type, and determining supporting hardware corresponding to the supporting hardware type using the version range;
[0007] Acquire system software between the plug-and-play GPU and the supporting hardware, identify parallel hardware in the supporting hardware according to the system software, simulate data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow;
[0008] Acquire the construction budget of the plug-and-play GPU, calculate the hardware budget of the parallelizable hardware, determine the final hardware of the plug-and-play GPU in the parallelizable hardware by using the parallel performance, the construction budget and the hardware budget, connect the plug-and-play GPU and the final hardware to obtain a connected workstation;
[0009] querying the construction area of the connectivity workstation, simulating the path connection relationship between the connectivity workstation and the regional network in the construction area, calculating the path consumption of the path connection relationship, and determining the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption;
[0010] Obtaining the identity of the builder of the connectivity workstation, analyzing the data types to be processed of the connectivity workstation using the builder identity, generating test data of the connectivity workstation using the data types to be processed, and constructing a parallel correlation module of the connectivity workstation;
[0011] Based on the test data, data testing is performed on the connected workstation, the final connection path and the parallel correlation module to obtain data testing results. According to the data testing results, the connected workstation, the final connection path and the parallel correlation module are used to complete the workstation construction of the plug-and-play GPU to obtain the workstation construction result of the plug-and-play GPU.
[0012] Optionally, the identifying, according to the system software, parallelizable hardware in the supporting hardware includes:
[0013] Obtaining a software processing mode of the system software;
[0014] Check whether there is parallel processing in the software processing method;
[0015] When a parallel mode exists in the software processing mode, identifying a hardware category related to the parallel mode;
[0016] Based on the related hardware categories, parallelizable hardware in the supporting hardware is identified.
[0017] Optionally, analyzing the parallel performance of the parallel hardware by using the data flow includes:
[0018] Querying the parallel throughput of the parallel hardware for the data stream;
[0019] constructing a data volume-throughput curve between the parallel data volume of the data flow and the parallel throughput;
[0020] Using the data volume-throughput curve, determining whether the parallel data volume is correlated with the parallel throughput, and obtaining a correlation determination result;
[0021] Query the waiting time of the data stream;
[0022] The parallel performance of the parallel hardware is analyzed using the relevant judgment result and the waiting time.
[0023] Optionally, the calculating the hardware budget of the parallelizable hardware includes:
[0024] Query the construction technician of the parallelizable hardware;
[0025] Collect the hardware cost of the parallel hardware, the construction cost of the construction technician, and the construction time cost of the parallel hardware;
[0026] The hardware budget of the parallel hardware is calculated using the hardware cost, the construction cost and the construction time cost.
[0027] Optionally, the simulating the path connection relationship between the connected workstation and the regional network in the built area includes:
[0028] Acquire network nodes in the regional network;
[0029] sending a connection request from the connectivity workstation to the network node;
[0030] Determining whether request response data from the network node is received within a preset timer period;
[0031] When request response data from the network node is received within a preset timer period, a first path connection relationship between the connectivity workstation and the network node is established;
[0032] Acquire a second path connection relationship of the network node in the regional network;
[0033] The first path connection relationship and the second path connection relationship are used to generate a path connection relationship between the connectivity workstation and the regional network within the construction area.
[0034] Optionally, the calculating the path cost of the path connection relationship includes:
[0035] Obtain the shortest path between every two vertices in the path connection relationship;
[0036] Based on the shortest path, the importance of the vertices corresponding to the path connection relationship is calculated using the following formula:
[0037]
[0038] Among them, f(v) represents the vertex importance of vertex v, r ab represents the number of paths from vertex a to vertex b that pass through vertex v, r ab Represents the number of shortest paths from vertex a to vertex b;
[0039] According to the importance of the vertices, the path cost of the path connection relationship is calculated using the following formula:
[0040]
[0041] Among them, w represents the path consumption, f(v) represents the vertex importance of vertex v, α(1,v) represents the number of edges on a path from a connected workstation to vertex v, and V represents the number of vertices in the path connection relationship.
[0042] Optionally, the generating the test data of the connected workstation by using the data type to be processed includes:
[0043] Obtaining a target data type from the data types to be processed;
[0044] Querying the input data type and the output data type belonging to the target data type in the data type to be processed;
[0045] Obtaining a first target type and a second target type in the target data type;
[0046] When the output data type of the first target type is consistent with the input data type of the second target type, the test data of the connected workstation is generated by using the output data type of the first target type and the input data type of the second target type.
[0047] Optionally, the building of the parallel correlation module of the connected workstations includes:
[0048] Collecting input data and output data of the connected workstations;
[0049] The state transition probability between the input data and the output data is calculated using the following formula:
[0050]
[0051] Among them, p i,j represents the state transition probability between input data i and output data j, P(ij) represents the probability that input data i and output data j exist at the same time, and P(i) represents the probability that input data i exists;
[0052] According to the state transition probability, the state transition matrix between the input data and the output data is constructed using the following formula:
[0053]
[0054] Where P represents the state transfer matrix, Represents the probability of m state transitions in the state transition matrix;
[0055] Based on the state transfer matrix, determining the trajectory analysis module of the connected workstation; calculating the input-output correlation between the input data and the output data:
[0056]
[0057] Where d represents the input-output correlation, x u Indicates the u-th number of the input data, y u represents the u-th number of any relevant factor corresponding to the output data, and n represents the number of input data;
[0058] Determining a correlation module of the connected workstations using the input-output correlation;
[0059] A parallel correlation module of the connected workstations is constructed by the trajectory analysis module and the correlation module.
[0060] Optionally, performing data testing on the connected workstation, the final connection path and the parallel correlation module based on the test data to obtain a data test result includes:
[0061] inputting the test data into the communication workstation;
[0062] Under the action of the connection workstation, the final connection path and the parallel correlation module, the test data is processed to obtain data processing status;
[0063] The speedup ratio of the connected workstations is calculated using the following formula:
[0064]
[0065] Among them, S 1 represents the speedup ratio, T s Indicates the execution time of the serial code, T p represents the execution time of the parallel code, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module;
[0066] The number of parallel processes of the connected workstations is calculated using the following formula:
[0067]
[0068] Among them, S 2 represents the number of parallel processes, M represents the number of parallel processes corresponding to the test data, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module;
[0069] The speedup ratio and the number of parallelizable threads are used as data test results.
[0070] In order to solve the above problems, the present invention also provides a plug-and-play high-performance GPU computing workstation construction system, the system comprising:
[0071] A hardware determination module, used to obtain the supporting hardware type of the plug-and-play GPU, query the version range of the supporting hardware type, and determine the supporting hardware corresponding to the supporting hardware type using the version range;
[0072] A performance analysis module, used to obtain the system software between the plug-and-play GPU and the supporting hardware, identify the parallel hardware in the supporting hardware according to the system software, simulate the data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow;
[0073] a hardware connection module, configured to obtain a construction budget of the plug-and-play GPU, calculate a hardware budget of the parallelizable hardware, determine the final hardware of the plug-and-play GPU in the parallelizable hardware by using the parallel performance, the construction budget, and the hardware budget, and connect the plug-and-play GPU with the final hardware to obtain a connection workstation;
[0074] a path determination module, configured to query the construction area of the connectivity workstation, simulate the path connection relationship between the connectivity workstation and the regional network within the construction area, calculate the path consumption of the path connection relationship, and determine the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption;
[0075] A module construction module, used for obtaining the identity of the builder of the connectivity workstation, analyzing the data type to be processed of the connectivity workstation using the identity of the builder, generating test data of the connectivity workstation using the data type to be processed, and constructing a parallel correlation module of the connectivity workstation;
[0076] A workstation construction module is used to perform data testing on the connected workstation, the final connection path and the parallel correlation module based on the test data to obtain data test results; and according to the data test results, the connected workstation, the final connection path and the parallel correlation module are used to complete the workstation construction of the plug-and-play GPU to obtain the workstation construction result of the plug-and-play GPU.
[0077] Compared with the problem described in the background technology, the embodiment of the present invention calculates the path consumption of the path connection relationship to consider the path connection cost. Furthermore, the embodiment of the present invention constructs a parallel correlation module of the connected workstation to predict the data output corresponding to each input data using the trajectory prediction method, and uses the correlation between each input data and the predicted output data to determine whether the input data affects the generation of the output data. If so, the input data for calculating the correlation and the input data for generating the output data cannot be parallel, otherwise they can be parallel. Therefore, the plug-and-play high-performance GPU computing workstation construction method proposed by the present invention can take into account the performance of the workstation after connecting to the network and the selection of parallel data. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A schematic diagram of a process for constructing a plug-and-play high-performance GPU computing workstation provided by an embodiment of the present invention;
[0079] Figure 2 A schematic diagram of modules for implementing the plug-and-play high-performance GPU computing workstation construction method provided in one embodiment of the present invention.
[0080] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0081] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0082] The embodiment of the present application provides a method for building a plug-and-play high-performance GPU computing workstation. The execution subject of the plug-and-play high-performance GPU computing workstation construction method includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the plug-and-play high-performance GPU computing workstation construction method can be executed by software or hardware installed on a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0083] Embodiment 1:
[0084] Reference Figure 1 FIG. 1 is a flow chart of a method for constructing a plug-and-play high-performance GPU computing workstation provided by an embodiment of the present invention. In this embodiment, the method for constructing a plug-and-play high-performance GPU computing workstation includes:
[0085] S1. Obtain the supporting hardware type of the plug-and-play GPU, query the version range of the supporting hardware type, and determine the supporting hardware corresponding to the supporting hardware type using the version range.
[0086] In an embodiment of the present invention, the plug-and-play GPU refers to a graphics processing unit, the supporting hardware type refers to the type of hardware connected to the plug-and-play GPU, such as a data processing type and a data storage type, the version range refers to the version of the hardware for data processing required by a user to build a workstation, and the supporting hardware refers to hardware that meets the version range.
[0087] S2. Obtain system software between the plug-and-play GPU and the supporting hardware, identify parallel hardware in the supporting hardware according to the system software, simulate data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow.
[0088] The system software refers to an operating system, and the parallel hardware refers to hardware that can perform data parallel processing.
[0089] In one embodiment of the present invention, identifying the parallel hardware in the supporting hardware based on the system software includes: obtaining the software processing mode of the system software; querying whether there is a parallel mode in the software processing mode; when there is a parallel mode in the software processing mode, identifying the relevant hardware category of the parallel mode; based on the relevant hardware category, identifying the parallel hardware in the supporting hardware.
[0090] Optionally, the software processing method is, for example, a DMA method, in which the CPU and peripherals can be processed in parallel.
[0091] Optionally, the process of simulating the data flow between the plug-and-play GPU and the parallel hardware is a process of inputting all possible input data into the parallel hardware.
[0092] In one embodiment of the present invention, the use of the data stream to analyze the parallel performance of the parallel hardware includes: querying the parallel throughput of the parallel hardware for the data stream; constructing a data volume-throughput curve between the parallel data volume of the data stream and the parallel throughput; using the data volume-throughput curve to determine whether the parallel data volume and the parallel throughput are correlated, and obtaining a correlation determination result; querying the waiting time of the data stream; and using the correlation determination result and the waiting time to analyze the parallel performance of the parallel hardware.
[0093] The waiting time refers to the time that the data stream waits to be called, and the parallel performance includes the relevant judgment result and the waiting time.
[0094] S3. Obtain a construction budget of the plug-and-play GPU, calculate a hardware budget of the parallelizable hardware, determine final hardware of the plug-and-play GPU in the parallelizable hardware by using the parallel performance, the construction budget, and the hardware budget, connect the plug-and-play GPU and the final hardware, and obtain a connected workstation.
[0095] The construction budget refers to the budget for building a workstation, and the hardware budget refers to the actual construction cost.
[0096] In one embodiment of the present invention, the calculation of the hardware budget of the parallel hardware includes: querying the construction technician of the parallel hardware; collecting the hardware cost of the parallel hardware, the construction cost of the construction technician and the construction time cost of the parallel hardware; and calculating the hardware budget of the parallel hardware using the hardware cost, the construction cost and the construction time cost.
[0097] The construction time cost refers to the cost loss caused by the lack of workstations during the time waiting for the construction to be completed.
[0098] Optionally, the process of determining the final hardware of the plug-and-play GPU in the parallel hardware by using the parallel performance, the construction budget and the hardware budget refers to selecting several batches of hardware combinations with good parallel performance and hardware budget lower than the construction budget.
[0099] S4. Query the construction area of the connectivity workstation, simulate the path connection relationship between the connectivity workstation and the regional network in the construction area, calculate the path consumption of the path connection relationship, and determine the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption.
[0100] The construction area refers to the area where the workstation is constructed.
[0101] In one embodiment of the present invention, the simulation of the path connection relationship between the connectivity workstation and the regional network in the construction area includes: obtaining a network node in the regional network; sending a connection request from the connectivity workstation to the network node; determining whether request response data from the network node is received within a preset timer period; when request response data from the network node is received within a preset timer period, constructing a first path connection relationship between the connectivity workstation and the network node; obtaining a second path connection relationship of the network node in the regional network; and using the first path connection relationship and the second path connection relationship to generate a path connection relationship between the connectivity workstation and the regional network in the construction area.
[0102] The network node refers to other devices that can establish a connection with the connected workstation, and the second path connection relationship refers to the connection relationship between other nodes and the network node.
[0103] Furthermore, the embodiment of the present invention calculates the path consumption of the path connection relationship to consider the path connection cost.
[0104] In one embodiment of the present invention, the calculating of the path cost of the path connection relationship includes: obtaining the shortest path between every two vertices in the path connection relationship; and calculating the importance of the vertices corresponding to the path connection relationship based on the shortest path using the following formula:
[0105]
[0106] Among them, f(v) represents the vertex importance of vertex v, r ab represents the number of paths from vertex a to vertex b that pass through vertex v, r ab Represents the number of shortest paths from vertex a to vertex b;
[0107] According to the importance of the vertices, the path cost of the path connection relationship is calculated using the following formula:
[0108]
[0109] Among them, w represents the path consumption, f(v) represents the vertex importance of vertex v, α(1,v) represents the number of edges on a path from a connected workstation to vertex v, and V represents the number of vertices in the path connection relationship.
[0110] S5. Obtain the identity of the builder of the connectivity workstation, use the identity of the builder to analyze the type of data to be processed of the connectivity workstation, use the type of data to be processed to generate test data of the connectivity workstation, and construct a parallel correlation module of the connectivity workstation.
[0111] The establishment identity refers to an identity that includes the type of data to be processed. For example, if the demander of the workstation is a hospital, then the type of data to be processed is a medical data type.
[0112] In one embodiment of the present invention, the use of the data type to be processed to generate test data for the connected workstation includes: obtaining a target data type in the data type to be processed; querying input data types and output data types belonging to the target data type in the data type to be processed; obtaining a first target type and a second target type in the target data type; and when the output data type of the first target type is consistent with the input data type of the second target type, generating test data for the connected workstation using the output data type of the first target type and the input data type of the second target type.
[0113] Among them, the target data type refers to any type of the data type to be processed, the input data type and the output data type are respectively the data that can obtain the target data type through calculation, and the result that can be obtained by calculating the target data type, and the first target type and the second target type are any two different data types of the target data type.
[0114] Furthermore, the embodiment of the present invention constructs a parallel correlation module of the connected workstation to predict the data output corresponding to each input data using the trajectory prediction method, and uses the correlation between each input data and the predicted output data to determine whether the input data affects the generation of the output data. If so, the input data for calculating the correlation and the input data for generating the output data cannot be calculated in parallel, otherwise they can be calculated in parallel.
[0115] In one embodiment of the present invention, the parallel correlation module for constructing the connected workstation includes: collecting input data and output data of the connected workstation; and calculating the state transition probability between the input data and the output data using the following formula:
[0116]
[0117] Among them, p i,j represents the state transition probability between input data i and output data j, P(ij) represents the probability that input data i and output data j exist at the same time, and P(i) represents the probability that input data i exists;
[0118] According to the state transition probability, the state transition matrix between the input data and the output data is constructed using the following formula:
[0119]
[0120] Where P represents the state transfer matrix, Represents the probability of m state transitions in the state transition matrix;
[0121] Based on the state transfer matrix, determining the trajectory analysis module of the connected workstation; calculating the input-output correlation between the input data and the output data:
[0122]
[0123] Where d represents the input-output correlation, x u Indicates the u-th number of the input data, y u represents the u-th number of any relevant factor corresponding to the output data, and n represents the number of input data;
[0124] The input-output correlation is used to determine the correlation module of the connected workstation; and the parallel correlation module of the connected workstation is constructed by using the trajectory analysis module and the correlation module.
[0125] The trajectory analysis module and the correlation module refer to computing systems that can calculate state transition probabilities and correlations.
[0126] S5. Based on the test data, data testing is performed on the connected workstation, the final connection path and the parallel correlation module to obtain data testing results. According to the data testing results, the connected workstation, the final connection path and the parallel correlation module are used to complete the workstation construction of the plug-and-play GPU to obtain the workstation construction result of the plug-and-play GPU.
[0127] In one embodiment of the present invention, the data test is performed on the connectivity workstation, the final connection path and the parallel correlation module based on the test data to obtain the data test result, including: inputting the test data into the connectivity workstation; performing data processing on the test data under the action of the connectivity workstation, the final connection path and the parallel correlation module to obtain the data processing status; and calculating the speedup ratio of the connectivity workstation using the following formula:
[0128]
[0129] Among them, S 1 represents the speedup ratio, T s Indicates the execution time of the serial code, T p represents the execution time of the parallel code, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module;
[0130] The number of parallel processes of the connected workstations is calculated using the following formula:
[0131]
[0132] Among them, S 2 represents the number of parallel processes, M represents the number of parallel processes corresponding to the test data, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module;
[0133] The speedup ratio and the number of parallelizable threads are used as data test results.
[0134] It should be noted that the execution time and the number of processors are obtained from the data processing situation.
[0135] Optionally, the process of completing the workstation construction of the plug-and-play GPU according to the data test result by using the connected workstation, the final connection path and the parallel correlation module to obtain the workstation construction result of the plug-and-play GPU means that when the data test result performs well, the connected workstation, the final connection path and the parallel correlation module are used as the workstation construction result of the plug-and-play GPU.
[0136] Compared with the problem described in the background technology, compared with the problem described in the background technology, the embodiment of the present invention calculates the path consumption of the path connection relationship to consider the path connection cost. Furthermore, the embodiment of the present invention constructs a parallel correlation module of the connected workstation to predict the data output corresponding to each input data using the trajectory prediction method, and uses the correlation between each input data and the predicted output data to determine whether the input data affects the generation of the output data. If so, the input data for calculating the correlation and the input data for generating the output data cannot be parallel, otherwise they can be parallel. Therefore, the plug-and-play high-performance GPU computing workstation construction method proposed by the present invention can take into account the performance of the workstation after connecting to the network and the selection of parallel data.
[0137] Embodiment 2:
[0138] like Figure 2 The figure shows a functional module diagram of a plug-and-play high-performance GPU computing workstation construction system of the present invention.
[0139] The plug-and-play high-performance GPU computing workstation construction system 200 of the present invention can be installed in an electronic device. According to the functions to be implemented, the plug-and-play high-performance GPU computing workstation construction system can include a hardware determination module 201, a performance analysis module 202, a hardware connectivity module 203, a path determination module 204, a module construction module 205 and a workstation construction module 206. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0140] In the embodiment of the present invention, the functions of each module / unit are as follows:
[0141] The hardware determination module 201 is used to obtain the supporting hardware type of the plug-and-play GPU, query the version range of the supporting hardware type, and determine the supporting hardware corresponding to the supporting hardware type using the version range;
[0142] The performance analysis module 202 is used to obtain the system software between the plug-and-play GPU and the supporting hardware, identify the parallel hardware in the supporting hardware according to the system software, simulate the data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow;
[0143] The hardware connection module 203 is used to obtain the construction budget of the plug-and-play GPU, calculate the hardware budget of the parallel hardware, determine the final hardware of the plug-and-play GPU in the parallel hardware by using the parallel performance, the construction budget and the hardware budget, connect the plug-and-play GPU with the final hardware, and obtain a connected workstation;
[0144] The path determination module 204 is used to query the construction area of the connectivity workstation, simulate the path connection relationship between the connectivity workstation and the regional network in the construction area, calculate the path consumption of the path connection relationship, and determine the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption;
[0145] The module construction module 205 is used to obtain the identity of the builder of the connectivity workstation, analyze the data type to be processed of the connectivity workstation using the builder identity, generate test data of the connectivity workstation using the data type to be processed, and construct a parallel correlation module of the connectivity workstation;
[0146] The workstation construction module 206 is used to perform data testing on the connected workstation, the final connection path and the parallel correlation module based on the test data to obtain data test results, and according to the data test results, complete the workstation construction of the plug-and-play GPU using the connected workstation, the final connection path and the parallel correlation module to obtain the workstation construction result of the plug-and-play GPU.
[0147] In detail, each module in the plug-and-play high-performance GPU computing workstation construction system 200 in the embodiment of the present invention is used in the same manner as described above. Figure 1The plug-and-play high-performance GPU computing workstation construction method described in the invention has the same technical means and can produce the same technical effects, so it will not be repeated here.
[0148] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for constructing a plug-and-play high-performance GPU computing workstation, characterized in that: The method comprises: Obtaining a supporting hardware type of a plug-and-play GPU, querying a version range of the supporting hardware type, and determining supporting hardware corresponding to the supporting hardware type using the version range; Acquire system software between the plug-and-play GPU and the supporting hardware, identify parallel hardware in the supporting hardware according to the system software, simulate data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow; Acquire the construction budget of the plug-and-play GPU, calculate the hardware budget of the parallelizable hardware, determine the final hardware of the plug-and-play GPU in the parallelizable hardware by using the parallel performance, the construction budget and the hardware budget, connect the plug-and-play GPU and the final hardware to obtain a connected workstation; querying the construction area of the connectivity workstation, simulating the path connection relationship between the connectivity workstation and the regional network in the construction area, calculating the path consumption of the path connection relationship, and determining the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption; Obtaining the identity of the builder of the connectivity workstation, analyzing the data types to be processed of the connectivity workstation using the builder identity, generating test data of the connectivity workstation using the data types to be processed, and constructing a parallel correlation module of the connectivity workstation; Based on the test data, data testing is performed on the connected workstation, the final connection path and the parallel correlation module to obtain data testing results. According to the data testing results, the connected workstation, the final connection path and the parallel correlation module are used to complete the workstation construction of the plug-and-play GPU to obtain the workstation construction result of the plug-and-play GPU.
2. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The step of identifying the parallelizable hardware in the supporting hardware according to the system software includes: Obtaining a software processing mode of the system software; Check whether there is parallel processing in the software processing method; When a parallel mode exists in the software processing mode, identifying a hardware category related to the parallel mode; Based on the related hardware categories, parallelizable hardware in the supporting hardware is identified.
3. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The analyzing the parallel performance of the parallel hardware by using the data stream includes: Querying the parallel throughput of the parallel hardware for the data stream; constructing a data volume-throughput curve between the parallel data volume of the data flow and the parallel throughput; Using the data volume-throughput curve, determining whether the parallel data volume is correlated with the parallel throughput, and obtaining a correlation determination result; Query the waiting time of the data stream; The parallel performance of the parallel hardware is analyzed using the relevant judgment result and the waiting time.
4. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The calculating the hardware budget of the parallelizable hardware includes: Query the construction technician of the parallelizable hardware; Collect the hardware cost of the parallel hardware, the construction cost of the construction technician, and the construction time cost of the parallel hardware; The hardware budget of the parallel hardware is calculated using the hardware cost, the construction cost and the construction time cost.
5. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The simulating of the path connection relationship between the connected workstation and the regional network in the built area includes: Acquire network nodes in the regional network; sending a connection request from the connectivity workstation to the network node; Determining whether request response data from the network node is received within a preset timer period; When request response data from the network node is received within a preset timer period, a first path connection relationship between the connectivity workstation and the network node is established; Acquire a second path connection relationship of the network node in the regional network; The first path connection relationship and the second path connection relationship are used to generate a path connection relationship between the connectivity workstation and the regional network within the construction area.
6. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The calculating the path cost of the path connection relationship includes: Obtain the shortest path between every two vertices in the path connection relationship; Based on the shortest path, the importance of the vertices corresponding to the path connection relationship is calculated using the following formula: Among them, f(v) represents the vertex importance of vertex v, r ab represents the number of paths from vertex a to vertex b that pass through vertex v, r ab Represents the number of shortest paths from vertex a to vertex b; According to the importance of the vertices, the path cost of the path connection relationship is calculated using the following formula: Among them, w represents the path consumption, f(v) represents the vertex importance of vertex v, α(1,v) represents the number of edges on a path from a connected workstation to vertex v, and V represents the number of vertices in the path connection relationship.
7. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The step of generating the test data for the connected workstation by using the data type to be processed includes: Obtaining a target data type from the data types to be processed; Querying the input data type and the output data type belonging to the target data type in the data type to be processed; Obtaining a first target type and a second target type in the target data type; When the output data type of the first target type is consistent with the input data type of the second target type, the test data of the connected workstation is generated by using the output data type of the first target type and the input data type of the second target type.
8. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The parallel correlation module for constructing the connected workstations includes: Collecting input data and output data of the connected workstations; The state transition probability between the input data and the output data is calculated using the following formula: Among them, p i,j represents the state transition probability between input data i and output data j, P(ij) represents the probability that input data i and output data j exist at the same time, and P(i) represents the probability that input data i exists; According to the state transition probability, the state transition matrix between the input data and the output data is constructed using the following formula: Where P represents the state transfer matrix, Represents the probability of m state transitions in the state transition matrix; Based on the state transfer matrix, determining the trajectory analysis module of the connected workstation; calculating the input-output correlation between the input data and the output data: Where d represents the input-output correlation, x u Indicates the u-th number of the input data, y u represents the u-th number of any relevant factor corresponding to the output data, and n represents the number of input data; Determining a correlation module of the connected workstations using the input-output correlation; A parallel correlation module of the connected workstations is constructed by the trajectory analysis module and the correlation module.
9. The method for constructing a plug-and-play high-performance GPU computing workstation according to claim 1, wherein: The step of performing data testing on the connected workstation, the final connection path and the parallel correlation module based on the test data to obtain data test results includes: inputting the test data into the communication workstation; Under the action of the connection workstation, the final connection path and the parallel correlation module, the test data is processed to obtain data processing status; The speedup ratio of the connected workstations is calculated using the following formula: Among them, S1 represents the acceleration ratio, T s Indicates the execution time of the serial code, T p represents the execution time of the parallel code, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module; The number of parallel processes of the connected workstations is calculated using the following formula: Wherein, S2 represents the number of parallel processes, M represents the number of parallel processes corresponding to the test data, and p represents the number of processors under the action of the connected workstation, the final connection path and the parallel correlation module; The speedup ratio and the number of parallelizable threads are used as data test results.
10. A plug-and-play high-performance GPU computing workstation construction system, characterized in that: The system comprises: A hardware determination module, used to obtain the supporting hardware type of the plug-and-play GPU, query the version range of the supporting hardware type, and determine the supporting hardware corresponding to the supporting hardware type using the version range; A performance analysis module, used to obtain the system software between the plug-and-play GPU and the supporting hardware, identify the parallel hardware in the supporting hardware according to the system software, simulate the data flow between the plug-and-play GPU and the parallel hardware, and analyze the parallel performance of the parallel hardware using the data flow; a hardware connection module, configured to obtain a construction budget of the plug-and-play GPU, calculate a hardware budget of the parallelizable hardware, determine the final hardware of the plug-and-play GPU in the parallelizable hardware by using the parallel performance, the construction budget, and the hardware budget, and connect the plug-and-play GPU with the final hardware to obtain a connection workstation; a path determination module, configured to query the construction area of the connectivity workstation, simulate the path connection relationship between the connectivity workstation and the regional network within the construction area, calculate the path consumption of the path connection relationship, and determine the final connection path between the connectivity workstation and the regional network in the path connection relationship based on the path consumption; A module construction module, used for obtaining the identity of the builder of the connectivity workstation, analyzing the data type to be processed of the connectivity workstation using the identity of the builder, generating test data of the connectivity workstation using the data type to be processed, and constructing a parallel correlation module of the connectivity workstation; A workstation construction module is used to perform data testing on the connected workstation, the final connection path and the parallel correlation module based on the test data to obtain data test results; and according to the data test results, the connected workstation, the final connection path and the parallel correlation module are used to complete the workstation construction of the plug-and-play GPU to obtain the workstation construction result of the plug-and-play GPU.
Citation Information
Patent Citations
Graphic workstation rendering system
CN104732576A
Matrix decomposition parallelization optimization method and system for high-performance calculation
CN118378008A
High-performance GPU workstation convenient to maintain
CN218481798U
Method and apparatus for optimizing data flow in a graphics co-processor
US20080055322A1
Global router using graphics processing unit
US20150095872A1