Published May 14, 2024
| Version v1
Thesis
Open
Evaluation of Different Methods for Runtime Optimization of Longitudinal Phase Space Tomography
Description
In order to measure the parameters, and therefore the quality, of the particle beam in the CERN synchrotrons, various methods are used for beam diagnostics. One of them is longitudinal phase space tomography, with which the distribution of particles in the phase space can be reconstructed from measured bunch profiles. Due to the large number of parameters and the high number of calculations, the entire process for a single reconstruction usually takes a few seconds. For some applications, a large number of reconstructions are required, so that the order of magnitude can quickly increase from a few seconds to several minutes or even hours. For others, fast reconstructions are desired, in which case several seconds is too long. This work compares different approaches to optimize the runtime of the longitudinal phase space tomography. Thereby, mainly approaches with GPUs are used as well as frameworks for optimizing Python code. The runtimes are compared with the current CPU implementation and a GPU based version is implemented on the basis of the findings. In the end, a faster application is created using CuPy and CUDA C++, reaching speedups between six and 19, depending on the GPU model, and reconstruction runtimes of below 300 milliseconds, while the whole application workflow takes less than two seconds.
Files
CERN-THESIS-2024-033.pdf
Files
(2.2 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:54ef4b76a6c018f5bff94b1a84c22a9b
|
2.2 MB | Preview Download |
Additional details
Identifiers
- CDS
- 2895597
- CDS Report Number
- CERN-THESIS-2024-033
CERN
- Department
- SY - Accelerator Systems Department
- Programme
- No program participation
- Accelerator
- CERN PS Booster