Introduction - M. Schulz

AdEPT - Juan Gonzalez

 

Project Overview and Goal

 

Current Status and Challenges

 

 

Performance and Physics Results

 

 

 

Energy Efficiency

 

  1. Lower energy usage offsets the cost of the GPU node over its lifetime.

  2. Lower energy usage than a CPU node, but won't offset the cost of the GPU node.

  3. Running on GPU uses less energy than using only the CPU and keeping the GPU idle.

 

On Perlmutter:

On the NGT cluster for Athena: Not fulfilling case 3; a speedup of 1.5x would be needed.

 

Future Work

 

 

Q&A

 

Q: I noticed you did not report anything regarding CMS except for the acknowledgments. Is that planned for the future?

A: We have performance data for CMS, but we have not yet measured the energy consumption. For this specific talk, we felt it did not make sense to show only the performance results. There is definitely a plan for the future to evaluate performance in the NGT cluster. That makes sense; you could likely use the CERN facility.

Are there any other comments or questions on Zoom?

Q: The power gains are relatively modest—certainly not a factor of five. If you project this over the typical hardware lifecycle and consider the embodied $CO_2$ of the GPUs, what would be the conclusion? We seem far from the point where we are actually beating a CPU run.

A: We have not looked into this extensively yet. For the moment, it does not make sense to purchase GPUs for this specific use case because we are not yet more efficient than a CPU run. This is why we want to investigate different types of hardware; it is currently difficult to tell with the equipment we have.

Comment: I was hoping for a more ambitious goal. The problem is that GPU lifetimes are shorter, embodied carbon is high, and idle power is significant. I understand that frequency scaling on GPUs offers better gains than on x86 CPUs. There may be mileage in reducing the frequency of the GPUs to make them more akin to ARM hardware. That might provide some benefit, but it is disappointing that we are not seeing factors of five when looking at the big picture.

Comment: Regarding frequency scaling and voltage, we had a summer student study this. The results depended very strongly on the generation of the GPUs; with newer models, the effect was very small. Looking at the breakdown of the CPU runs, the CPU already uses less energy during a GPU run. When we tried reducing the CPU frequency, we also saw gains because the CPU sometimes idles even when oversubscribing. These will be marginal gains on top of our current results. For Athena, I previously showed a maximum speedup of 1.8, but that is only with half of the detector uploaded. That margin will increase, but we cannot yet say by how much.

Q: Are there discussions regarding new concepts for detector Monte Carlo in addition to using GPUs? The fundamental structure of detector Monte Carlo is essentially an enormous Markov chain problem, and shortcuts are not easy. All Monte Carlo involves a step, a weighted random decision, and branching. It is an immense chain of if-then-else statements, jumps, and random number generation. Algorithmic shortcuts—with the exception of vector geometry—are not obvious. Everyone is using machine learning now; is the Geant group looking into using machine learning for part of this work?

A: There is a simulation team within the general group. While the experimenters themselves are involved, Geant is not currently trying to "learn" parts of the sub-detectors.

Celeritas - Julien Esseiva

Q&A

Q: You mentioned that GPUs have a shorter lifetime than CPUs. Is that because they become obsolete or because they actually break?

A: It is mostly due to obsolescence. GPUs that are only a few years old are often considered too old to be useful, whereas a 10-year-old CPU can still be run.

Comment: We have a tendency to run very old hardware, perhaps because we have not prioritized power costs in the past. We are currently running many T4s on the grid. When you say it is not worth running them, what metric are you using? Is it the cost of power and cooling? A T4 would use less power, even if it is out of date.

A: I was referring to power efficiency. For full simulation, anything older than an A100 seems very inefficient compared to modern CPUs. It would be interesting to know quantitatively what that costs regarding embedded carbon and the crossover points. Practical funding also plays a role; agencies often do not provide budgets for new purchases every year.
With the T4, we do not see much speedup for full simulation. It is very dependent on the application; for example, IceCube has used T4s effectively for a long time. For full simulation, newer GPUs benefit from faster memory, which helps manage random number divergence.

Q: Was your measurement taken with DDR5 or HBM2E memory?

A: It is separate, not unified memory, but I would need to check the frequency. An A100 should be HBM2E.

Q: The GPU power draw is not at the maximum. Is this a highly memory-bound workload?

A: Yes, it is very memory-bound. We are not maxing out the available memory, but the transfer bandwidth from GPU global memory to the multiprocessors is the limiting factor. This is due to divergence; each track performs different tasks and loads different parts of the geometry. We also do not use hardware like Tensor Cores, so we would never reach maximum power usage.

If you add SIM and RecoSim, the total is close to what we spend on reconstruction. As we improve tracking, the reconstruction slice becomes smaller. Since we have GPU tracking for the HLT, some of this information will change.

Q: Why do we have two separate activities for moving detector simulation to GPUs?

A: That is a question for the project in general. There have been ongoing discussions about whether these projects will eventually converge. They share core components like VecGeom for geometry but differ in how they schedule kernels and implement physics. Since GPUs will certainly be a part of future computing, it is worth investigating. If forces were joined, it might lead to quicker progress.

Comment: Some manufacturers, like NVIDIA, impose a hard lifetime on their products by restricting their use or resale after a certain point. Power consumption depends largely on the silicon process; smaller features require moving less charge, resulting in better efficiency. The funding question also plays a significant role. Funding for operations is usually separate from hardware purchases. It is often easier to maintain funding for power costs than to secure a budget for new equipment.

The next meeting will focus on fast simulation, where we will examine the limitations of fast versus full simulations. See you then.