Apparatus and method for efficient parallel computing - Patents.com

By underclocking and increasing the number of processing elements while maintaining memory bandwidth, the system addresses inefficiencies in performance and energy consumption, enhancing concurrency and scalability for data-intensive applications.

JP7561033B2Active Publication Date: 2024-10-03PARTEC AG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020564457
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-05-15
Filing Date
2019-05-15
Publication Date
2024-10-03
Estimated Expiration
2039-05-15

AI Technical Summary

Technical Problem

Current high-performance computing systems face inefficiencies in performance and energy consumption due to limited memory bandwidth and communication bandwidth, leading to low persistence efficiency (η) and scalability issues, particularly in data-intensive applications.

Method used

The solution involves underclocking processing elements and increasing their number while maintaining memory bandwidth, thereby improving the data transfer rate (R) and communication bandwidth (r), and optionally undervolting to reduce energy consumption.

Benefits of technology

This approach enhances computational performance and reduces energy consumption by optimizing the system's efficiency without increasing overall investment costs, achieving improved concurrency and scalability for data-intensive applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561033000001
    Figure 0007561033000001
  • Figure 0007561033000002
    Figure 0007561033000002
  • Figure 0007561033000003
    Figure 0007561033000003
Patent Text Reader

Abstract

The present invention provides a computing unit 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, each processing element having a nominal maximum processing rate NPR such that data can be transferred from a memory unit at a predetermined maximum data rate MBW and such that the interface provides a maximum data transfer rate CBW, each processing element including a respective memory unit, wherein the computing unit comprises n integer multiples of f processing elements, where f is greater than 1 and each processing element is limited to operating at a processing rate of NPR / f, to provide a predetermined maximum computing performance PP for the computing unit obtained by n number of processing elements operating at a nominal maximum processing rate such that PP=n×NPR operations per second.
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 technology]

[0002] In a typical processing system, multiple computational nodes, each with one or more processing elements, are connected by a high-speed network. Each of the processing elements of a computational node has an internal memory. These processing elements are connected within the computational node. This connectivity on the computational nodes can be realized using high-speed networks, high-speed networks on separate computational nodes, or shared memory techniques (e.g., as in a symmetric multiprocessing (SMP) system). Such a configuration is shown in Figure 1.

[0003] 1 shows an arrangement of multiple computational nodes CN, each of which includes multiple processing elements (PEs) each having a respective memory (MEM). The computational nodes are connected to each other via a high speed network (HSN), and each computational node includes a network interface controller (NIC) for connecting to the high speed network. The individual processing elements are connected together and also to the network interface controller.

[0004] A processing element has a peak performance (PP), which is an upper bound on the number of (floating-point) operations it can perform per second, measured in floating-point operations per second, or "FLOPS" for short (although it is based on floating-point operations, it can be equal to integer operations). The peak performance (PPCN) of a compute node is the sum of the peak performances of the computing elements of the compute node. For a given application A, typically only a fraction of this peak performance, ηA, where 0<η<1, is called the sustained efficiency. The reason is that the data transfer rate, i.e. the memory bandwidth (MBW) between the memory of the processing element and the computational registers, is finite and therefore reduces the peak performance available to ηA for a given application. A similar argument can be made for the input / output data transfer rate, i.e. the communication bandwidth (CBW) from one processing element to another outside the compute node, which potentially reduces the peak performance available even further.

[0005] As a rule of thumb, practitioners of high performance computing consider a byte / FLOP rate R=MBW / PP as a necessary requirement to achieve an η close to 1 for most data-intensive applications. Depending on the data rate required for a given application A to achieve peak performance, the actual memory bandwidth of the processing elements determines the ηA that can be achieved for a given application A.

[0006] Current high-end CPUs have an R of only 0.05-0.1 bytes / FLOP, a figure that has been declining over the past decade as the number of computational cores in the processing elements has increased. Current high-end GPUs, designed primarily to fit the data requirements of graphics applications and more recently deep learning applications, achieve an R of less than 0.15 bytes / FLOP. The undesirable consequence is that the ηA achieved for most data-intensive applications is estimated to be less than 5-10% for current CPUs and about 15% for current GPUs, independent of any further degradation due to the algorithms executed or the parallelism with respect to the processing elements required. The more data-intensive the application, the lower the efficiency ηA for a given R of the processing elements.

[0007] This problem has been identified elsewhere, for example in a paper by Al Wegner titled "The Memory Wall is Ending Multicore Scaling" published in Electronic Design in 2011, available at http: / / www.electronicdesign.com / analog / memory-wall-ending-multicore-scaling.

[0008] Similar considerations can be made about the communication bandwidth of a given processing element, which represents the data transfer rate to other processing elements on and off the compute node, where the impact of communication bandwidth on the scalability of the code becomes important.

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

[0010] For communication outside the compute node, practitioners of high performance computing consider a rate r=CBW / MBW>0.1-0.2 to be adequate to achieve scalability for many applications. It is clear that the closer the communication bandwidth is to the memory bandwidth, the better the scalability conditions are.

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

[0012] It is important that a compute node's network interface controller (NIC) is properly sized to carry the data streams to and from the compute node's processing elements.

[0013] US Patent Application Publication No. 2005 / 0166073 describes the use of variable operating frequencies of a system processor to maximize system memory bandwidth.

[0014] US Patent Application Publication No. 2011 / 0167229 describes a computing system with multiple computing devices each connected to a non-memory storage device such as a hard drive. The objective of the system is to match the data rate at which the stored data is captured with the processing rate. This patent document suggests using a storage unit with a high data transfer rate, i.e. a solid-state drive, instead of or in addition to a hard disk drive in combination with a specific low-power processor that operates at a low clock speed.

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

[0016] The present invention provides a computing unit 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, each processing element having a nominal maximum processing speed NPR such that data can be transferred from a memory unit at a predetermined maximum data rate MBW and such that the interface provides a maximum data transfer rate CBW, each processing element comprising a respective memory unit, the computing unit comprising n integer multiples of f processing elements, where f is greater than 1 and each processing element is limited to operate at a processing speed of NPR / f, to give the computing unit a predetermined maximum computing performance PP obtained by a number n of processing elements operating at a nominal maximum processing speed such that PP=n×NPR operations per second.

[0017] In another aspect, the invention provides a method of operating a computing unit comprising a multi-core processor and a plurality of graphic processing units GPUs, each GPU having a nominal peak performance of PPG operations per second, the method comprising operating the GPUs at a fraction 1 / f of its nominal peak performance speed, the computing unit achieving a predetermined peak computing performance of PP operations per second, and the computing unit having f n times the GPUs, such that PP is equal to n times PPG.

[0018] The present invention relates to the ability to reduce the energy consumption of a processing element by a factor of f or more by reducing the clock frequency v of the processing element by a factor of f, a process known as "underclocking".

[0019] The following approximate formula P ∝ CV 2 applies to the power consumption of a processing element device, where C is capacitance, V is voltage, and P is power consumption. This equation means that P scales linearly with v and squared with V.

[0020] With regard to the clock frequency of GPUs as an example, a large number of papers on power modeling have been published in recent years, which seek, among other things, to allocate power consumption to individual parts of the processing elements. In the latest NVIDIA GPUs, the frequency of the streaming multiprocessors (SMs) can be modified. This frequency modification is designed to be increasingly dynamic and automatically controlled by the hardware in order to make optimal use of the available power budget. As far as the literature goes, the frequency of the memory subsystem cannot be modified, and is clocked automatically in the current generation. This makes it possible for applications whose performance is limited by memory bandwidth to improve the energy balance by reducing the frequency of the SMs somewhat. In this way, an effect of about 10% can be expected.

[0021] Underclocked devices often perform better than expected. In typical desktop use, maximum processing element performance is rarely required. Even when the system is in use, a lot of time is usually spent waiting for data from memory or other devices.

[0022] This makes it possible, in principle, to replace the processing elements installed in a compute node operating at frequency v by f processing elements operating at frequency v / f without changing the cumulative computing power PPCN of the compute node. In addition, the energy consumption of the compute node is maintained or potentially reduced. In practice, one would choose f=2 or f=3.

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

[0024] Second, increasing the number of processing elements in a compute node by a factor of f increases the total number of serial lanes available on that compute node by a factor of f. Hence, the speed r of input / output operations outside the compute node improves by a factor of f as well.

[0025] These improvements increase concurrency per compute node by a factor of f. This requires tuning algorithmic approaches for diverse and highly scalable applications, which is in principle feasible.

[0026] While energy consumption is expected to remain constant, increasing the number of processing elements may seemingly increase investment costs. However, many of these costs are due to memory, which can be reduced by a factor of f per processing element while preserving the total amount of memory per compute node. Furthermore, using high-end processing elements at lower frequencies may allow the utilization of very low-cost parts of the output that cannot be operated at the highest frequencies.

[0027] As a second measure, a reduction in the operating voltage (V) of the processing element can be performed, which will further reduce energy consumption. The voltage dependence can be significant since power consumption scales with the square of the voltage. This "undervolting" can be used in addition to or separately from underclocking and is another element of the inventive strategy for improving the energy consumption of the computational section of the processing element.

[0028] The present invention provides an apparatus for improving the efficiency of a parallel processing system in terms of performance and energy consumption. Technological modifications are introduced that reduce the operating frequency of the processing elements and increase the number of processing elements accordingly, to achieve the same maximum performance of the entire system with improved application performance. These modifications affect two system parameters that affect the overall efficiency, namely the data bandwidth from memory to registers divided by the maximum performance of the processing node and the data bandwidth of the processing node to the high-speed network of the parallel system divided by the maximum performance of the processing node. This allows an increase in the parallel processing of the nodes with a constant and even lower energy consumption of the nodes. In this way, the system can be adjusted to the optimum of the application performance. This optimum can be selected for any desired measure, for example to obtain the average application performance of a particular application portfolio or the optimum performance of a particular application. The total investment cost is also expected to remain similar, since the processing elements used will operate at a lower operating frequency of the computational cores of the processing unit while maintaining memory and input / output performance.

[0029] The presented invention makes it possible to choose a factor f that determines the reduction of the processing element frequency and the corresponding increase in the number of processing elements of the computation node depending on a selected desired criterion, for example the average maximum power for a particular portfolio of applications or the maximum power for a particular application. In practice, both modifications can also be applied separately depending on the influence of system-critical parameters such as energy consumption and investment costs, as well as optimal performance, in particular with regard to the interaction of architecture and application with regard to scalability.

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

[0031] [Figure 1]FIG. 1 is a schematic diagram of a conventional parallel processing system. [Diagram 2] A schematic diagram of a compute node containing two graphics processing units (GPUs) with a peak performance rate of 25 teraFLOPS. [Diagram 3] 3 is a schematic diagram of a compute node that contains twice as many graphics processing units as the configuration of FIG. 2, but with the same peak performance speed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] The present invention can be realized using existing technologies. In one example, the present invention can be a method for accelerating application performance of booster modules in modular supercomputing systems aiming for maximum exascale performance by 2021, as described in WO2012 / 049247 and subsequent applications EP16192430.3 and EP18152903.3, which are incorporated herein by reference for all purposes. The goal of the present invention is to improve application performance on the compute node for data-intensive computations by a factor of f compared to any other architectural design, and in addition to increase communication bandwidth to keep pace with memory bandwidth for better scaling of many applications with many communication requirements outside the compute node.

[0033] The realization is provided by a set of communication nodes using Mellanox BlueField (BF) multicore system-on-chip technology. A BlueField card can include multiple graphic processor units (GPUs), a PCIe gen 4 switch, and one or more high data rate (HDR) switches. Each BlueField card can be equipped with up to four GPUs. The BF cards each include two Mellanox host channel adapters (HCS), and thus up to twice the HDR performance can be achieved outside the compute node.

[0034] The AMD Radeon Vega 20 GPU is considered a concrete example of a processing element that is expected to be generally available in mid-2018. The Vega-20 GPU can be connected to the PCI-e interface of the BF communication node by 16 PCI gen 4 lanes. It is expected that this GPU will be equipped with 32GB of HBM-2 memory divided into 4 memory banks of 8GB each. 16GB of HBM-2 is also possible, also in the form of 4 memory banks of 4GB each. Thus, the memory speed can be the same in both configurations.

[0035] With an expected memory bandwidth of 1.28 Terabytes per second and an expected peak performance of 12.5 TeraFLOPs per second (double precision), we get R=0.1. This is only one-tenth of the 1 byte / FLOP of the implementer's benchmark, but is still one of the best rates R that can be achieved.

[0036] The communication bandwidth is capped by 16 PCIe gen 4 lanes, each capable of 2GB per lane and direction. Since r=64GB / 1.28TB=0.05, it will inevitably struggle with severe scalability issues for data-intensive applications. Any improvement in R and r will help in this regard.

[0037] This is shown diagrammatically in FIGS.

[0038] The standard configuration will have two GPUs per BF-CN as processing elements, operating at the highest frequency to achieve the best performance. The initial configuration is shown in Figure 2. As far as the computation nodes are concerned, the following system parameters are given or expected: Number of GPUs per compute node: 2 f:1 Energy consumption per compute node: 2 x 150W = 300W Memory per compute node: 64GB Memory bandwidth per compute node: 2.56 terabytes per second Peak performance per compute node: 25 teraFLOPs of data processed per second R per compute node: 0.1 PCIe gen 4 lanes per compute node: 32 Communication speed in both directions per compute node: 128 GB / sec (1 / 2 between processing elements, 1 / 2 to NIC) 2x Mellanox HDR possible: 100GB per second in both directions r per compute node: 0.05 NICs that are not balanced with traffic

[0039] The improved configuration shown in Figure 3 has four GPUs as processing elements per BF communication node operating at half the maximum frequency v, f=2, thereby obtaining the same nominal maximum performance value of the compute node. In this case, the processing elements operate at up to half the maximum performance of the standard configuration. The following system parameters are given or expected for the improved compute node: Number of GPUs per compute node: 4 f:2 Expected energy consumption per compute node: 4 x 75W = 300W Memory per compute node: 64GB with 16GB each, or 128GB with 32GB each, per GPU Memory bandwidth per compute node: 5.12 terabytes per second Peak performance per compute node: 25 teraFLOPs of data processed per second R per compute node: 0.2 PCIe gen 4 lanes per compute node: 64 Communication speed in both directions per compute node: 256 GB / sec (1 / 2 between processing elements, 1 / 2 to NIC) 2x Mellanox HDR possible: 100GB per second in both directions r per compute node: 0.05 NICs that are balanced with traffic

[0040] Underclocking can be accompanied by undervolting to further reduce energy consumption: the stability of processing elements under undervolting may be less affected than when full voltage is applied.

Claims

1. 1. A computing unit 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, each processing element having a nominal maximum processing speed NPR such that data can be transferred from a random access memory unit at a predetermined maximum data rate MBW and such that the interface provides a maximum data transfer rate CBW, each processing element comprising a respective random access memory unit, the computing unit comprising n integer multiples of f processing elements, where f is greater than 1 and each processing element is limited to operating at a processing speed of NPR / f, to give the computing unit a predetermined maximum computing performance PP obtained by a number n of processing elements operating at a nominal maximum processing speed such that PP=n×NPR operations per second.

2. The computing unit of claim 1 , wherein the computing unit exhibits a memory bandwidth that is f times that of a virtual computing unit having n processing elements.

3. The computing unit of 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 by an interface unit, each processing element being connected to the interface unit by a number S of serial data lanes.

5. A computing unit according to any one of claims 1 to 4, wherein the computing unit is a computer card comprising a multi-core processor arranged to control the processing elements.

6. 6. The computing unit according to claim 1, wherein the maximum data transfer rate is within 30% of the communication rate between processing elements.

Citation Information

Patent Citations

  • System of computing processing, control method system for task control, method therefor and record medium

    JP2002099433A

  • Information processor, information processor designing method, and information processor designing program

    WO2008120393A1