Multicore in production: advantages and limits of the multiprocess approach in the ATLAS experiment - IN2P3 - Institut national de physique nucléaire et de physique des particules Access content directly
Conference Papers Year : 2012

Multicore in production: advantages and limits of the multiprocess approach in the ATLAS experiment

S. Binet
  • Function : Author
  • PersonId : 864830
M. K. Jha
  • Function : Author
C. Leggett
  • Function : Author
D. Lesny
  • Function : Author
H. Severini
  • Function : Author
D. Smith
  • Function : Author
S. Snyder
  • Function : Author
M. Tatarkhanov
  • Function : Author
P. Vangemmeren
  • Function : Author
A. Washbrook
  • Function : Author

Abstract

The shared memory architecture of multicore CPUs provides HEP developers with the opportunity to reduce the memory footprint of their applications by sharing memory pages between the cores in a processor. ATLAS pioneered the multi-process approach to parallelize HEP applications. Using Linux fork() and the Copy On Write mechanism we implemented a simple event task farm, which allowed us to achieve sharing of almost 80% of memory pages among event worker processes for certain types of reconstruction jobs with negligible CPU overhead. By leaving the task of managing shared memory pages to the operating system, we have been able to parallelize large reconstruction and simulation applications originally written to be run in a single thread of execution with little to no change to the application code. The process of validating AthenaMP for production took ten months of concentrated effort and is expected to continue for several more months. Besides validating the software itself, an important and time-consuming aspect of running multicore applications in production was to configure the ATLAS distributed production system to handle multicore jobs. This entailed defining multicore batch queues, where the unit resource is not a core, but a whole computing node; monitoring the output of many event workers; and adapting the job definition layer to handle computing resources with different event throughputs. We will present scalability and memory usage studies, based on data gathered both on dedicated hardware and at the CERN Computer Center.

Dates and versions

in2p3-00714479 , version 1 (04-07-2012)

Identifiers

Cite

S. Binet, P. Calafiura, M. K. Jha, W. Lavrijsen, C. Leggett, et al.. Multicore in production: advantages and limits of the multiprocess approach in the ATLAS experiment. 14th International Workshop on Advanced Computing and Analysis Techniques in Physics Research (ACAT 2011), Sep 2011, Uxbridge, United Kingdom. pp.012018, ⟨10.1088/1742-6596/368/1/012018⟩. ⟨in2p3-00714479⟩
37 View
0 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More