论文标题
绿色算法:量化计算的碳足迹
Green Algorithms: Quantifying the carbon footprint of computation
论文作者
论文摘要
气候变化深远影响了地球上生命的几乎所有方面,包括人类社会,经济和健康。各种人类活动负责大量的温室气体排放,包括数据中心和其他大规模计算来源。尽管由于高性能计算的发展,已经实现了许多重要的科学里程碑,但所产生的环境影响却被低估了。在本文中,我们提出了一个方法学框架,以根据处理时间,计算核心的类型,可用的内存以及计算设施的效率和位置来估算任何计算任务的碳足迹。定义了解释和上下文化温室气体排放的指标,包括汽车或平面传播的等效距离以及碳固换所需的树月数量。我们开发了一种免费的在线工具,绿色算法(www.green-algorithms.org),它使用户能够估算并报告其计算的碳足迹。绿色算法工具可以轻松地与计算过程集成,因为它需要最小的信息,并且不会干扰现有代码,同时还可以考虑广泛的CPU,GPU,云计算,本地服务器和台式计算机。最后,通过应用绿色算法,我们量化用于粒子物理模拟,天气预测和自然语言处理的算法的温室气体排放。综上所述,这项研究开发了一个简单的通用框架和免费可用的工具,可以量化几乎所有计算的碳足迹。再加上一系列建议,以最大程度地减少不必要的二氧化碳排放,我们希望提高意识并促进更绿色的计算。
Climate change is profoundly affecting nearly all aspects of life on earth, including human societies, economies and health. Various human activities are responsible for significant greenhouse gas emissions, including data centres and other sources of large-scale computation. Although many important scientific milestones have been achieved thanks to the development of high-performance computing, the resultant environmental impact has been underappreciated. In this paper, we present a methodological framework to estimate the carbon footprint of any computational task in a standardised and reliable way, based on the processing time, type of computing cores, memory available and the efficiency and location of the computing facility. Metrics to interpret and contextualise greenhouse gas emissions are defined, including the equivalent distance travelled by car or plane as well as the number of tree-months necessary for carbon sequestration. We develop a freely available online tool, Green Algorithms (www.green-algorithms.org), which enables a user to estimate and report the carbon footprint of their computation. The Green Algorithms tool easily integrates with computational processes as it requires minimal information and does not interfere with existing code, while also accounting for a broad range of CPUs, GPUs, cloud computing, local servers and desktop computers. Finally, by applying Green Algorithms, we quantify the greenhouse gas emissions of algorithms used for particle physics simulations, weather forecasts and natural language processing. Taken together, this study develops a simple generalisable framework and freely available tool to quantify the carbon footprint of nearly any computation. Combined with a series of recommendations to minimise unnecessary CO2 emissions, we hope to raise awareness and facilitate greener computation.