Evolving ATLAS conditions data architecture for LHC Runs 3 and 4

22 June 2023 | By

What do ATLAS physicists mean when they talk about “data”? The first answer that often comes to mind is “physics data” – that is, the signals collected from high-energy collisions inside the ATLAS experiment. But in order to study these collisions, they need much more than that. Researchers rely on a wide range of auxiliary information called “conditions data”, which describes every aspect of the experiment during collisions. From sub-detector and accelerator calibrations to data-acquisition parameters, these data are essential for physicists to fully reconstruct and study LHC collisions.

For Run 3 of the LHC (2022–ongoing), the ATLAS Collaboration decided to change how it stores and processes conditions data. The significant efforts that went into this change – and the motivations for them – were presented at the 26th International Conference on Computing in High Energy and Nuclear Physics (CHEP) in May.

ATLAS data are stored, copied and distributed to more than 150 computing sites via the Worldwide LHC Computing Grid (WLCG). Throughout Run 1 and Run 2 of the LHC (2010-2018), the ATLAS Collaboration stored its conditions data in relational tables in an Oracle database, using infrastructure and software provided mainly by the CERN Information Technology (IT) department. Access to the conditions database was done using an intermediate system called the Frontier-Squid system. Physicists used Athena (the ATLAS event processing software framework) to manage their database access and queries, which would be sent as HTTP requests.

While this set-up worked well, researchers observed some weak points. First, service would degrade when running special workflows due to low caching efficiency in the Frontier-Squid system. Second, conditions data management proved cumbersome because the data were stored in over 10,000 underlying tables. Third, the conditions database software required a specific version of Oracle software to work. Fourth, the software underlying Athena was no longer going to be supported by the CERN IT Department. Further, the data were being stored in two different Oracle databases (Online and Offline). Replicating these data required two different technologies, which was a concern for long-term support.


The ATLAS Collaboration has changed how it stores and processes "conditions data" – essential information describing every aspect of the experiment during collisions.


Technology,Computing,ATLAS
Figure 1: Left, the Run 2 conditions data infrastructure. The Online Oracle database stores conditions data when ATLAS is in operation. The Active Data Guard (ADG) technology is used for replicating the data into another instance. The conditions data is replicated via the Golden Gate technology (red arrows) from Online to Offline instances and from Offline to Tier 1 instances. The Offline Oracle database (and Tier 1 replicas) is the source for Frontier access at ATLAS computing sites. The “COOL upload” tools are used to access the Online Oracle to upload data. Right, the Run 3 Conditions data infrastructure. The Conditions data needed for offline data processing are consolidated in the Online Oracle cluster. The Golden Gate replication is eliminated. The ADG replica is the source for Frontier access. For offline data uploads, access to the Online Oracle is done using a web proxy system (COOL-proxy). (Image: ATLAS Collaboration/CERN)

All these considerations led researchers to reevaluate and reorganise the Oracle/Frontier architecture and the conditions data model for Run 3 of the LHC. The results of this big effort can be seen in Figure 1, highlighting the changes between Run 2 and Run 3. The conditions data consolidation was successfully done in the Online Oracle cluster. The data replication technology was reduced from two to one, thus simplifying maintenance of the required hardware resources and sustaining the operational personpower. The Frontier server deployment was also simplified by using only the Oracle database at CERN. The Run 3 infrastructure provides a new environment dedicated to “data processing” workflows, while an Offline cluster continues to host many other databases containing information about ATLAS publications or detector construction.

For Run 4 of the LHC, expected to begin in 2029, a new data model called CREST (Conditions REST) is under development. Based on a collaboration with the CMS experiment, this model disentangles the clients from the storage solution. A comparison of Run 3 and Run 4 architectures can be seen in Figure 2. CREST provides optimal data caching by design; the data are retrieved from the Oracle database using a unique key, thus CREST always uses the same query for the same data, unlike the current model. CREST also allows researchers to easily place data in a filesystem, which is relevant for data preservation. CREST development is progressing well, with data migration tools already undergoing testing. CREST will be fully deployed by the end of Run 3 to be ready in time for Run 4.

Technology,Computing,ATLAS
Figure 2: Comparison of Run 3 and Run 4 Conditions data architectures. ATLAS provides in-house support for basic maintenance of the software underlying Athena (COOL) during Run 3. CREST allows for better evolution, namely changes in the backend database technology are absolutely transparent for the client. (Image: ATLAS Collaboration/CERN)

Learn more