Learn · CERN

Talk32 min

Parallelization of the AliRoot event reconstruction by performing a semi- automatic source-code transformation

Stefan Lohn · CERN

Watch At CERN

About

Chip multiprocessors are going to support massive parallelism to provide further processing capacities by adding more and more physical and logical cores. Unfortunately the growing number of cores come along with slower advances in speed and size of the main memory, the cache hierarchy, the front- side bus or processor interconnections. Parallelism can only result in performance gain, if the memory usage is optimized, memory locality improved and the communication between threads is minimized. But the domain of concurrent programming has become a field for highly skilled experts, as the implementation of multithreading is difficult, error prone and labor intensive. A full re-implementation for parallel execution of existing offline frameworks, like AliRoot in ALICE, is thus unaffordable. An alternative method, is to use a semi-automatic source-to-source transformation for getting a simple parallel design, with almost no interference between threads. This reduces the need of rewriting the developed software and avoids excessive communication between threads. This paper evaluates the adaption of the AliRoot event reconstruction, by taking the following steps: introduction of thread-safety to bring the original sequential and thread unaware source-code into the position of using multithreading; identification of classes that can be shared between threads as a method to reduce the memory footprint; transformation of the source code to share these classes; verification of the resulting code to localize and eliminate any remaining interferences between threads..

0:00:00 Slide 1

0:01:36 Slide 2

0:03:12 Slide 3

0:06:23 Slide 4

0:09:34 Slide 5

0:12:45 Slide 6

0:15:57 Slide 7

0:19:08 Slide 8

0:22:19 Slide 9

0:25:30 Slide 10

0:28:41 Slide 11

The talk

  1. Parallelization of the AliRoot event reconstruction by performing a semi- automatic source-code transformation 2012-05-24 · 32 min · CERN's player

Credits and licence

Institution
CERN
Department
Conferences
Speaker
Stefan Lohn
Year
2012
Language
English
Subjects
Physics, Computer science, Earth and environment
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed