Full-interconnection hardware system for intelligent computing
By using multi-node units and three-dimensional cascade interfaces in the hardware interconnection system, combined with brain-inspired heterogeneous transmission protocols and dynamic load balancing, the problems of complexity and performance bottlenecks of the hardware interconnection scheme are solved, and efficient and stable hardware interconnection and Resource scheduling.
Patent Information
- Application Number
- CN202410540577.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing hardware interconnection solutions have high complexity, network latency, and bandwidth limitations, resulting in system performance bottlenecks and making it difficult to meet the needs of large-scale distributed systems.
Design a fully interconnected hardware system that uses multiple node units. Each node unit contains multiple hardware nodes. The nodes are connected at a three-dimensional level through a four-channel small pluggable interface, a Gigabit Ethernet interface, and a high-speed serial channel interface. It uses brain-like heterogeneous transmission protocols and dynamic load balancing strategies to achieve efficient communication and resource scheduling.
It improves system performance and reliability, reduces data transmission delays and bottlenecks, meets the needs of complex application scenarios, and achieves efficient and stable data processing and communication.
Smart Images

Figure CN118590507A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network hardware, and in particular to a fully interconnected hardware system for intelligent computing. Background Art
[0002] Most of the existing technologies are hardware interconnection solutions based on distributed system architecture. In this solution, multiple hardware nodes communicate and share data through switches to achieve interconnection effects.
[0003] However, this hardware interconnection solution has the following defects:
[0004] 1) Complexity: The design and implementation of distributed system architecture is relatively complex, and it is necessary to deal with issues such as communication, collaboration, and data synchronization between multiple nodes. It is also necessary to consider multiple aspects such as load balancing, fault tolerance, and security between nodes, which increases the complexity of the system and the difficulty of development.
[0005] 2) Network latency and bandwidth limitations: Distributed systems require inter-node communication and data transmission over the network, but network latency and bandwidth limitations may become bottlenecks in system performance; especially in large-scale distributed systems, the amount of communication between nodes may be very large, requiring high-performance network equipment and optimized network protocols to support.
[0006] In addition, existing hardware interconnection solutions often adopt a hierarchical or modular connection method. The connection between hardware is relatively limited and may need to communicate through intermediate devices, which increases the complexity and delay of data transmission to a certain extent.
[0007] Therefore, how to solve the problems of high complexity, severe network delay and large bandwidth limitation of existing hardware interconnection systems is an important issue that needs to be urgently solved in the field of network hardware. Summary of the invention
[0008] The present invention provides a fully interconnected hardware system for intelligent computing, which is used to overcome the defects of existing hardware interconnection systems, such as high complexity, severe network delay and large bandwidth limitation, reduce bottlenecks and delays in data transmission, and thus improve the efficiency of system performance.
[0009] On the one hand, the present invention provides a fully interconnected hardware system for intelligent computing, including multiple node units, each node unit including multiple hardware nodes, wherein the hardware node is provided with a communication interface module, and the communication interface module includes a four-channel small pluggable interface, a Gigabit Ethernet interface and a high-speed serial channel interface; the communication interface module is used to perform three-dimensional cascading on the multiple hardware nodes in the node unit, and to perform three-dimensional cascading on the multiple node units.
[0010] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the hardware node includes: a processor, including a set number of data flow accelerator chips, and the data flow accelerator chips are interconnected according to the connection schemes of east-west interconnection and north-south interconnection respectively.
[0011] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the hardware node includes: a controller connected to the communication interface module and the processor, and used to control the processor to perform computing tasks; a memory connected to the controller, and used to store processing data of the hardware node.
[0012] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the hardware node also includes: a fault monitoring module, connected to the controller, for real-time monitoring of the voltage state, temperature state and task running state of the hardware node during task execution, and in the event of a fault in the hardware node, starting an idle node to continue executing the task.
[0013] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the hardware node also includes: a status register connected to the controller, used to monitor the operating status and resource occupancy of the hardware node; accordingly, the controller is also used to schedule tasks to be processed according to the operating status and resource occupancy of the hardware node.
[0014] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the controller is also used to adopt a dynamic load balancing strategy to distribute the tasks to be processed to each hardware node according to the computing power, storage capacity and network bandwidth of the hardware nodes.
[0015] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the memory is a double data rate synchronous dynamic random access memory.
[0016] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the communication between the hardware nodes adopts a brain-like heterogeneous transmission protocol.
[0017] Furthermore, according to a fully interconnected hardware system for intelligent computing provided by the present invention, the four-channel small pluggable interface is used to achieve high-speed communication between hardware nodes; the Gigabit Ethernet interface is used to achieve connection between hardware nodes and switches; and the high-speed serial channel interface is used to achieve connection between hardware nodes and computer devices.
[0018] Furthermore, a fully interconnected hardware system for intelligent computing provided according to the present invention also includes: a system interface management tool for configuring, managing and maintaining the system.
[0019] The present invention provides a fully interconnected hardware system for intelligent computing, including multiple node units, each node unit including multiple hardware nodes, wherein the hardware node is provided with a communication interface module, the communication interface module including a four-channel small pluggable interface, a Gigabit Ethernet interface and a high-speed serial channel interface; the communication interface module is used to stereoscopically cascade multiple hardware nodes in the node unit, and stereoscopically cascade multiple node units. The system can realize comprehensive interconnection and efficient communication between hardware nodes through the communication interface modules set on the hardware nodes, improve the overall performance and reliability of the system, and meet the needs of various complex application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a system schematic diagram of a fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of the structure of a hardware node provided by an embodiment of the present invention;
[0023] Figure 3 is a monitoring schematic diagram of a fault monitoring module in a hardware node provided by an embodiment of the present invention;
[0024] Figure 4 It is a schematic diagram of the overall framework of a fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention;
[0025] Figure 5 It is a three-dimensional cascade diagram of a fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention.
[0026] Reference numerals:
[0027] 1: node unit; 11: hardware node; 110: communication interface module; 120: processor; 130: controller; 140: memory. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] It should be noted that existing hardware interconnection solutions often adopt a hierarchical or modular connection method. The connection between hardware is relatively limited and may need to communicate through intermediate devices, which increases the complexity and delay of data transmission to a certain extent.
[0030] In view of this, the present invention proposes a fully interconnected hardware system for intelligent computing, specifically, Figure 1 A system schematic diagram of a fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention is shown.
[0031] like Figure 1 As shown, the system includes a plurality of node units 1, each of which includes a plurality of hardware nodes 11, wherein:
[0032] The hardware node 11 is provided with a communication interface module 110, and the communication interface module 110 includes a four-channel small form-factor pluggable interface, a Gigabit Ethernet interface, and a high-speed serial channel interface;
[0033] The communication interface module 110 is used to perform stereoscopic cascading on multiple hardware nodes 11 in the node unit 1 and to perform stereoscopic cascading on multiple node units 1 .
[0034] It can be understood that the fully interconnected hardware system for intelligent computing provided in this embodiment includes multiple node units 1, and the number of node units 1 can be reduced or expanded according to actual conditions, and is not specifically limited here.
[0035] Each node unit 1 includes multiple hardware nodes 11. The hardware nodes 11 can be computing nodes or storage nodes. The specific number of hardware nodes 11 can be set according to actual needs. For example, each node unit 1 includes at least 2 hardware nodes 11.
[0036] Each hardware node 11 has independent computing, storage and communication capabilities. The hardware nodes 11 are connected via a high-speed network or a dedicated communication link to achieve a fully interconnected effect.
[0037] In particular, in this embodiment, the hardware node 11 is a core component of the node unit 1, and each hardware node 11 is provided with a communication interface module 110, which has multiple interface types, including a four-channel small pluggable interface, a Gigabit Ethernet interface, and a high-speed serial channel interface, which is used to stereoscopically cascade multiple hardware nodes 11 in any node unit 1, and at the same time, is also used to stereoscopically cascade multiple node units 1. These interfaces not only ensure fast and stable data transmission between hardware nodes 11, but also enable the hardware node 11 to communicate efficiently with external devices or networks.
[0038] The full name of the four-channel small form-factor pluggable interface is Quad Small Form-factor Pluggable, or QSFP for short. This four-channel pluggable interface can achieve a transmission rate of 40Gbps and has high bandwidth characteristics. It can realize high-speed signal communication between hardware nodes 11 and hardware nodes 11, and between node units 1 and node units 1, forming a three-dimensional interconnection architecture of 3D mesh.
[0039] The Gigabit Ethernet interface is a high-speed Ethernet interface that can provide a transmission rate of up to 1Gbps (1000Mbps) to connect to a switch, thereby achieving information interaction with multiple expansion devices.
[0040] High-speed serial channel interface refers to PCIE (Peripheral Component Interconnect Express), a high-speed serial computer expansion bus standard. PCIE is a high-speed serial point-to-point dual-channel high-bandwidth transmission. It connects with computer devices such as PCs to achieve data aggregation and interaction. The connected devices are allocated exclusive channel bandwidth and do not share bus bandwidth. It mainly supports active power management, error reporting, end-to-end reliable transmission, hot plugging, and Quality of Service (QOS) and other functions.
[0041] That is to say, the hardware nodes 11 are interconnected through the specific communication interface module 110 to form a tight system structure. It should be noted that the number of the four-channel small pluggable interface, the Gigabit Ethernet interface and the high-speed serial channel interface included in the communication interface module 110 can be set according to actual needs and is not specifically limited here.
[0042] For example, in a specific embodiment, the communication interface module 110 includes five four-channel small form-factor pluggable interfaces and one high-speed serial channel interface.
[0043] It should also be noted that the communication interface module 110 includes a four-channel small pluggable interface, a Gigabit Ethernet interface and a high-speed serial channel interface, in order to meet the different requirements of the connected devices.
[0044] Based on the communication interface module 110 set on each hardware node 11, direct communication between the current hardware node 11 and other hardware nodes 11 can be realized. The communication between the hardware nodes adopts a brain-like heterogeneous transmission protocol. Furthermore, direct communication between the current node unit 1 and other node units 1 can also be realized, thereby realizing a three-dimensional cascade of fully interconnected hardware systems for intelligent computing.
[0045] It can be understood that the brain-like heterogeneous transmission protocol is a protocol designed for communication between hardware nodes 11. It has the characteristics of efficient, reliable and secure data transmission, and is very suitable for application in the fully interconnected hardware system of intelligent computing.
[0046] The brain-like heterogeneous transmission protocol defines a set of standard communication rules and data formats to ensure that hardware nodes 11 can exchange information accurately and quickly. It supports multiple data types and transmission modes, and can adapt to different application scenarios and needs. Through the brain-like heterogeneous transmission protocol, hardware nodes 11 can share data in real time, complete tasks collaboratively, and achieve system-level optimization and coordination.
[0047] Using brain-like heterogeneous transmission protocols to communicate between hardware nodes 11 can bring a series of advantages. First, it can improve the efficiency and reliability of data transmission and reduce communication delays and error rates. This is crucial for intelligent computing applications that require real-time response and high precision. Secondly, the brain-like heterogeneous transmission protocol has high security and can protect the integrity and privacy of data to prevent unauthorized access and tampering. In addition, the protocol also has good scalability and flexibility, which can adapt to the upgrade and expansion needs of hardware nodes 11 in the future.
[0048] In the stereoscopic cascade, each hardware node 11 has six communication interfaces, which are respectively connected to other hardware nodes in the front, back, left, right, top and bottom directions. The main function of the communication interface module 110 is to realize the stereoscopic cascade between the hardware nodes 11. The stereoscopic cascade is a multi-level and multi-dimensional connection method, which can not only closely connect multiple hardware nodes 11 in the same node unit 1 to form a powerful processing cluster, but also connect multiple node units 1 into a larger system. This connection method greatly improves the flexibility and scalability of the system, allowing the system to be easily expanded or reduced in size as needed.
[0049] In addition, the communication interface module 110 also has a powerful data processing capability. The communication interface module 110 can efficiently process and forward the transmitted data to ensure the accuracy and real-time nature of the data. At the same time, it can also intelligently manage the transmission of data, automatically adjust the transmission strategy according to the network status and data flow, and ensure the stable transmission of data.
[0050] Of course, in addition to the key communication interface module 110, the hardware node 11 also includes a processor 120, a controller 130 and a memory 140 in order to meet its daily function of task processing. Figure 2 , Figure 2 It shows a schematic diagram of the structure of the hardware node 11 provided in the embodiment of the present invention.
[0051] It is worth mentioning that the processor 120 includes a set number of data flow accelerator chips. In order to fully utilize the potential of the data flow accelerator chips and achieve efficient data transmission and processing, these chips adopt an east-west and north-south interconnection scheme. This interconnection method realizes the cascading of chips and the superposition of processing capabilities. This structure of the processor 120 has the characteristics of high flexibility, high density and scalability.
[0052] Specifically, the preset number of data flow accelerator chips in the processor 120 can be formed by two groups of 4×4 rectangular arrays. Of course, a 4×8 rectangular array or a 2×16 rectangular array can also be used, which is not specifically limited here.
[0053] The preset number can be interconnected and expanded according to actual needs, and is not specifically limited here. For example, in a specific embodiment, the processor 120 includes 32 data flow accelerator chips.
[0054] For another example, in another specific embodiment, the processor 120 includes 12, 16, 18 or 64 data flow accelerator chips.
[0055] It should be noted that the data flow accelerator chip is a multi-core chip that can implement algorithm training of different neural networks to achieve application goals, such as image recognition, speech recognition, etc. Neural networks include but are not limited to convolutional neural networks (CNN), spiking neural networks (SNN), etc.
[0056] In summary, in the embodiment of the present invention, the hardware node 11 further includes a processor 120, which integrates a set number of data flow accelerator chips and is interconnected according to the connection schemes of east-west interconnection and north-south interconnection. This design enables the hardware node 11 to process data efficiently, meet the needs of intelligent computing, and improve the performance of the entire system.
[0057] Furthermore, the controller 130 included in the hardware node 11 is connected to the communication interface module 110 and the processor 120 to control the processor 120 to perform computing tasks; the memory 140 is connected to the controller 130 to store processing data of the hardware node 11.
[0058] It should be noted that each hardware node 11 of this embodiment includes components such as a controller 130, a memory 140, a communication interface module 110, and a processor 120, which ensures that the hardware node 11 has sufficient computing power and storage space and supports high-speed network communication.
[0059] The fully interconnected hardware system provided in this embodiment can quickly build a large-scale, high-performance processing cluster through a three-dimensional cascade to meet various complex application requirements. Secondly, due to the adoption of a highly integrated and modular design, the maintenance and upgrade of the system becomes simpler and more convenient. Finally, the efficient data processing and intelligent management capabilities of the communication interface module 110 enable the system to maintain stable performance in various network environments.
[0060] Therefore, the fully interconnected hardware system provided in this embodiment realizes high-performance, high-scalability and high-stability data processing and communication functions through the design of node unit 1 and hardware node 11, as well as the efficient communication interface module 110, providing strong support for various complex applications.
[0061] In this embodiment, the fully interconnected hardware system for intelligent computing includes multiple node units, each node unit 1 includes multiple hardware nodes 11, wherein the hardware node 11 is provided with a communication interface module 110, and the communication interface module 110 includes a four-channel small pluggable interface, a Gigabit Ethernet interface, and a high-speed serial channel interface; the communication interface module 110 is used to stereoscopically cascade multiple hardware nodes 11 in the node unit 1, and stereoscopically cascade multiple node units 1. Through the communication interface module 110 set on the hardware node 11, the system can realize comprehensive interconnection and efficient communication between the hardware nodes 11, improve the overall performance and reliability of the system, and meet the needs of various complex application scenarios.
[0062] In some embodiments, in order to achieve high-speed communication between hardware nodes 11, connection between hardware nodes 11 and switches, and connection between hardware nodes 11 and computer devices, multiple interface technologies are used.
[0063] Specifically, a quad small form-factor pluggable interface (such as QSFP) is used to achieve high-speed communication between hardware nodes 11, a Gigabit Ethernet interface is used to achieve connection between hardware nodes 11 and switches, and a high-speed serial channel interface (such as PCIe) is used to achieve connection between hardware nodes 11 and computer devices.
[0064] Among them, the four-channel small pluggable interface is a high-speed, high-density interface technology that can support multiple channels to transmit data in parallel, thereby realizing high-speed communication between hardware nodes 11. This interface technology has excellent bandwidth and throughput, can meet the needs of large-scale data processing and transmission, and improve the performance of the entire system.
[0065] Gigabit Ethernet interface is a widely used network interface technology, which is high-speed, stable and reliable. Through the Gigabit Ethernet interface, the hardware node 11 can easily connect to the switch to achieve fast data transmission and sharing. This connection method is not only applicable to the local area network environment, but also to the wide area network environment, providing great flexibility for the communication of the hardware node 11.
[0066] High-speed serial channel interfaces, such as PCIe, are computer expansion bus standards for connecting high-speed serial devices. Through the PCIe interface, the hardware node 11 can establish a high-speed connection with a computer device to achieve fast data transmission and exchange. This interface technology has the characteristics of high bandwidth and low latency, and is suitable for application scenarios that require high-performance data transmission.
[0067] On the basis of the above embodiment, each hardware node 11 further includes a fault monitoring module, which is connected to the controller 130 and is used to monitor in real time the voltage status, temperature status and task running status of the hardware node 11 during the execution of the task, and when a fault occurs in the hardware node 11, start the idle node to continue to execute the task.
[0068] Specifically, Figure 3 The monitoring schematic diagram of the fault monitoring module in the hardware node 11 provided by the embodiment of the present invention is shown. The fault monitoring module mainly monitors three key states: voltage state, temperature state and task running state. These state information can directly reflect the working status of the hardware node 11, which is very important for preventing and handling faults.
[0069] like Figure 3As shown, each hardware node 11 is provided with a dedicated fault detection module, which is connected to the controller 130 and monitors the voltage state, temperature state and task running state of the hardware node 11 in real time during the task execution process, so as to grasp the actual situation of the hardware node 11 in real time.
[0070] The voltage status refers to whether the voltage is stable; the temperature status refers to whether the temperature of the hardware node 11 is within a normal range; and the task running status refers to whether the hardware node 11 is processing the current task normally.
[0071] If the hardware node 11 fails during the execution of the task, for example, the temperature of the hardware node 11 is higher than the set temperature value, and the execution of the task by the hardware node 11 is affected, the fault detection module will promptly feedback the fault problem to the controller 130, and the controller 130 will promptly start the idle node to continue the task, ensuring that the task continues to run without interruption.
[0072] It should be noted that the fault detection module can also monitor other status parameters besides the voltage status, temperature status and task running status of the hardware node 11, which are not limited here one by one.
[0073] In this embodiment, the fault monitoring module of the hardware node 11 is used to monitor in real time the voltage status, temperature status and task running status of the hardware node 11 during task execution. Even if some hardware nodes 11 fail, the system can automatically adjust and continue to run, avoiding the negative impact of single point failures on the entire system.
[0074] It is understandable that the fault monitoring module provided in this embodiment has at least the following technical functions:
[0075] 1) Real-time monitoring function: The fault monitoring module can continuously collect status information of the hardware nodes 11 to ensure that the controller 130 can understand the operation status of each node in real time.
[0076] 2) Fault warning function: When the voltage, temperature or task running status of the hardware node 11 is detected to be abnormal, the fault monitoring module will promptly send a warning signal to the controller 130 so that timely measures can be taken to prevent the fault from expanding.
[0077] 3) Fault handling function: Once a hardware node 11 fails, the fault monitoring module will immediately notify the controller 130 to handle the fault accordingly. If the fault severity level is high and the node is unavailable, an idle node will be started. These idle nodes are pre-configured and verified, and can quickly take over the tasks of the failed node to ensure the continuity and stability of the system.
[0078] 4) After the introduction of the fault monitoring module, the stability and reliability of the system have been significantly improved. On the one hand, through real-time monitoring and early warning, the system can promptly detect and handle potential faults, avoiding system interruptions and data loss caused by faults. On the other hand, by automatically starting idle nodes, the system can resume task execution in the shortest possible time, ensuring service continuity and user experience.
[0079] In the embodiment of the present invention, the design of the fault monitoring module also reflects the intelligent and automated characteristics of the system. By automatically monitoring and handling faults, the system reduces the need for manual intervention, reduces operation and maintenance costs, and improves operational efficiency.
[0080] In summary, by introducing the fault monitoring module, the system further improves stability and reliability while maintaining high performance and high scalability, providing more robust support for various complex applications.
[0081] On the basis of the above embodiment, further, each hardware node 11 also includes a status register, which is connected to the controller 130 and is used to monitor the operating status and resource occupancy of the hardware node 11; accordingly, the controller 130 is also used to schedule the tasks to be processed according to the operating status and resource occupancy of the hardware node 11.
[0082] It can be understood that each hardware node 11 includes a status register, which is connected to the controller 130 and is used to monitor the operating status and resource occupancy of the hardware node 11 in real time, and forward the monitored information to the controller 130 in real time. Then, the controller 130 assigns tasks to the hardware node 11 according to the operating status and resource occupancy of the hardware node 11 to achieve reasonable scheduling of the tasks to be processed.
[0083] That is, the status register is a special memory unit used to record the operation status and resource occupancy of the node in real time. The status register is connected to the controller 130 and can transmit the status information to the controller 130 in real time. The controller 130 intelligently schedules the tasks to be processed based on the information provided by the status register. It can select the most suitable node to perform the task according to the operation status and resource occupancy of the node, ensuring that the task can be completed efficiently and stably.
[0084] The operation status of the hardware node 11 refers to whether the hardware node 11 has a fault; and the resource occupancy status refers to the proportion of resources allocated to the hardware node 11 to the total resources.
[0085] The tasks to be processed are scheduled. Specifically, the tasks to be processed can be automatically allocated, scheduled and managed according to a pre-set task scheduling mechanism to ensure that the tasks to be processed can be completed efficiently.
[0086] In this embodiment, the number of pre-set task scheduling mechanisms may be one or more, which is not specifically limited herein.
[0087] Specifically, the task scheduling mechanism includes but is not limited to Round-Robin (RR) scheduling, Weighted Round Robin (WRR) scheduling, Min-Min scheduling, and scheduling based on heuristic algorithms. The selection and application of these task scheduling mechanisms are determined based on the operating status and resource usage of the hardware nodes.
[0088] Among them, under sequential round-robin scheduling, multiple processes are no longer executed sequentially, but are executed in a switching manner. In this way, for interactive programs, users can quickly feel that the operations they perform have been responded to, and the response time is short.
[0089] Weighted round-robin scheduling means adding weights on the basis of sequential round-robin. When there are multiple input data, each channel is configured with an independent weight value. When the weight value of the input valid channel is not 0, it is output according to sequential round-robin scheduling, and the weight value of the channel is reduced by 0 for each data output. When the weight values of all channels are 0, a weighted round-robin scheduling is completed and the weight value is reinitialized.
[0090] Under Min-Min scheduling, calculate the expected completion time of each task that will participate in the mapping event on each machine, find the earliest completion time of each task and its corresponding machine; find the task with the smallest earliest completion time and assign it to the machine that obtains it; after the assignment is completed, update the machine's expected ready time and delete the task that has completed the mapping from the task set. Repeat the above process until all tasks are mapped.
[0091] In a specific embodiment, when system resources are sufficient and the priorities of the tasks to be processed are similar, sequential round-robin scheduling can be used to balance the load of each node; when some tasks to be processed have higher priorities or require more computing resources, weighted round-robin scheduling or heuristic algorithm-based scheduling can be used for scheduling; and scattered tasks to be processed with small data volumes can use Min-Min scheduling, and tasks to be processed with large data volumes can be scheduled using weighted round-robin scheduling.
[0092] At the same time, before the task is assigned, the task to be processed can also be split, specifically, the data or operation can be divided into multiple subtasks or sub-operations according to the nature or operation requirements of the task to be processed. Then, the hardware node 11 suitable for executing these subtasks is selected, and the basis for the selection includes but is not limited to factors such as the performance, availability and current load of the hardware node.
[0093] In this embodiment, by monitoring the operating status and resource occupancy of the hardware node 11 through the status register, computing resources can be effectively managed and allocated to better schedule tasks to be processed.
[0094] The following is a brief introduction to the functions of the status register:
[0095] In the embodiment of the present invention, the status register can at least realize the function of monitoring the running status and recording the resource occupancy.
[0096] 1) Operation status monitoring function.
[0097] The status register can record the operating status of the hardware node 11 in real time, including whether it is online, busy, or in a fault state, etc. This information provides the controller 130 with a basis for determining the working status of the node.
[0098] 2) Resource occupancy recording function.
[0099] The status register also records the resource usage of the hardware node 11, such as CPU usage, memory usage, disk space, etc. This information helps the controller 130 understand the load of the node and provide a decision basis for task scheduling.
[0100] By introducing the scheduling function of the status register and the controller 130, the system achieves higher efficiency and flexibility in task management and resource allocation. On the one hand, by real-time monitoring of the running status and resource occupancy of the nodes, the system can promptly discover and resolve potential performance bottlenecks and resource conflicts. On the other hand, through intelligent task scheduling, the system can fully utilize the processing power of each node to achieve balanced distribution and efficient execution of tasks.
[0101] In addition, this design also improves the scalability and maintainability of the system. As the system scale expands and the tasks increase, the controller 130 can dynamically adjust the task allocation strategy according to the actual situation to ensure that the system always maintains the best working state. At the same time, due to the real-time update and sharing of status information, operation and maintenance personnel can more conveniently understand the operating status of the system, conduct troubleshooting and performance optimization.
[0102] In summary, by introducing the status register and the scheduling function of the controller 130, the system has achieved significant improvements in task scheduling and resource management, providing more efficient and stable service support for various complex applications.
[0103] In some embodiments, the controller 130 in the fully interconnected hardware system for intelligent computing will also adopt a dynamic load balancing strategy based on factors such as the computing power, storage capacity, and network bandwidth of the hardware nodes 11 to reasonably distribute the tasks to be processed to each hardware node 11 to improve the overall performance of the system.
[0104] It is understandable that in order to further improve the overall performance of the fully interconnected hardware system for intelligent computing, the controller 130 in the system adopts a dynamic load balancing strategy. This strategy comprehensively considers multiple key factors of the hardware node 11, including computing power, storage capacity, and network bandwidth, so as to reasonably distribute the tasks to be processed to each hardware node 11.
[0105] The dynamic load balancing strategy is a core algorithm in the controller 130. The dynamic load balancing strategy can be dynamically adjusted according to the real-time status of the system and task requirements. The controller 130 regularly collects the status information of each hardware node 11, including the current load, computing power utilization, storage capacity utilization, and network bandwidth utilization. By analyzing this information, the controller 130 can evaluate the processing power and resource status of each node.
[0106] For example, the policy implementation process can be divided into the following steps:
[0107] 1) Task analysis step: The controller 130 first analyzes the task to be processed to determine the computational load, storage requirements, and network communication requirements of the task.
[0108] 2) Node evaluation step: The controller 130 evaluates each hardware node 11 based on the collected status information. It considers whether the computing power of the node meets the task requirements, whether the storage capacity is sufficient, and whether the network bandwidth supports the data transmission of the task.
[0109] 3) Task allocation step: Based on the results of task analysis and node evaluation, the controller 130 uses an optimization algorithm to dynamically allocate tasks to the most suitable hardware nodes 11. If the load of a node is already high, the controller 130 will try to avoid allocating new tasks to it, and instead choose to allocate tasks to nodes with lighter loads and sufficient resources.
[0110] 4) Real-time adjustment step: During the task execution process, the controller 130 will monitor the node status and task execution in real time. If the load of a node suddenly increases or the resources are insufficient, the controller 130 will immediately adjust the task allocation strategy to ensure the stability and efficiency of the system.
[0111] Therefore, the fully interconnected hardware system for intelligent computing provided by the embodiment of the present invention can achieve at least the following effects by adopting a dynamic load balancing strategy:
[0112] By assigning tasks to the most appropriate hardware node11, the system can fully utilize the processing power of each node, avoid idle and wasted resources, and thus improve overall performance. The dynamic load balancing strategy can adjust tasks according to the real-time status of the system, avoid overload and congestion, and enhance the stability and reliability of the system. By comprehensively considering factors such as the computing power, storage capacity, and network bandwidth of the node, the system can achieve reasonable allocation and optimal utilization of resources and improve the efficiency of resource use.
[0113] In some other embodiments, the fully interconnected hardware system for intelligent computing also includes a system interface management tool to facilitate users to configure, manage and maintain the system.
[0114] In the embodiment of the present invention, the system interface management tool can adopt an intuitive and friendly graphical user interface design, so that users can easily configure, manage and maintain the system without having to deeply understand the underlying structure and complex operations of the system. The tool provides a series of rich functional options and operation buttons, and users can complete various settings and adjustments of the system by simple clicks and drag operations.
[0115] For example, the system interface management tool may have the following functions:
[0116] 1) System configuration function: Users can use the system interface management tool to fully configure the system, including adding, deleting and modifying hardware nodes 11, setting up network connections, and adjusting system parameters. These configuration operations can flexibly adapt to different application scenarios and requirements, so that the system can meet the personalized needs of users.
[0117] 2) Node management function: The system interface management tool provides real-time monitoring and management functions for the hardware nodes 11. Users can view the operating status, resource usage, task execution status and other information of each hardware node 11, and perform corresponding management operations, such as starting, stopping, and restarting the hardware node 11. This enables users to grasp the operating status of the system at any time and discover and solve problems in a timely manner.
[0118] 3) Task scheduling and monitoring function: Through the system interface management tool, users can intuitively view the scheduling of tasks, including task allocation, execution progress, completion status, etc. At the same time, users can also manually intervene and adjust tasks to meet specific needs. In addition, the tool also provides real-time performance monitoring function to help users understand the overall performance and bottlenecks of the system.
[0119] 4) System maintenance and upgrade function: The system interface management tool simplifies the system maintenance and upgrade process. Users can use this tool to perform system backup, recovery, and troubleshooting operations to ensure system stability and data security. At the same time, the tool also supports online upgrade functions. Users only need to follow the prompts to complete the system upgrade and update.
[0120] Therefore, the fully interconnected hardware system for intelligent computing provided by the embodiment of the present invention is easier to use and manage through the introduction of interface management tools. Users can easily configure, monitor and maintain the system without having a professional technical background, which greatly reduces the threshold for using the system and improves the work efficiency of users. At the same time, the intuitiveness and friendliness of the tool also enhance the user experience, making the system more in line with the needs of practical applications.
[0121] in addition, Figure 4 The overall framework schematic diagram of the fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention is shown.
[0122] like Figure 4 As shown, a node unit 1 includes a hardware node 11 as an example. In this case, the node unit 1 is the hardware node 11, and the hardware node 11 includes a controller 130 (i.e. Figure 4 The FPGA in it is called Field Programmable Gate Array in English), DDR (Double Data Rate SDRAM, double rate synchronous dynamic random access memory 140), QSFP module, UDP (User Datagram Protocol, user data message protocol) module, and data flow accelerator chip system module (used as processor 120).
[0123] The UDP module is also called a Gigabit Ethernet interface module. The UDP module and the QSFP module are components of the communication interface module 110 described above.
[0124] Based on the above structure, each node unit 1 is connected through a high-speed serial channel (such as a QSFP interface), which can realize N-level interconnection expansion (N is a positive integer) of a fully interconnected hardware system for intelligent computing.
[0125] For example, the memory 140 may be a double data rate synchronous dynamic random access memory 140 (DDR SDRAM), which is a memory technology with high-efficiency data transmission performance. DDR SDRAM has significant advantages in data processing speed over traditional single data rate (SDR) SDRAM.
[0126] The core feature of DDR SDRAM lies in its double data rate design. Traditional SDR SDRAM can only perform data transmission once in one clock cycle, usually during the rising period of the clock. DDR SDRAM is different. It can perform data transmission twice in one clock cycle. Specifically, DDR SDRAM not only performs data transmission during the rising period of the clock, but also during the falling period of the clock, thus achieving double data transmission rate.
[0127] This design enables the data transmission speed of DDR SDRAM to reach twice the system clock frequency, greatly improving the performance of memory 140. Therefore, in application scenarios that require processing large amounts of data or performing high-speed calculations, DDR SDRAM becomes an ideal choice.
[0128] In addition, DDR SDRAM also has the characteristics of synchronous dynamic random access, which adopts a dynamic random access method, which means that the access to the memory 140 is random, and the data needs to be refreshed when stored to maintain its integrity. At the same time, due to its synchronization, the operation of DDR SDRAM is synchronized with the system clock signal, ensuring the stability and accuracy of data transmission.
[0129] In the design of the hardware node 11, using DDR SDRAM as the memory 140 can significantly improve the performance of the entire system. Combined with the parallel processing and hierarchical processing capabilities of the data flow accelerator chip and the efficient computing capabilities of the processor 120, a high-performance, high-reliability fully interconnected hardware system for intelligent computing can be constructed.
[0130] Figure 5 A three-dimensional cascade schematic diagram of a fully interconnected hardware system for intelligent computing provided by an embodiment of the present invention is shown.
[0131] like Figure 5 As shown, the three-dimensional interconnection architecture implemented by QSFP is a 3D mesh. The eight nodes, node 0, node 1, node 2, node 3, node 4, node 5, node 6, and node 7 (in practice, the hardware node 11 described above) constitute the eight vertices of a cube, realizing three-dimensional interconnection of right-angle edges between each vertex of the cube.
[0132] Among them, nodes can continue to expand and cascade to achieve the construction of higher-level large systems.
[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A fully interconnected hardware system for intelligent computing, characterized in that: It includes multiple node units, each node unit includes multiple hardware nodes, wherein: The hardware node is provided with a communication interface module, and the communication interface module includes a four-channel small pluggable interface, a Gigabit Ethernet interface and a high-speed serial channel interface; The communication interface module is used to perform stereoscopic cascading on multiple hardware nodes in the node unit and to perform stereoscopic cascading on multiple node units.
2. The fully interconnected hardware system for intelligent computing according to claim 1, characterized in that: The hardware node comprises: The processor includes a set number of data flow accelerator chips, and the data flow accelerator chips are interconnected according to the connection schemes of east-west interconnection and north-south interconnection.
3. The fully interconnected hardware system for intelligent computing according to claim 2, characterized in that: The hardware node comprises: A controller, connected to the communication interface module and the processor, and used to control the processor to perform computing tasks; A memory is connected to the controller and is used to store the processing data of the hardware node.
4. The fully interconnected hardware system for intelligent computing according to claim 1, characterized in that: The hardware node also includes: The fault monitoring module is connected to the controller and is used to monitor the voltage state, temperature state and task running state of the hardware node in real time during the task execution, and to start the idle node to continue the task execution when the hardware node fails.
5. The fully interconnected hardware system for intelligent computing according to claim 1, characterized in that: The hardware node also includes: A status register, connected to the controller, for monitoring the operating status and resource occupancy of the hardware node; Correspondingly, the controller is also used to schedule the tasks to be processed according to the operating status and resource occupancy of the hardware node.
6. The fully interconnected hardware system for intelligent computing according to claim 5, characterized in that: The controller is further used to distribute the tasks to be processed to each hardware node using a dynamic load balancing strategy according to the computing power, storage capacity and network bandwidth of the hardware nodes.
7. The fully interconnected hardware system for intelligent computing according to claim 3, characterized in that: The memory is a double data rate synchronous dynamic random access memory.
8. The fully interconnected hardware system for intelligent computing according to claim 1, characterized in that: The communication between the hardware nodes adopts a brain-like heterogeneous transmission protocol.
9. The fully interconnected hardware system for intelligent computing according to any one of claims 1 to 8, characterized in that: The four-channel small form-factor pluggable interface is used to achieve high-speed communication between hardware nodes; The Gigabit Ethernet interface is used to realize the connection between the hardware node and the switch; The high-speed serial channel interface is used to realize the connection between the hardware node and the computer device.
10. The fully interconnected hardware system for intelligent computing according to any one of claims 1 to 8, characterized in that: Also includes: System interface management tool, used to configure, manage and maintain the system.
Citation Information
Patent Citations
Concurrent computational system for multi-scale discrete simulation
CN102053945A
Heterogeneous multi-source high-speed data exchange adapter
CN105933219A
3D-mesh network-based point-to-multipoint communication method and communication node
CN105991378A
Dynamic reconfigurable intelligent computing cluster and configuration method thereof
CN108628800A
Hybrid heterogeneous host system, resource configuration method and task scheduling method
US20160378548A1
Cited By
Multi-card interconnection system
CN120929410A
