an analysis of a distributed gpu implementation of proton
play

An Analysis of a Distributed GPU Implementation of Proton Computed - PowerPoint PPT Presentation

An Analysis of a Distributed GPU Implementation of Proton Computed Tomographic (pCT) Reconstruction George Coutrakon, Kirk Duffin, Bela Erdelyi, Nicholas Karonis, Caesar Ordoez, Michael Papka, Thomas Uram Department of Computer Science The


  1. An Analysis of a Distributed GPU Implementation of Proton Computed Tomographic (pCT) Reconstruction George Coutrakon, Kirk Duffin, Bela Erdelyi, Nicholas Karonis, Caesar Ordoñez, Michael Papka, Thomas Uram Department of Computer Science

  2. The Bragg Curve - Vertical axis depends on stopping power - Relative stopping power – with respect to water

  3. pCT: Proton Computed Tomography • Imaging modality that uses protons as probe • Direct measurement of proton relative stopping power (RSP) • Images: 3D distribution of RSP • Potentially more accurate than RSP obtained from X-ray CT (no need for conversion) • Beneficial to proton therapy

  4. Prototype pCT Detector • Loma Linda University Medical Center • Northern Illinois University • University of California at Santa Cruz

  5. pCT: Challenges • Large data sets – Estimate need 1 to 2 billion proton histories (events) to image objects the size of a human head - ~100GB input data • Non-linear path of proton in material medium – Multiple Coulomb scattering (MCS) – Cannot use data reduction techniques such as those used in emission/transmission tomography (PET, SPECT, xCT) – Requires event-by-event processing • Require lots of compute time – Almost 7 hours to reconstruct 131 million events on 1 CPU with 1 GPU (Penfold PhD thesis, 2010)

  6. pCT: Solution • Large linear system Ax=b – One proton per row (~10 9 ) – One voxel per column (~10 7 ) • Naïve implementation – 160PB for A

  7. pCT: Solution Simplification • Memory Compression – 150 non-zero coefficients per row – 2.4TB for 2 billion events • Path simplification – Most Likely Path (MLP)

  8. pCT: Linear Solvers • Block based iterative linear solvers – Block-iterative • Intra-block parallel, inter block sequential (e.g. DROP) – String averaging • Intra-block sequential, inter block parallel (e.g. CARP)

  9. pCT Solution: Parallelize the Problem • Computer cluster – Multiple compute nodes – CPU/GPU hybrid – Software technologies • MPI (Message Passing Interface) • CUDA (Compute Unified Device Architecture) • Distribute data set to multiple nodes on cluster N histories N 1 N 2 N 3 N M cn1 cn2 cn3 cnM N 1 + N 2 + N 3 + . . . + N M = N

  10. pCT Reconstruction Flowchart Read Data Set Up Filter Events Set Up FBP Prepare Initial Solution FBP Penfold NIU 1CPU/1GPU pCT-MPI MLP Calculate proton tracks MLP + Linear Solver Iterative Reconstruction Linear (DROP) With Superiorization Solver (CARP)

  11. NIU Gaea HPC • Power on: January 19, 2012 • 60 Compute Nodes • 72 GB RAM per node • 2 6-core CPUS per node • Xeon X5650 2.67GHz • 2 GPUs per node • NVIDIA m2070 (Tesla) • 6GB RAM • 200TB storage array • Infiniband network 11

  12. Lucy Phantom for 3D Image Reconstruction • 14cm-diameter polystyrene sphere • 4 cylindrical inserts (air, lucite , polystyrene, “bone”)

  13. Lucy Data Set • Data acquired with prototype pCT detector at LLUMC (December 2010) • 200-MeV protons • 90 projection angles at 4-degree increments (2 π - coverage) • 131 Million histories • Synthetic data sets generated – 1 billion histories: read Lucy data 8 times – 2 billion histories: read Lucy data 16 times – For timing purposes only – No image quality evaluation

  14. pCT Reconstruction 131 Million Events Penfold Penfold NIU NIU

  15. pCT Quantitative Analysis • Select 5 “Regions of Interest” (ROI) in Lucy Phantom (Sen and Polystyrene-2 Duffin) • ROIs actually volumes • Air Each ROI has homogeneous Lucite density with known expected RSP (Schulte) Polystyrene-1 Bone Material RSP Polystyrene 1.035 Bone 1.700 Lucite 1.200 Air 0.004 15

  16. pCT Quantitative Analysis 131 Million Events ROI: Penfold vs NIU 120 Processors Polystyrene-2 2.0 Bone Air Bone 1.5 Polystyrene-1 Relative Stopping Power Lucite Lucite Polystyrene1 1.0 Polystyrene2 • NIU and Penfold RSPs agree Penfold NIU 0.5 • Measured RSPs close to expected values 0.0 Air • NIU RSPs have greater variance 0 2 4 6 8 10 12 Iteration Number • Penfold compute time = 402 min • NIU compute time = 53 sec

  17. Processor Scaling 131 Million Events 600 500 400 131M Seconds 263M 300 527M 1053M 200 1580M 2107M 100 0 120 240 360 480 600 720 Processors

  18. Processor Scaling 131 Million Events Reconstruction Number of Processors (12 per node) time (sec) 120 240 360 480 600 720 Read Data 1.006 0.949 1.048 1.160 1.213 1.380 Statistical Filter 12.805 13.302 12.712 12.618 13.088 13.796 Initial Solution 0.924 0.785 0.871 0.788 0.833 0.865 MLP 58.812 31.684 22.104 16.943 13.586 11.748 LinSol (10 Iters)* 111.752 63.318 42.689 33.549 27.105 24.174 Total Exec Time 184.875 111.000 80.000 66.000 56.160 53.000 • 68-92% of execution time spent in MLP + Linear Solver • 46-60% of execution time spent in Linear Solver

  19. Simultaneous Load Scaling 500 450 400 350 10n / 1d Seconds 300 20n / 1d 250 200 30n / 2d 150 30n / 4d 100 30n / 8d 50 0 0 1 2 3 4 5 Problem Multiplier

  20. Data Scaling 720 Processors Reconstruction Multiple of 131 Million Events time (sec) 1 2 4 8 12 16 Read Data 1.380 1.671 2.827 3.734 5.452 6.488 Statistical Filter 13.796 12.490 13.078 13.357 14.421 14.526 Initial Solution 0.865 0.871 1.115 0.972 0.975 0.740 MLP 11.748 22.167 41.322 77.737 115.164 150.992 LinSol (10 Iters)* 24.174 44.566 85.170 162.810 217.239 265.512 Total Exec Time 53.000 82.247 144.00 66.000 354.983 438.778 • 67-95% of execution time spent in MLP + Linear Solver • 46-60% of execution time spent in Linear Solver

  21. Summary and Conclusions • Multi-CPU/GPU speeds up pCT reconstruction • Scalability – Scales linearly with number of processors – Scales linearly with problem size • Promising Perormance With Penfold 1CPU/1GPU as “image standard”: – Image quality(NIU pCT-MPI)  Image quality(Penfold) – Time(NIU pCT-MPI) << Time(Penfold)

  22. Future Work • Don’t store MLP? – Calculate as needed • Improve image quality – Other linear solvers (algorithm) – Relaxation parameter • Path solution parameters • More robust solution – no initial guess

  23. Collaborators and Sponsor • Yair Censor, University of Haifa • George Coutrakon, NIU • Kirk Duffin, NIU • Bela Erdelyi, NIU • Gabor Herman, City University of New York • Ford Hurley, LLUMC • Nicholas Karonis, NIU • Caesar Ordoñez, NIU • Eric Olson, ANL • Mike Papka, ANL • Scott Penfold, Royal Adelaide Hospital • Reinhard Schulte, LLUMC • Thomas Uram, ANL US Department of Defense, Contract No. W81XWH-10-1-0170

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend