[Paper Review] The GPU vs Phi Debate: Risk Analytics Using Many-Core Computing
This paper evaluates GPU and Intel Xeon Phi accelerators for high-performance risk analytics in reinsurance, focusing on Aggregate Risk Analysis (ARA) that models both primary and secondary uncertainties. It proposes parallel algorithms for ARA on CPUs, GPUs, and hybrid platforms, finding that while the Phi offers superior raw performance (42s vs. 55s for GPU on 800k trials), the GPU-CPU hybrid achieves the best practical performance (41s), outperforming the Phi-CPU by 50% and delivering 16x speedup over baseline CPU execution.
The risk of reinsurance portfolios covering globally occurring natural catastrophes, such as earthquakes and hurricanes, is quantified by employing simulations. These simulations are computationally intensive and require large amounts of data to be processed. The use of many-core hardware accelerators, such as the Intel Xeon Phi and the NVIDIA Graphics Processing Unit (GPU), are desirable for achieving high-performance risk analytics. In this paper, we set out to investigate how accelerators can be employed in risk analytics, focusing on developing parallel algorithms for Aggregate Risk Analysis, a simulation which computes the Probable Maximum Loss of a portfolio taking both primary and secondary uncertainties into account. The key result is that both hardware accelerators are useful in different contexts; without taking data transfer times into account the Phi had lowest execution times when used independently and the GPU along with a host in a hybrid platform yielded best performance.
Motivation & Objective
- To evaluate the performance of GPU and Intel XEON Phi accelerators in accelerating risk analytics for reinsurance portfolios.
- To develop and implement parallel algorithms for Aggregate Risk Analysis (ARA) that account for both primary and secondary uncertainties.
- To compare the performance of standalone accelerators versus hybrid CPU-accelerator platforms in real-world risk simulation workloads.
- To identify performance bottlenecks in memory access and statistical computation, particularly for inverse CDF of the asymmetric beta distribution.
- To provide practical insights into hardware accelerator selection for high-performance, low-budget risk analytics in the financial sector.
Proposed method
- Implemented parallel ARA simulations on multi-core CPUs (Intel i7, Xeon), NVIDIA GPU, and Intel Xeon Phi, using CUDA and OpenMP for GPU and Phi acceleration.
- Designed algorithms to model both primary uncertainty (event occurrence) and secondary uncertainty (loss distribution variability) using stochastic event catalogues and exposure databases.
- Optimized memory access patterns to reduce latency in fetching event data and loss sets, especially critical for high-bandwidth operations.
- Integrated statistical functions for secondary uncertainty, including the inverse cumulative distribution function (inverse CDF) of the asymmetric beta distribution.
- Measured execution times across platforms, including data transfer overheads, to assess real-world performance in hybrid and standalone configurations.
- Used a standardized simulation workload of 800,000 trials, each with 1,000 events and 16 extended Event Loss Tables (ELTs), to ensure consistent benchmarking.
Experimental results
Research questions
- RQ1How do GPU and Intel Xeon Phi accelerators compare in raw execution performance for Aggregate Risk Analysis with both primary and secondary uncertainties?
- RQ2What is the impact of data transfer overhead on the practical performance of standalone accelerators like the Xeon Phi compared to hybrid CPU-accelerator systems?
- RQ3How do memory access patterns and statistical computation (especially inverse CDF of asymmetric beta) affect overall performance in risk simulation workloads?
- RQ4Can the Xeon Phi achieve better performance than the GPU when data transfer times are excluded, and is this relevant in real-world deployment scenarios?
- RQ5What is the optimal hardware configuration (standalone vs. hybrid) for achieving the lowest end-to-end execution time in large-scale risk analytics?
Key findings
- The Intel Xeon Phi achieved a raw execution time of 42 seconds for 800,000 ARA trials, outperforming the GPU’s 55 seconds when data transfer times were excluded.
- The GPU-CPU hybrid platform completed the same simulation in 41 seconds, making it 50% faster than the Xeon-Phi combination, which took 63 seconds.
- The GPU-CPU hybrid system delivered a 16x speedup over the baseline sequential implementation on the Intel i7 processor.
- Despite its faster raw execution, the Xeon Phi is impractical for most real-world applications due to the high overhead of copying 800,000 trials to its memory, which took over three hours.
- Memory access for fetching events and loss sets consumed 39% of total execution time on the GPU and 27% on the CPU, indicating that memory bandwidth remains a critical bottleneck.
- The computation of the inverse CDF of the asymmetric beta distribution consumed over 50% of the time in both CPU and accelerator implementations, highlighting a key performance bottleneck requiring optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.