TL;DR
The ATLAS experiment at the LHC successfully integrated Google Cloud resources into its distributed computing infrastructure, demonstrating its viability for providing scalable, on-demand computing power. This study provides the first comprehensive Total Cost of Ownership (TCO) analysis for commercial cloud resources in this context, highlighting network egress costs as a major driver and exploring cost-control mechanisms.
What Problem Does This Paper Address?
The ATLAS experiment, like other large-scale scientific collaborations, relies on a massive distributed computing infrastructure (the Worldwide LHC Computing Grid, WLCG) to process and analyze vast amounts of data. As the demands of physics research grow, particularly with the upcoming High-Luminosity LHC era, there's a continuous need for more computing resources. Commercial clouds offer a compelling alternative for providing flexible, scalable computing capacity, but their cost structures, especially for data transfer (egress), can be complex and potentially prohibitive. This paper addresses the challenge of evaluating the true cost of using commercial clouds for a large-scale scientific experiment, moving beyond simple list-price estimates to a Total Cost of Ownership (TCO) model. It aims to identify dominant cost drivers and explore effective mechanisms for cost control, ensuring that cloud resources can be a sustainable and cost-effective addition to the existing grid infrastructure.
Methods
The core of this study is a 15-month evaluation of Google Cloud Platform (GCP) resources by the ATLAS experiment. Key methodological aspects include:
- Total Cost of Ownership (TCO) Model: The paper develops and applies a TCO methodology to understand the relative contributions of compute, storage, and network to the overall cost. This moves beyond simple list-price comparisons.
- Subscription Pricing Agreement: ATLAS negotiated a flat-rate subscription agreement with Google, which significantly reduced the effective cost compared to list prices. The study analyzes the benefits of such agreements.
- Seamless Integration: Technical work focused on integrating GCP resources into the existing ATLAS distributed computing infrastructure using standard tools like Kubernetes and cloud-native interfaces, ensuring compatibility with the ATLAS software stack and data management systems (PanDA and Rucio).
- Workflow Analysis: Different ATLAS workflows (e.g., MC Event Generation, Simulation, Reconstruction, Data Reprocessing, User Analysis) were run on GCP to understand their specific cost impacts, particularly concerning network egress.
- Resource Bursting: The study experimentally tested the ability to rapidly scale up computing resources (bursting) to tens of thousands of cores to assess its effectiveness and cost implications.
- Cost Control Mechanisms: The paper investigates and demonstrates the effectiveness of mechanisms within the Rucio data management system to control network egress costs, such as greedy deletion of data and adjusting RSE distance parameters.
Datasets
Not explicitly discussed as training datasets. The paper focuses on the use of Google Cloud for processing and storing real experimental data from the ATLAS experiment. The "datasets" are the scientific data generated by the LHC and processed by ATLAS workflows.
Key Insights and Ideas
- Cloud as a Viable Resource: Commercial clouds, specifically Google Cloud, can be effectively integrated into large-scale scientific computing infrastructures like ATLAS, offering significant scalability and flexibility.
- Network Egress is the Dominant Cost Driver: For data-intensive workflows, network egress costs can quickly become the largest component of the total cloud expenditure, often exceeding compute and storage costs.
- Subscription Agreements are Crucial: Negotiating flat-rate subscription agreements with cloud providers can offer substantial discounts (up to 73% in this case) and cost predictability, making cloud resources significantly more cost-effective.
- Cost Control is Possible: Tools like Rucio, when configured appropriately, can effectively manage and reduce network egress costs, making cloud usage more economical.
- Resource Bursting is Effective but Costly: The ability to rapidly scale up compute resources is a significant advantage of cloud computing, enabling faster turnaround times for urgent tasks, but it comes with a substantial cost, especially at list prices.
- Workflow Dependency: The cost impact of cloud resources is highly dependent on the specific workflow being executed, with data reprocessing being particularly egress-intensive.
Key Results
- Cost Savings: ATLAS utilized 3.72 times more Google Cloud resources than purchased via the subscription agreement, which would have cost 272% more at list price. The total cost for 15 months was $849,458, while the list price for the same resources would have been $3.162M.
- Seamless Integration: Technical integration of GCP resources into the ATLAS distributed computing infrastructure was achieved at scale with no significant technical issues.
- Resource Bursting Success: The experiment demonstrated the ability to burst to 100,000 job slots within 1-2 hours, processing 50 million events within 24 hours. The cost for each burst run was around $23,000.
- Network Cost Reduction: Adjusting Rucio configurations led to a significant reduction in egress traffic, from over 200 TB/day to below 5-10 TB/day, drastically reducing associated costs.
- Stable Performance: The ATLAS Google site experienced stable performance with negligible downtime, and masked CPU values remained homogeneous.
Limitations and Future Work
- Limitations:
- The study acknowledges that the cost of egress is workflow-dependent, and certain workflows (like data reprocessing) are currently too egress-intensive to be cost-effective.
- While spot instances were used, preemption rates were observed to be lower than in previous studies, but still a factor to consider for critical workloads.
- The TCO analysis is specific to the negotiated subscription agreement and may not directly translate to other pricing models or cloud providers.
- Future Work:
- Further investigation into optimizing cloud resource usage at a lower scale, similar to a typical grid site configuration.
- Detailed evaluation of which workflows are most suitable for commercial cloud deployment.
- Exploring dedicated network links (e.g., with ESnet) to further reduce egress costs and integrate with WLCG networks (LHCONE).
- Developing new features in data management tools (Rucio, GFAL, Davix, FTS) to better exploit cloud storage and network capabilities, such as bucket-level copy for inter-region transfers.
- Investigating the use of non-standard resources like GPUs and ARM CPUs for novel analysis techniques and software development.
- Examining the privacy implications of data stored in commercial clouds and ensuring compliance with regulations like GDPR.
- Understanding how commercial cloud resources fit into the overall WLCG pledge structure.
Summary updated