Computing device, method for load distribution for such a computing device and computer system
Patent Information
- Application Number
- EP2023773217
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-10-05
- Filing Date
- 2023-09-18
- Publication Date
- 2024-08-14
AI Technical Summary
The inefficiencies in data processing due to varying physical distances between processor cores and memory elements in traditional computing devices lead to increased latencies, reducing the overall computing efficiency.
A computing device with processor cores arranged in a hexagonal honeycomb pattern, where each core has two inputs and one output, with memory elements connected in a star shape at 120-degree angles, ensuring equal physical distance and facilitating simultaneous data transfer, allowing for reduced latency and enhanced parallel processing.
This configuration enables faster data processing by maintaining consistent data transfer speeds across all processor cores, reducing latency, and allowing for efficient parallelization of tasks, thereby improving computing efficiency and thermal management.
Smart Images

Figure 1.1
Abstract
Description
[0001] Computing device, method for load distribution for such a computing device and computer system
[0002] The invention relates to a computing device according to the type defined in more detail in the preamble of claim 1, a method for load distribution for such a computing device and a computer system with such a computing device.
[0003] Processors are fundamental components of computer systems. Processors come in various forms, such as the central processing unit (CPU) for PCs, or as integrated circuits in the form of microprocessors and microcontrollers in embedded systems. A CPU is characterized by relatively few, yet powerful processing cores. This enables the execution of relatively complex and computationally intensive programs. Parallelization of program sequences is also possible. CPUs are designed to solve a wide range of different tasks and problems.
[0004] Processors are also implemented in the form of so-called graphics processors, or GPUs for short. Compared to CPUs, modern GPUs are characterized by a large number of processing cores, on the order of several thousand units per chip. These are comparatively low-performance processing cores optimized to solve a handful of specific tasks. GPUs are primarily used to calculate matrices or tensors, for example, for graphics computing or to provide / accelerate artificial intelligence. GPUs are therefore particularly suitable for parallel processing of tasks. The provision of the information to be processed by the processor cores of the graphics processor, in particular the connection to a CPU, is typically done via a bus system such as PCI Express (PCIe).Processing the relevant information by the processor cores of the graphics processor requires this information to be buffered before, during, and after processing. Various internal and external processor memory elements (although located on a common circuit board) are available for this purpose.
[0005] Typically, these memory elements are arranged within or on a graphics processor in a two-dimensional structure. The individual components are typically distributed at right angles. This results in varying physical distances between the processor cores and the interfaces used for information transfer, such as the aforementioned memory elements, bus connections, and / or other processor cores. Accordingly, more time is required to send the information over a correspondingly longer data line. This increases latency, making the graphics processor less efficient.
[0006] A DDR4-SSD dual-port DIMM device is known from US 2015 / 0255130 A1. This device can be used both as RAM and as main memory, i.e., as a mass storage device such as a hard drive or SSD. The device can be connected to a motherboard's bus system via a RAM slot or PCIe slot. Thanks to the dual-port memory design of the memory elements, simultaneous write and read access to the device is possible by two host systems. The memory elements are arranged along parallel or orthogonal lines, i.e., square or rectangular.
[0007] Furthermore, it is common practice for a specialist to use a processing unit with a multi-core processor to process multiple tasks in parallel and thus in a particularly efficient manner, as documented by: Multi-core processor. In: Wikipedia, the free encyclopedia. Last edited: September 4, 2022. URL: https: / / en.wikipedia.org / w / index.php?title=Multi-core_processor&oldid=1108514820. The common connection of memory elements to the individual processor cores of a processor is familiar to the specialist, for example, from: CPU cache. In: Wikipedia, the free encyclopedia. Last edited: September 30, 2022. URL: https: / / en.wikipedia.org / w / index.php?title=CPU cache&oldid=1113266567. It is therefore common practice to maintain multi-level caches. Each processor core is assigned its own L1 cache. Multiple processor cores can share an L2 or L3 cache. This cache can be implemented as a multi-ported cache.
[0008] In addition, US 2009 / 0 216 924 A1 discloses a composite system with processor cores arranged in a hexagonal honeycomb.
[0009] Such an arrangement of processor cores is also known from US 2020 / 0 243 154 A1.
[0010] The present invention is based on the object of providing an improved computing device which is characterized by increased computing efficiency.
[0011] According to the invention, this object is achieved by a computing device having the features of claim 1. Advantageous embodiments and further developments as well as a method for load distribution for such a computing device and a computer system with such a computing device emerge from the dependent claims.
[0012] A generic computing device, comprising a processor unit with a plurality of interacting processor cores and a plurality of memory elements assigned to the processor cores, as well as with at least one input interface for receiving information to be processed by the processor cores and at least one output interface for outputting information processed by the processor cores, is further developed according to the invention in that the memory elements are formed by dual-port RAM, each processor core has exactly two inputs for receiving information and exactly one
[0013] Output for outputting information and is connected to exactly three memory elements, wherein the first two of these three memory elements each form one of the two inputs of the processor core and the third memory element forms the output of the processor core, the three memory elements are arranged in a star shape around the processor core at an angle of 120° to one another, and a physical distance from a respective processor core to the memory elements connected to the processor core is equidistant.
[0014] The computing device according to the invention is based on the idea of designing the physical distance of the memory connection of the respective processor cores to be uniform, so that the distance between a respective processor core and the memory elements connected to it is the same length. The time required to supply a processor core with the information to be processed or to output the processed information from a processor core is thus the same for each processor core. This increases the efficiency of the processor unit, since information is passed on from processor core to processor core at the same speed and thus a processor core that receives information from two upstream processor cores in the direction of data flow does not have to wait for the information sent from a second processor core after receiving the information from a first processor core, since both pieces of information arrive simultaneously.This enables particularly fast data processing.
[0015] The processor unit can be, for example, a central processing unit (CPU) or a graphics processor (GPU). The computing device is a corresponding chip or a circuit board, such as a card, e.g., a graphics card. The base area of the processor unit can be square or rectangular. Any polygonal surface shape is also possible. In particular, the processor cores are designed similarly and, particularly preferably, have the same geometric shape, i.e., the same geometric shape and the same surface area.
[0016] The computing device can be integrated into a higher-level computer system. Other components of the computing device and / or the corresponding computer system can also have direct memory access, i.e., write and / or read access, to the input interface or the output interface. This is also referred to as direct memory access (DMA).
[0017] Depending on the implementation, the individual processor cores can now process a fixed program, for example a program read from a Read Only Memory (ROM), where the ROM can be part of the computing device or the higher-level computer system, or the processor cores can read and interpret information from a Random Access Memory (RAM), and thus execute code contained in the RAM as instructions.
[0018] Since each processor core has two inputs and one output, each function to be processed can be executed directly in parallel, since each processor core can also read two operands at the same time.
[0019] According to the invention, a respective processor core and the memory elements forming its two inputs and its output are arranged in a star configuration on the processor unit, with an angle between the respective memory elements being 120 degrees. This allows for a particularly effective distribution of the processor cores on the processor unit. Thus, while maintaining a solid angle of 120 degrees between said memory elements, a symmetrical arrangement of the processor cores can be achieved, and the physical distance between the respective memory elements and processor cores can be maintained particularly easily.
[0020] Preferably, 6 processor cores are arranged on the processor unit in the form of a hexagonal honeycomb. This enables the aforementioned solid angle of 120 degrees to be maintained with respect to the respective memory elements for each of the processor cores in a simple and reliable manner, while maintaining the same distance between the processor core and the memory element. A further particular advantage is that the distance between the corresponding data lines can be shortened compared to designs known from the prior art, in particular the longest data line between a processor core and the memory element assigned to the processor core in a rectangular arrangement. This allows latencies in data processing to be reduced even further. Individual processor cores of one and the same hexagonal honeycomb can simultaneously be part of an adjacent hexagonal honeycomb.The distribution of the processor cores on the processor unit can be compared to the honeycombs in a beehive. The processor unit preferably also has a hexagonal honeycomb cross-sectional shape. This allows the processor unit to be designed particularly compactly and also allows the individual processor cores to be spaced sufficiently far apart to provide a sufficiently large surface area for heat dissipation. This improves the thermal management of the computing device, eliminating the need for particularly large and complex cooling systems. Cooling using passive or simple active cooling systems is thus possible.
[0021] A further advantageous embodiment of the computing device further provides that the at least one input interface and the at least one output interface are each formed by dual-port RAM, and the at least one input interface forms an input of an input core arranged in a circuit chain of the processor cores at the perimeter of the circuit chain, and the at least one output interface forms an output of an output core arranged at the perimeter of the circuit chain. The input interface and the output interface can be read or written by the processor unit. Furthermore, other components of the computing device or of the computer system superordinate to the computing device can have write and / or read access to the input interface and the output interface. Thanks to the design as a dual-port RAM, simultaneous write access and / orsimultaneous read access by the processor unit and a corresponding other component is possible.
[0022] Preferably, the at least one input interface and the at least one output interface are arranged on two opposite sides of the processor unit. To solve a task, i.e. to process information, for example by executing a program, information is processed by the processor cores of the processor unit. For this purpose, information is provided to the processor unit via the input interface, and the processed information is output at the output interface. This is a directed graph along which information is passed on through the interconnection chain of the processor cores. If the input interface and the output interface are arranged at the two endpoints of the directed graph, a particularly simple and therefore quickly traversable directed graph can be constructed.
[0023] A further advantageous embodiment of the computing device further provides that the computing device has at least one second input interface and / or at least one second output interface. Thus, information can be input or output at multiple points in the data flow graphs provided by the processor cores. This facilitates the parallelization of multiple tasks to be processed by the processor unit. Access to the additional input interfaces or output interfaces can also be possible via DMA.
[0024] According to a further advantageous embodiment of the computing device, the at least one second input interface and / or the at least one second output interface is / are arranged on a different side of the processor unit than the first input interface and the first output interface. The inventive design of the computing device allows information to be passed through the interconnection chain of the processor cores, i.e., the corresponding directed data flow graph, not only one-dimensionally along a line, but also two-dimensionally. Information can then also be introduced into or extracted from the corresponding data flow graph, for example, in the middle or at another intermediate location of the data flow graph.This enables the processing of particularly complex programs and, on the other hand, massive parallelization, since several relatively simple tasks require distribution across fewer processor cores, meaning that not all processor cores in the data flow graph need to be involved in one and the same task. This frees up additional processor cores to solve additional tasks. Within the interconnection chain of the processor cores in the processor unit, "islands" of linked processor cores can thus be created, with each island processing different tasks. Thanks to the additional input and output interfaces arranged on the side, individual information input and output is then possible for each island. These islands can also be referred to as groupings or clusters.
[0025] The geographical distribution of the processor cores, which are grouped into islands on the processor unit, is based on the complexity of the respective tasks. Complex tasks that require a relatively large number of processor cores can be geographically outsourced to a central area of the processor unit, as this is where the connection to input and output interfaces is remote. This is particularly suitable for tasks where no new information needs to be fed into the processor chain for a longer period of time or where a large number of computing operations are required, and the result only needs to be provided at the end. Simpler tasks can then be distributed accordingly across processor islands that are located more towards the edge of the processor unit. This enables easy input and output of information via the aforementioned input and output interfaces.
[0026] An advantageous development of the computing device according to the invention further provides that all processor cores operate at a substantially identical clock rate. This allows the efficiency of the computing device according to the invention to be increased even further. As already mentioned, the corresponding data lines for forwarding information in the interconnection chain of the processor cores are of the same length, so that information is exchanged between processor cores at the same speed. If the processor cores themselves also require the same amount of time to process the information to solve a task using a substantially identical clock rate, the latencies in data processing by the processor unit can be reduced even further.If a processor core requires information from two upstream processor cores, these two upstream processor cores receive input data at the same time, process it simultaneously, and make it available to the processor core for further processing. The processor cores are preferably configured to switch between a sleep mode and an active mode, with a respective processor core processing no information in sleep mode and information being able to be processed in active mode. This can improve the energy efficiency of the processor unit. Depending on the complexity of the task to be processed, it may be necessary to involve a certain number of processor cores in the task. If involving additional processor cores does not result in a runtime gain, or if no further tasks need to be solved, individual processor cores of the processor unit can be put into sleep mode.Since these processor cores are then no longer “operated,” the energy consumption of the processor unit can be reduced.
[0027] A method for load distribution for a computing device described above provides, according to the invention, that a compiler determines a data flow graph that can be used by concatenating the processor cores of the processor unit and distributes the load of the information to be processed by the processor cores to solve a task among the individual processor cores by applying pattern matching depending on the determined data flow graph. This makes it possible to achieve particularly even and therefore efficient load distribution. Accordingly, programs can be executed in a particularly short runtime, which further improves the effectiveness of the computing device according to the invention. Since each processor core is assigned two inputs and one output, when the processor cores are arranged in hexagonal honeycombs, two inputs of two adjacent processor cores sometimes overlap.This fact is taken into account by the compiler when determining the data flow graph, so that a one-way information transfer through the data flow graph is avoided at this point. Since the individual memory elements are designed as dual-port RAM, reading and writing is possible from both sides. Two processor cores connected to each other via inputs can thus be used to pass information in a loop in the interconnection chain of the processor cores. This further improves the efficiency of the computing device according to the invention, since no unused processor cores remain when processing information. According to the invention, a computing device as described above is integrated into a computer system. The computer system can be, for example, a PC, an embedded system, or another information technology system.The computing device according to the invention can be implemented, for example, as a plug-in card for a PC motherboard. All common variants are possible as a plug-in connection and corresponding information transmission protocol. For example, a PCIe interface is used. The computer system can also be implemented as a vehicle or a vehicle-integrated computing unit. The computing device according to the invention can be used, in particular, in conjunction with a vehicle to accelerate artificial intelligence, for example, using artificial neural networks. The computing device according to the invention can thus be integrated into a vehicle to provide automated or even autonomous driving functions.
[0028] Further advantageous embodiments of the computing device according to the invention also emerge from the exemplary embodiments which are described in more detail below with reference to the figures.
[0029] Showing:
[0030] Fig. 1 is a schematic representation of a processor core with its respective inputs and output formed by dual-port RAM;
[0031] Fig. 2 is a schematic representation of a section of several processor cores connected to each other in the manner of hexagonal honeycombs to form a circuit chain; and
[0032] Fig. 3 is a schematic representation of a computing device according to the invention.
[0033] Figure 1 illustrates the inventive relative arrangement of processor cores 2.1 and memory elements 2.2 of a processor unit 2 shown in Figure 3 of a computing device 1 according to the invention. The exact shape of the processor cores 2.1 and the memory elements 2.2 is to be understood only symbolically. Thus, the processor cores 2.1 can also have a geometry deviating from a circular shape, and the memory elements 2.2 can also have a geometry deviating from a rectangular shape. Each processor core 2.1 of the processor unit 2 is connected to exactly three dual-port RAMs. Two of these memory elements 2.2 form an input E for supplying information to the respective processor core 2.1, and a memory element 2.2 forms an output A for outputting the information processed by the processor core 2.1.
[0034] As can be seen from Figure 1, the memory elements 2.2 are arranged in a star shape, each at an angle a of 120° around a respective processor core 2.1. A distance d between the processor core 2.1 and a respective memory element 2.2 is equidistant. The distance d is thus the same for each of the memory elements 2.2 shown in Figure 1. According to the embodiment shown in Figure 1, all memory elements 2.2 are also the same length; in particular, they have the same geometric shape. This enables a symmetrical arrangement of the processor cores 2.1 and memory elements 2.2 on the processor unit 2 according to a specific pattern shown in Figure 2.
[0035] Figure 2 thus illustrates the arrangement of several of the aforementioned processor cores 2.1 and memory elements 2.2. The processor cores 2.1 and memory elements 2.2 are interconnected in a hexagonal honeycomb pattern to create a data flow graph. This configuration has the advantage that the length of a data line between each memory element 2.2 and the adjacent processor core 2.1 is the same length, which means that the same amount of time is always required to forward information from a memory element 2.2 to a processor core 2.1. Furthermore, processor cores 2.1 can simultaneously read two different pieces of information, for example, different variables, which facilitates parallelization, i.e., the simultaneous processing of different tasks.
[0036] In particular, all processor cores 2.1 calculate at the same clock speed, which allows for even more efficient data processing. In particular, information is provided to the individual processor cores 2.1 simultaneously and processed by them simultaneously. Accordingly, information is provided simultaneously by processor core 2.1 via a respective output A and can be provided simultaneously to the subsequent processor core 2.1 via its respective inputs E. The corresponding network or data flow graph formed by this concatenation of processor cores 2.1 can thus be traversed in a particularly efficient manner.
[0037] The fact that the network of processor cores 2.1 and memory elements 2.2 continues to expand in a corresponding shape is indicated in Figure 2 by dots "...". Furthermore, the data flow direction at the respective outputs A is symbolized by a small arrow to better illustrate which output A is assigned to which processor core 2.1. For clarity, not all elements are provided with reference symbols.
[0038] Figure 3 shows the computing device 1 once again in a more comprehensive representation. Only the essential components are shown. Typical components, such as memory controllers, have been omitted. Figure 3 shows an input interface 3 arranged on a first side S1 and an output interface 4 opposite the processor unit 2 on a second side S2. The input interface 3 and the output interface 4 are in particular also formed by dual-port RAM. This enables simultaneous read and simultaneous write access to the input interface 3 and the output interface 4 both by the processor unit 2 and by a computing unit higher-level than the computing device 1. This higher-level computing unit orThe computer system can have direct memory access or direct memory access (DMA) to said interfaces, for example, as shown in Figure 3, to input interface 3. To control computing device 1, a corresponding computer system then does not need to go through a main processor such as a CPU; instead, information can be provided directly to computing device 1 without detours via the CPU. This further improves the runtime of the tasks to be executed, i.e., programs.
[0039] The processor cores 2.1 arranged at the edge of the interconnection chain of processor cores 2.1, i.e. at the perimeter, can, as shown in Figure 3, be connected directly, i.e. without an intermediate memory element 2.2, to the respective input interface 3 or output interface 4. A processor core 2.1 connected directly to the input interface 3 is also referred to as an input core 2.E, and a processor core 2.1 connected directly to the output interface 4 is referred to as an output core 2.A. Any number of processor cores 2.1 can be connected to the input interface 3 or output interface 4, for example one, two, three, four, or even more processor cores 2.1.
[0040] Furthermore, the computing device 1 can have at least one second input interface 3.2 and / or at least one second output interface 4.2. In particular, the second input interface 3.2 and the second output interface 4.2 are arranged on sides S3, S4 that differ from the first and second sides S1, S2. Several second input interfaces 3.2 or output interfaces 4.2 can also be provided on the same side. This facilitates the provision or output of information even in a central region of the interconnection chain of the processor cores 2.1. The interconnection chain of the processor cores 2.1 is also connected via input cores 2.E and output cores 2.A to the respective second input interface 3.2 and second output interface 4.2 (not shown).
Claims
Mercedes-Benz Group AG Patent claims 1. Computing device (1) comprising a processor unit (2) with a plurality of interacting processor cores (2.1) and a plurality of memory elements (2.2) assigned to the processor cores (2.1), as well as with at least one input interface (3) for receiving information to be processed by the processor cores (2.1) and at least one output interface (4) for outputting information processed by the processor cores (2.1), characterized in that the memory elements (2.2) are formed by dual-port RAM, each processor core (2.1) has exactly two inputs (E) for receiving information and exactly one output (A) for outputting information and is connected to exactly three memory elements (2.2), wherein the first two of these three memory elements (2.2) each form one of the two inputs (E) of the processor core (2.1), and the third memory element (2.2) forms the output (A) of the processor core (2.1), the three memory elements (2.2) are arranged in a star shape around the processor core (2.1) at an angle (a) of 120° to one another, and a physical distance (d) starting from a respective processor core (2.1) to the memory elements (2.2) connected to the processor core (2.1) is equidistant.
2. Computing device (1) according to claim 1, characterized in that six processor cores (2.1) are arranged on the processor unit (2) in the form of a hexagonal honeycomb. Computing device (1) according to claim 1 or 2, characterized in that the at least one input interface (3) and the at least one output interface (4) are each formed by dual-port RAM, and the at least one input interface (3) forms an input (E) of an input core (2.E) arranged in a circuit chain of the processor cores (2.1) at the perimeter of the circuit chain, and the at least one output interface (4) forms an output (A) of an output core (2.A) arranged at the perimeter of the circuit chain. Computing device (1) according to one of claims 1 to 3, characterized in that the at least one input interface (3) and the at least one output interface (4) are arranged on two opposite sides (S1, S2) of the processor unit (2). Computing device (1) according to one of claims 1 to 4, characterized by at least one second input interface (3.2) and / or at least one second output interface (4.2). Computing device (1) according to claim 5, characterized in that the at least one second input interface (3.2) and / or the at least one second output interface (4.2) is / are arranged on a different side (S3, S4) on the processor unit (2) than the first input interface (3) and the first output interface (4). Computing device (1) according to one of claims 1 to 6, characterized in that all processor cores (2.1) operate at a substantially identical clock rate. Computing device (1) according to one of claims 1 to 7, characterized in that the processor cores (2.1) are configured to switch between a sleep mode and an active mode, wherein a respective processor core (2.1) does not process any information in sleep mode and information can be processed in active mode. Method for load distribution for a computing device (1) according to one of claims 1 to 8, characterized in that a compiler determines a data flow graph usable by concatenating the processor cores (2.1) of the processor unit (2) and distributes the load distribution of the information to be processed by the processor cores (2.1) to solve a task among the individual processor cores (2.1) by applying pattern matching depending on the determined data flow graph. A computer system, characterized by at least one computing device (1) according to one of claims 1 to 8.
