Measuring Environmental Footprint of my Hardware

Motivation 

Measuring the carbon footprint of workstations, PCs, and laptops is one of the most important steps that will help recognise how much carbon footprint is being created while using them in everyday tasks. Workstations, PCs, and laptops are responsible for carbon emissions (and other environmental impacts) both in their daily use and in their production and disposal. The former is known as “operational emissions” and the latter is known as “embodied emissions”.  

We can break down the operational emissions into the electricity that the device itself is using, and that which the use of the device generates. Typically, the more we do on a device the more instantaneous power required, and the longer the device is on the more energy is consumed by the device.  

According to Computer Energy Use: Standby and Measurement | StudySmarter (2019), we can determine that the computer devices are using variable amount of electricity depending on what they are being used for. Using the computer for searching the web or watching a film will use significantly less energy than running demanding calculations, editing a video or gaming.

The energy consumed will also depend on the specification of the computer. This is a complicated relationship. Laptops may have low-power CPUs, whereas workstations may have high capability and high-power consuming CPUs. But it is the energy required to fulfil a task that is proportional to the carbon footprint, and energy is a product of the power and time taken.

As well as the energy directly consumed by the device, the use of the device will have a carbon and environmental impact. For example, when accessing a web page on a laptop (or PC), there is a web server consuming energy generating the required information. Lastly, energy required to transmit the data from the server to the laptop, as well as the energy consumed by the laptop displaying the web page in a browser. 

We can consider two approaches to determining the footprint of the hardware. Firstly, we could consider how to determine the footprint of any given activity (such as browsing a given website, or running a given simulation, or playing a certain game). Secondly, we can attempt to compare the footprints of different devices for a typical user (which may be a combination of various activities).

For each of these, we can employ one of the methods listed below:

Methods to measure the energy directly consumed by a workstation, PC, or laptop

There are various options to measure the energy consumed by a computer (e.g. workstation, PC, or laptop). The options vary in ease of use, accuracy, resolution, and in what they measure. We discuss the main options: 

  • Measure your device's power usage by using a plug in power meter. These plug into the mains socket, and then you plug your PC or laptop charger into the power meter. Various power meters exist. Most will give instantaneous power, but also the energy consumed whilst the power meter has been drawing current from the mains. 
  • Use of RAPL, this is an Intel processor feature which allows real-time measurements of CPU and RAM (Malmodin and Lundén, 2018). This feature could be used to measure the energy consumed of running the code, but can also be used to measure the power consumption on different hardware. This method can be used as a benchmark to compare different power consumption of different hardware configurations by running the same code as a comparison. Read more about RAPL...
  • Measure using software such HWiNFO64, which, according to research at NASA (2023) was used as a reliable software tool for diagnostics and measurements. This software allows users to look up various information about their systems, including the current, minimum, maximum, and average power use of CPU and GPU. Which combined average values will allow estimating the power consumed. 

It is important to mention that if you are using a workstation or PC (or an additional monitor with your laptop) then you would need to measure or estimate the power of your monitor too. The easiest way to find power consumption of your monitor should be easily available online on manufacturers website or on the original packaging (energy sticker) or using plug in power meter mentioned above.

Reference list 

Computer Energy Use: standby & Measurement | StudySmarter (no date).
Available at: https://www.studysmarter.co.uk/explanations/computer-science/issues-in-computer-science/energy-consumption-of-computers/#:~:text=From%20simple%20tasks%20like%20reading. [Accessed on 20th September 2024]

Cook, P.W. et al. (2000b) 'Power-aware microarchitecture: design and modeling challenges for next-generation microprocessors,' IEEE Micro, 20(6), pp. 26–44.
Available at: https://doi.org/10.1109/40.888701 [Accessed on 20th September 2024]

D. Hackenberg, T. Ilsche, R. Schöne, D. Molka, M. Schmidt and W. E. Nagel, "Power measurement techniques on standard compute nodes: A quantitative comparison," 2013 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), Austin, TX, USA, 2013, pp. 194-204
Available at: https://doi.org/10.1109/ispass.2013.6557170 [Accessed on 20th September 2024]

Dunn, H.S. (2010) 'The Carbon Footprint of ICTs - GISW Thematic Report 2010,'
Available at:
https://www.globalinformationsocietywatch.org/index.php/thematic-report/sustainability-climate-change/carbon-footprint-icts [Accessed on 20th September 2024]
https://greencompute.uk/References/Carbon_Footprint/gisw2010thematicthecarbonfootprint_en.pdf [Accessed on 20th August 2024]

Ge, R. et al. (2010) 'PowerPack: Energy Profiling and Analysis of High-Performance Systems and Applications,' IEEE Transactions on Parallel and Distributed Systems, 21(5), pp. 658–671.
Available at: https://doi.org/10.1109/tpds.2009.76. [Accessed on 20th September 2024]

Ha, P.H. (2019) Modeling Energy Consumption of Computing Systems: from Homogeneous to Heterogeneous Systems.
Available at:
https://munin.uit.no/handle/10037/16379?show=full [Accessed on 20th September 2024]
https://greencompute.uk/References/FPGA_Benchmarks/tran2018-phd%20powerModels%20hetComputing.pdf [Accessed on 20th August 2024]

Hähnel, M. et al. (2012b) 'Measuring energy consumption for short code paths using RAPL,' ACM SIGMETRICS Performance Evaluation Review, 40(3), pp. 13–17.
Available at: https://doi.org/10.1145/2425248.2425252. [Accessed on 20th September 2024]

LaBel, K.A. et al. (2013) Advanced Micro Devices (AMD) Processor: Radiation test results, NASA Electronic Parts and Packaging Program (NEPP) Electronics Technology Workshop (ETW).
Available at:
https://nepp.nasa.gov/docs/etw/2013/Wed_June12_2013/1140_LaBel_%20AMD%20Processor%20Radiation%20Test%20Results.pdf[Accessed on 20th September 2024]

Malmodin, J. and Lundén, D. (2018). The Energy and Carbon Footprint of the Global ICT and E&M Sectors 2010–2015. Sustainability, 10(9), p.3027.
Available at: https://doi.org/10.3390/su10093027 [Accessed on 20th September 2024]

Martin Malík (2024) HWiNFO64(8.06) [Computer program] 
Available at: https://www.hwinfo.com/ [Accessed on 20th September 2024].

McCormick, A. et al. (2016) Evaluating power usage of hardware platforms
Available at: https://greencompute.uk/References/Power_Measurement/Adept_Whitepaper_Hardware_MW.pdf [Accessed on 20th September 2024]

Roberts, S.I. et al. (2017) 'Metrics for Energy-Aware software optimisation,' in Lecture notes in computer science, pp. 413–430.
Available at: https://doi.org/10.1007/978-3-319-58667-0_22 [Accessed on 20th September 2024]

Trefethen, A.E. and Thiyagalingam, J. (2013b) 'Energy-aware software: Challenges, opportunities and strategies,' Journal of Computational Science, 4(6), pp. 444–449.
Available at: https://doi.org/10.1016/j.jocs.2013.01.005 [Accessed on 20th September 2024]

Weaver, V.M. et al. (2012) 'Measuring Energy and Power with PAPI,' International Conference on Parallel Processing Workshops
Available at: https://doi.org/10.1109/icppw.2012.39 [Accessed on 20th September 2024]

W. Feng and K. Cameron, "The Green500 List: Encouraging Sustainable Supercomputing" in Computer, vol. 40, no. 12, pp. 50-55, 2007.
Available at: https://doi.org/10.1109/mc.2007.445 [Accessed on 20th September 2024]