Device and method for efficient parallel computing

By reducing the operating frequency and increasing the number of processing elements, combined with reducing the operating voltage, the problem of memory bandwidth and communication bandwidth limitations in parallel processing systems is solved, the performance and energy efficiency of the system are improved, and higher parallelism and application performance are achieved. At the same time, energy consumption is reduced.

CN112166414BActive Publication Date: 2024-10-15PARTEC CLUSTER COMPETENCE CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980031994.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-05-15
Filing Date
2019-05-15
Publication Date
2024-10-15
Estimated Expiration
2039-05-15

AI Technical Summary

Technical Problem

Due to memory bandwidth and communication bandwidth limitations of existing parallel processing systems in data-intensive applications, peak performance cannot be effectively utilized, resulting in low efficiency and high energy consumption.

Method used

By reducing the operating frequency of processing elements and increasing their number, memory bandwidth remains unchanged, while increasing the number of processing elements to improve concurrency, combined with lowering the operating voltage to reduce energy consumption, improve the performance and energy efficiency of the system.

Benefits of technology

Without reducing memory bandwidth and communication bandwidth, the system's parallelism and application performance are improved, energy consumption is reduced, the total investment cost is maintained, and higher efficiency and scalability are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112166414B_ABST
    Figure CN112166414B_ABST
Patent Text Reader

Abstract

The present invention provides a computing unit for operating in a parallel computing system, the computing unit comprising a plurality of processing elements and an interface for connecting the computing unit to other components of the computing system, wherein each processing element has a nominal maximum processing rate NPR and each processing element comprises a corresponding memory unit so that data can be transferred from the memory unit at a predetermined maximum data rate MBW, and the interface provides a maximum data transfer rate CBW, wherein in order to provide a predetermined peak computing performance PP for the computing unit, the peak computing performance PP can be obtained by a number n of processing elements operating at the nominal maximum processing rate so that PP=n×NPR operations are performed per second, the computing unit comprises an integer multiple f multiplied by n processing elements, wherein f is greater than 1 and each processing element is limited to operate at a processing rate of NPR / f.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to parallel processing systems, and in particular to parallel processing systems with improved efficiency in terms of performance / energy consumption. Background Art

[0002] In a typical parallel processing system, multiple computing nodes, each including one or more processing elements, are connected via a high-speed network. The processing elements of the computing nodes each have internal memory. The processing elements are connected within their computing nodes. The connectivity of the computing nodes can be achieved using high-speed networks, separate computing node high-speed networks, or public memory (such as in a symmetric multiprocessing SMP system). This arrangement is illustrated in FIG. Figure 1 middle.

[0003] Figure 1 An arrangement of a plurality of computing nodes CN is shown, wherein each computing node comprises a plurality of processing elements PE each having a corresponding memory MEM. The computing nodes are connected to each other via a high-speed network HSN, wherein each computing node comprises a network interface controller NIC for connecting to the high-speed network. The individual processing elements are connected together and are also connected to the network interface controller.

[0004] A processing element has a peak performance PP which is an upper limit on the number of (floating point) operations that it can perform per second, measured as floating point operations per second or "flops" for short (although reference is made to floating point operations, the operations could equally well be integer operations). The peak performance PPCN of a compute node is the sum of the peak performances of its processing elements. In general, a given application A can only achieve a fraction n of the peak performance A , where 0<η<1, η is called sustained efficiency. The reason for this is that the data transfer rate, i.e., the memory bandwidth (MBW) between the memory of the processing element and its computational registers, is limited, thus reducing the exploitation of peak performance to η for a given application. A A similar argument can be made for the input / output data transfer rate, ie, the communication bandwidth (CBW) of a processing element to another processing element non-compute node, potentially further reducing the exploitation of peak performance.

[0005] As a rule of thumb, practitioners of high performance computing believe that for most data-intensive applications, the ratio R = MBW / PP of 1 byte / floating point operation is the necessary requirement to achieve η close to 1. Depending on the data rate required to exhaust peak performance for a given application A, the actual memory bandwidth of the processing element determines the η that can be achieved for application A. A .

[0006] Current high-end CPUs suffer from R as low as 0.05 to 0.1 bytes / float, a number that has been decreasing over the last decade as the number of computational cores in the processing element has increased. Current high-end GPUs achieve only R below 0.15 bytes / float, designed primarily to meet the data requirements of graphics applications and, more recently, deep learning applications. The unfortunate consequence is that most data-intensive applications will a priori achieve less than 5% to 10% of η on current CPUs. A and about 15% of η on current GPUs A , regardless of any further degradation caused by the parallelism in the algorithms being executed or in the required processing elements. For a given R of processing elements, the more data-intensive the application, the lower the efficiency η A The lower it gets.

[0007] This problem has been recognized by others, as described, for example, in an article by Al Wegner published in Electronic Design in 2011, entitled “The Memory Wall is Ending Multicore Scaling,” available at http: / / www.electronicdesign.com / analog / memory-wall-ending-multicore-scaling.

[0008] Similar considerations can be made for the communication bandwidth of a given processing element, which describes the rate of data transfer to the compute and non-compute nodes of another processing element. What is important here is the impact of communication bandwidth on code scalability.

[0009] As far as the communication bandwidth computing nodes are concerned, the following three cases can be distinguished: computing nodes in which the processing elements are connected via a high-speed network, computing nodes in which the processing elements are connected to a separate network on the computing nodes which are again connected to the high-speed network, and computing nodes in which the computing nodes exchange data via a common memory.

[0010] Regarding the communication non-computing nodes, practitioners of high performance computing believe that the ratio r = CBW / MBW> 0.1 to 0.2 is appropriate to achieve scalability for many applications. Obviously, the closer the communication bandwidth is to the memory bandwidth, the better the scalability conditions.

[0011] The theoretically possible communication bandwidth is determined by the number of serial lanes available from the processing element to the high-speed network (this applies to both CPUs and GPUs). This number is limited by the serializer-deserializer implementations constrained by current chip technology.

[0012] It is important that the network interface controller NIC of the compute node is appropriately sized to maintain data flow to and from the processing elements of the compute node.

[0013] US 2005 / 0166073 A1 describes using a variable operating frequency of a system processor in order to maximize system memory bandwidth.

[0014] US 2011 / 0167229 A1 describes a computing system comprising a plurality of computing devices each connected to a storage device (such as a hard disk drive) as opposed to a memory. The purpose of the system is to match the data rate at which the stored data is retrieved with the processing speed. The suggestion in the document is to use a storage unit with a higher data transfer rate (i.e. a solid state drive as an alternative or supplement to a hard disk drive) in combination with a specific low-power processor operating at a lower clock rate.

[0015] US 3025 / 0095620 describes a technique for estimating the scalability of a workload in a computing system having a single multi-core processor. Summary of the invention

[0016] The present invention provides a computing unit for operating in a parallel computing system, the computing unit comprising a plurality of processing elements and an interface for connecting the computing unit to other components of the computing system, wherein each processing element has a nominal maximum processing rate NPR and each processing element comprises a corresponding memory unit so that data can be transferred from the memory unit at a predetermined maximum data rate MBW, and the interface provides a maximum data transfer rate CBW, wherein in order to provide a predetermined peak computing performance PP for the computing unit, the peak computing performance PP can be obtained by a number n of processing elements operating at the nominal maximum processing rate so that PP=n×NPR operations are performed per second, the computing unit comprises an integer multiple f multiplied by n processing elements, wherein f is greater than 1 and each processing element is limited to operate at a processing rate of NPR / f.

[0017] On the other hand, the present invention provides a method for operating a computing unit, which includes a multi-core processor and multiple graphics processing elements (GPUs), each GPU having a nominal peak performance of PPG operations per second, the method including operating the GPU at a fraction (fraction) 1 / f of its nominal peak performance rate, wherein the computing unit provides a predetermined peak computing performance of PP operations per second and the computing unit has n times f GPUs such that PP is equal to n times PPG.

[0018] The invention relates to the fact that reducing the clock frequency v of a processing element by a factor f can reduce the energy consumption of the processing element by a factor f or more. This process is called "downclocking".

[0019] The following approximate formula applies to the device power consumption of the processing element: P∝CV 2 v, where C is the capacitance, V is the voltage and P is the power dissipated. This means that P is linearly proportional to v and quadratically proportional to V.

[0020] Regarding the clock frequency of GPUs as an example, a large number of articles have been published in recent years on power modeling, which, among other things, seek to allocate power consumption to various parts of the processing element. With the latest NVIDIA GPUs, the frequency of the streaming multiprocessor (SM) can be changed. This is increasingly dynamically designed and autonomously controlled by the hardware in order to optimally use the available power budget. According to the literature, the frequency of the memory subsystem cannot be changed and is autonomously clocked in the current generation. This makes it possible for applications whose performance is limited by the memory bandwidth to improve the energy balance by slightly reducing the frequency of the SM. In this way, an effect of about 10% can be expected.

[0021] The performance of a downclocked machine is often better than expected. In normal desktop usage, full processing unit performance is rarely required. Even when the system is busy, it usually spends a lot of time waiting for data from memory or other devices.

[0022] This fact allows in principle that a processing element installed on a computing node operating at a frequency v can be replaced by a plurality (f) of processing elements operating at a frequency v / f, without changing the cumulative computing capacity PPCN of the computing node. In addition, the energy consumption of the computing node is maintained or potentially reduced. In practice, f=2 or f=3 will be chosen.

[0023] The key aspect of the present invention is that for processing elements such as modern CPUs and GPUs, the computation frequency f can be reduced without reducing the memory bandwidth of the processing element. As a result, in this modification, the ratio R is increased by a factor of f. It should be noted that it is not possible to increase the operating frequency of the computing core without adjusting the memory speed.

[0024] Secondly, increasing the number of processing elements of a compute node by a factor of f increases the total number of available serial channels on the compute node by a factor of f. Therefore, the rate r of input / output operations to non-compute nodes is also increased by a factor of f.

[0025] These improvements increase the concurrency of each computing node by a factor of f. This requires tuning the algorithmic approach for various highly scalable applications, but in principle this is not a problem.

[0026] While energy consumption is expected to remain constant, the increased number of processing elements may at first glance appear to increase investment costs. However, a large portion of these costs will be due to memory, which can be reduced by a factor of f for each processing element while the total amount of memory per compute node remains constant. In addition, using high-end processing elements at lower frequencies may allow the development of much lower-cost revenue sectors that cannot operate at peak frequencies.

[0027] As a second measure, lowering the operating voltage V of the processing element may be performed and will result in a further reduction in energy consumption. Since power consumption scales quadratically with voltage, the dependence on voltage may be significant. This "undervolting" may be used together with or separately from underclocking and is another element of the present invention's strategy for improving energy consumption of the computational portion of the processing element.

[0028] The present invention provides a device that improves the efficiency of a parallel processing system in terms of performance and energy consumption. Technical modifications are introduced that reduce the operating frequency of the processing elements and correspondingly increase the number of processing elements to achieve the same peak performance of the entire system at an increased application performance. These modifications affect two system parameters that affect the overall efficiency; the memory used to register the data bandwidth divided by the peak performance of the processing nodes and the data bandwidth of the processing nodes to the high-speed network of the parallel system divided by the peak performance of the processing nodes. This allows the parallelism of the nodes to be increased while the energy consumption of the nodes is constant or even lower. In this way, the system can be tuned to the best application performance. The optimal value can be selected for any desired measure, for example, the average application performance of a certain combination of applications or the best performance for a certain application. Since the processing elements used while maintaining the memory and input / output performance will operate at a lower operating frequency of the computing core of its processing unit, the total investment cost is also expected to remain similar.

[0029] The proposed invention allows to select a factor f, which determines the reduction of the frequency of the processing elements and the corresponding increase of the number of processing elements on the computing node, according to a desired criterion chosen (e.g. average maximum power for a certain combination of applications or maximum power for a certain application). In practice, the two modifications can also be applied independently, depending on the impact of key system parameters, such as energy consumption and investment costs, and optimal performance, in particular with regard to the interaction of architecture and application with respect to scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Preferred embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

[0031] Figure 1 is a simplified schematic diagram of a conventional parallel processing system;

[0032] Figure 2 is a schematic diagram of a computing node including two graphics processing units GPUs and a peak performance rate of 25 teraflops; and

[0033] Figure 3 Includes up to Figure 2 Schematic diagram of a compute node with twice the number of GPUs but the same peak performance rate. DETAILED DESCRIPTION

[0034] The present invention can be implemented using prior art. For example, it may be a method of accelerating application performance in a booster module within a modular supercomputing system that aims to reach peak exascale performance by 2021, as described in WO 2012 / 049247 A1 and subsequent applications EP 16192430.3 and EP18152903.3, which are incorporated herein by reference for all purposes. The goal of the present invention is to improve the performance of computing nodes by a factor of f for data-intensive computing compared to any other architectural design, and in addition, increase communication bandwidth to synchronize with memory bandwidth to better scale many applications with large communication requirements of non-computing nodes.

[0035] The implementation is given by a set of computing nodes using Mellanox BlueField (BF) multi-core system-on-chip technology. BlueField cards can include multiple graphics processor units GPUs, fourth-generation PCIe (PCIe gen 4) switches, and one or more high data rate HDR switches. Each BlueField card can be equipped with up to four GPUs. BF cards each include two Mellanox host channel adapters HCA, so up to twice the HDR performance can be achieved in non-computing nodes.

[0036] The AMD Radeon Vega 20 GPU is considered a specific example of this processing element, which is expected to be officially delivered in mid-2018. The Vega-20 GPU can be connected to the PCI-e interface on the BF compute node through 16 fourth-generation PCIe lanes. The GPU is expected to be equipped with 32GB of HBM-2 memory, which is divided into four memory banks of 8GB each. 16GB of HBM-2 is also possible, which is also organized into four memory banks of 4GB each. Therefore, the memory rate can be the same for both configurations.

[0037] With an expected memory bandwidth of 1.28 TB / s and an expected peak performance of 12.5 teraflops (double precision), R = 0.1. Although this is a factor of 10 away from the practitioner's rule of 1 byte / float, it is still one of the best ratios R available.

[0038] The communication bandwidth is limited by 16 PCIe Gen4 lanes, which are capable of 2GB in each lane and direction. With r = 64GB / 1.28TB = 0.05, we will definitely encounter serious scalability issues for data-intensive applications. Any improvements in R and r will be helpful in this regard.

[0039] This is due to Figure 2 and Figure 3 Schematically illustrated.

[0040] Let the standard configuration include two GPUs per BF-CN as processing elements, which operate at a peak frequency v to achieve peak performance. Figure 2 The initial configuration is depicted in . For the compute nodes, the following system parameters are given or expected:

[0041] Number of GPUs per compute node: 2

[0042] f: 1

[0043] Energy consumption per computing node: 2×150W=300W

[0044] · Memory per compute node: 64GB

[0045] Memory bandwidth per compute node: 2.56 TB per second

[0046] Peak performance per compute node: 25 teraflops

[0047] R per compute node: 0.1

[0048] PCIe Gen4 lanes per compute node: 32

[0049] Communication speed per compute node bidirectional: 128 GB / s (1 / 2 from processing element to processing element, 1 / 2 to NIC)

[0050] Possible 2×Mellanox HDR: 100GB / s bidirectional

[0051] r per computing node: 0.05

[0052] NIC with unbalanced communication

[0053] Figure 3The improved configuration shown in includes four GPUs per BF computing node as processing elements, which operate at half the peak frequency v (where f=2), thereby providing the same computing nominal node peak performance value. In this case, the processing elements will operate to achieve half the peak performance of the standard configuration. As for the improved computing nodes, the following system parameters are given or expected:

[0054] Number of GPUs per compute node: 4

[0055] f: 2

[0056] Estimated power consumption per computing node: 4 x 75 W = 300 W

[0057] Memory per compute node: 64GB@16GB or 128GB@32GB per GPU

[0058] Memory bandwidth per compute node: 5.12 TB per second

[0059] Peak performance per compute node: 25 teraflops

[0060] R per compute node: 0.2

[0061] PCIe Gen4 lanes per compute node: 64

[0062] Communication speed per compute node bidirectional: 256GB / s (1 / 2 from processing element to processing element, 1 / 2 to NIC)

[0063] Possible 2×Mellanox HDR: 100GB / s bidirectional

[0064] r per computing node: 0.05

[0065] NIC with communication balance

[0066] A voltage reduction can be added to the frequency reduction to further reduce power consumption. The stability of the processing element at the reduced voltage may be less affected than if full voltage were applied.

Claims

1. A computing unit for operating in a parallel computing system, the computing unit comprising: a plurality of processing elements, wherein each processing element has a nominal maximum processing rate NPR; each processing element comprises a corresponding random access memory unit, so that data can be transferred from the memory unit at a predetermined maximum data rate MBW; and an interface for connecting the computing unit to other components of the computing system, the interface providing a maximum data transfer rate CBW; wherein, in order to provide a predetermined peak computing performance PP for the computing unit, the peak computing performance PP being obtainable by a number n of processing elements operating at a nominal maximum processing rate such that PP = n × NPR operations are performed per second, and in order to increase the ratio R = MBW / PP, the computing unit comprises an integer multiple f times n processing elements, wherein f is greater than 1 and each processing element is limited to operate at a processing rate of NPR / f.

2. The computing unit according to claim 1, wherein: The unit exhibits a memory bandwidth that is f times the memory bandwidth of a hypothetical compute unit having n processing elements.

3. A computing unit according to claim 1 or claim 2, wherein: The processing element of the computing unit is a graphics processing unit.

4. A computing unit according to any preceding claim, wherein: The processing elements are connected together via an interface unit, and each of the processing elements is connected to the interface unit via a plurality of S serial data channels.

5. A computing unit according to any preceding claim, wherein: The computing unit is a computer card comprising a multi-core processor arranged to control the processing elements.

6. A computing unit according to any preceding claim, wherein: The maximum data transfer rate is within 30% of a processing element to processing element communication rate.

7. A method for operating a computing unit, the computing unit comprising a multi-core processor and a plurality of graphics processing elements (GPUs), each GPU having a nominal peak performance of PPG operations per second, and each GPU having a corresponding random access memory unit, so that data can be transferred from the memory unit at a predetermined maximum data rate MBW, the method comprising operating the GPU at a fraction 1 / f of the nominal peak performance rate of the GPU, where f is greater than 1, and wherein the computing unit provides a predetermined peak computing performance of PP operations per second and the computing unit has n times f GPUs such that PP is equal to n times PPG, and wherein the increase ratio R = MBW / PP.