Skip to main content
QUICK REVIEW

[Paper Review] Performance Engineering for a Medical Imaging Application on the Intel Xeon Phi Accelerator

Johannes Hofmann, Jan Treibig|arXiv (Cornell University)|Dec 17, 2013
Parallel Computing and Optimization TechniquesComputer Science8 references9 citations
TL;DR

This paper optimizes the Feldkamp-Davis-Kress (FDK) algorithm for 3D cone-beam CT reconstruction on the Intel Xeon Phi accelerator using hand-optimized assembly and vectorization techniques. Despite achieving 8.5 GUp/s for 512³ volumes, the Xeon Phi falls short of GPU performance—delivering only 1/8th the throughput of a GeForce GTX 680—due to inefficient bilinear interpolation and limited latency hiding compared to GPUs' warp-level execution and texture units.

ABSTRACT

We examine the Xeon Phi, which is based on Intel's Many Integrated Cores architecture, for its suitability to run the FDK algorithm--the most commonly used algorithm to perform the 3D image reconstruction in cone-beam computed tomography. We study the challenges of efficiently parallelizing the application and means to enable sensible data sharing between threads despite the lack of a shared last level cache. Apart from parallelization, SIMD vectorization is critical for good performance on the Xeon Phi; we perform various micro-benchmarks to investigate the platform's new set of vector instructions and put a special emphasis on the newly introduced vector gather capability. We refine a previous performance model for the application and adapt it for the Xeon Phi to validate the performance of our optimized hand-written assembly implementation, as well as the performance of several different auto-vectorization approaches.

Motivation & Objective

  • To evaluate the Intel Xeon Phi accelerator’s suitability for high-performance 3D medical image reconstruction using the FDK algorithm.
  • To address challenges in thread-level data sharing and memory access patterns due to the absence of a shared last-level cache.
  • To improve performance through low-level optimizations, including hand-written assembly and vectorization using AVX-512 instructions.
  • To compare hand-optimized code with auto-vectorized compiler-generated code and assess performance relative to state-of-the-art GPU implementations.

Proposed method

  • Implemented a manually optimized FDK kernel in assembly language targeting the Xeon Phi’s 512-bit SIMD vector units.
  • Conducted micro-benchmarks to characterize vector instruction performance, especially the new gather instructions and memory access patterns.
  • Applied performance modeling to validate and predict the behavior of the optimized kernel on the Xeon Phi architecture.
  • Used the RabbitCT benchmarking framework to ensure consistent and comparable evaluation across platforms.
  • Employed multiple compilation strategies: OpenMP with #pragma simd, ISPC, and Intel C Compiler auto-vectorization for comparison.
  • Evaluated the impact of 4-way SMT and hardware context switching on hiding memory latency, contrasting it with GPU warp scheduling.

Experimental results

Research questions

  • RQ1How does the Xeon Phi’s lack of a shared last-level cache affect thread-level data sharing and performance in FDK reconstruction?
  • RQ2To what extent can hand-optimized assembly and AVX-512 vectorization improve performance on the Xeon Phi compared to auto-vectorized code?
  • RQ3Why does the Xeon Phi underperform relative to GPUs like the GeForce GTX 680 despite high theoretical peak performance?
  • RQ4What role do memory access patterns and latency hiding mechanisms (e.g., SMT vs. warp scheduling) play in the performance gap between Xeon Phi and GPUs?
  • RQ5Can the Xeon Phi outperform GPUs in large-volume CT reconstruction scenarios where memory capacity and bandwidth are critical?

Key findings

  • The hand-optimized assembly implementation achieved 8.5 GUp/s for 512³ volume reconstruction, outperforming auto-vectorized code (6.3–6.4 GUp/s) and OpenMP with #pragma simd (5.6 GUp/s).
  • The Xeon Phi’s 4-way SMT is insufficient to hide the latency of non-contiguous memory accesses, especially for vector gather instructions with 3.7-cycle latency.
  • The GeForce GTX 680 GPU achieved 67.7 GUp/s for 512³ volumes—over 8 times faster than the Xeon Phi—due to dedicated texture units that accelerate bilinear interpolation.
  • Bilinear interpolation consumes 88 out of 97 clock cycles per kernel iteration (over 90%), and GPUs perform this in a single instruction, while the Xeon Phi requires multiple instructions.
  • The performance gap is not explained by peak FLOPS or memory bandwidth alone, but by architectural differences in latency hiding and specialized hardware for graphics workloads.
  • Back-porting Xeon Phi optimizations to the CPU-based fastrabbit implementation improved its performance by 25%, indicating transferable optimization insights.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.