[Paper Review] Comparative Performance Analysis of Intel Xeon Phi, GPU, and CPU
This paper compares the performance of Intel Xeon Phi (MIC), GPU, and CPU architectures for image analysis workloads, focusing on data access patterns and parallelization strategies. It finds that GPUs outperform MICs in irregular memory access scenarios, while MICs match or exceed GPUs in regular access patterns; coordinated task scheduling improves performance by 1.29×, achieving 84% efficiency on a 192-node cluster with 3072 CPU cores and 192 MICs.
We investigate and characterize the performance of an important class of operations on GPUs and Many Integrated Core (MIC) architectures. Our work is motivated by applications that analyze low-dimensional spatial datasets captured by high resolution sensors, such as image datasets obtained from whole slide tissue specimens using microscopy image scanners. We identify the data access and computation patterns of operations in object segmentation and feature computation categories. We systematically implement and evaluate the performance of these core operations on modern CPUs, GPUs, and MIC systems for a microscopy image analysis application. Our results show that (1) the data access pattern and parallelization strategy employed by the operations strongly affect their performance. While the performance on a MIC of operations that perform regular data access is comparable or sometimes better than that on a GPU; (2) GPUs are significantly more efficient than MICs for operations and algorithms that irregularly access data. This is a result of the low performance of the latter when it comes to random data access; (3) adequate coordinated execution on MICs and CPUs using a performance aware task scheduling strategy improves about 1.29x over a first-come-first-served strategy. The example application attained an efficiency of 84% in an execution with of 192 nodes (3072 CPU cores and 192 MICs).
Motivation & Objective
- To evaluate and characterize the performance of key image analysis operations on CPUs, GPUs, and Intel Xeon Phi (MIC) architectures.
- To identify how data access patterns and parallelization strategies affect performance across co-processors.
- To investigate coordinated execution of CPUs and MICs using performance-aware task scheduling in distributed memory systems.
- To provide guidance for application developers on selecting optimal co-processors based on operation characteristics.
- To demonstrate high scalability and efficiency in a real-world digital pathology application using hybrid CPU-MIC clusters.
Proposed method
- Systematic implementation and benchmarking of core image analysis operations—data cleaning, object segmentation, feature computation, aggregation, classification, and registration—on CPUs, GPUs, and MICs.
- Classification of operations based on data access patterns: regular (e.g., sweeps), irregular (e.g., random access), and global (e.g., reductions).
- Use of micro-kernel performance measurements to correlate co-processor characteristics with operation behavior.
- Design and evaluation of a performance-aware task scheduling strategy to coordinate CPU and MIC execution, minimizing idle time and communication overhead.
- Execution of a real digital pathology application on a 192-node cluster with 3072 CPU cores and 192 MICs to measure end-to-end efficiency.
- Comparison of performance across architectures using metrics such as execution time, speedup, and strong scaling efficiency.
Experimental results
Research questions
- RQ1How do different data access patterns (regular vs. irregular) affect performance on GPUs, CPUs, and MICs?
- RQ2In what scenarios does the Intel Xeon Phi outperform or underperform relative to GPUs and CPUs?
- RQ3How does coordinated task scheduling between CPUs and MICs impact overall application performance and scalability?
- RQ4What is the impact of computation intensity and parallelization strategy on performance portability across co-processor types?
- RQ5To what extent can performance-aware scheduling improve efficiency in hybrid CPU-MIC clusters for image analysis workloads?
Key findings
- GPUs significantly outperform MICs in operations with irregular data access patterns, particularly those involving frequent atomic operations, due to MICs' poor random memory access performance.
- For operations with regular data access and computation patterns, the performance of MICs is comparable to or sometimes better than that of GPUs.
- A performance-aware task scheduling strategy improves application performance by 1.29× over a first-come-first-served approach in coordinated CPU-MIC execution.
- The example digital pathology application achieved 84% efficiency on a 192-node cluster with 3072 CPU cores and 192 MICs using the performance-aware scheduling strategy.
- Significant performance variability exists across operations due to differences in computation and data access patterns, necessitating operation-specific co-processor selection.
- The results provide actionable insights for application developers to map operations to the most suitable co-processor based on access and computation characteristics.
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.