Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3652104.3652528acmconferencesArticle/Chapter ViewAbstractPublication PagesmmsysConference Proceedingsconference-collections
research-article
Open access

VEEP: Video Encoding Energy and CO2 Emission Prediction

Published: 15 April 2024 Publication History

Abstract

In the context of rising environmental concerns, this paper introduces VEEP, an architecture designed to predict energy consumption and CO2 emissions in cloud-based video encoding. VEEP combines video analysis with machine learning (ML)-based energy prediction and real-time carbon intensity, enabling precise estimations of CPU energy usage and CO2 emissions during the encoding process. It is trained on the Video Complexity Dataset (VCD) and encoding results from various AWS EC2 instances. VEEP achieves high accuracy, indicated by an R2-score of 0.96, a mean absolute error (MAE) of 2.41 x 10-5, and a mean squared error (MSE) of 1.67 x 10-9. An important finding is the potential to reduce emissions by up to 375 times when comparing cloud instances and their locations. These results highlight the importance of considering environmental factors in cloud computing.

References

[1]
Samira Afzal, Narges Mehran, Sandro Linder, Christian Timmerer, and Radu Prodan. 2023. VE-Match: Video Encoding Matching-based Model for Cloud and Edge Computing Instances. In Proceedings of the First International Workshop on Green Multimedia Systems. 1--6.
[2]
Samira Afzal, Narges Mehran, Zoha Azimi Ourimi, Farzad Tashtarian, Hadi Amirpour, Radu Prodan, and Christian Timmerer. 2024. A Survey on Energy Consumption and Environmental Impact of Video Streaming. arXiv preprint arXiv:2401.09854 (2024).
[3]
Samira Afzal, Zahra Najafabadi Samani, Narges Mehran, Christian Timmerer, and Radu Prodan. 2022. MPEC2: Multilayer and Pipeline Video Encoding on the Computing Continuum. In 2022 IEEE 21st International Symposium on Network Computing and Applications (NCA), Vol. 21. 181--190.
[4]
Samira Afzal, Farzad Tashtarian, Hamid Hadian, Alireza Erfanian, Christian Timmerer, and Radu Prodan. 2022. Otec: an optimized transcoding task scheduler for cloud and fog environments. In Proceedings of the 2nd International Workshop on Design, Deployment, and Evaluation of Network-Assisted Video Streaming. 21--26.
[5]
Othmane Alaoui-Fdili, Youssef Fakhri, Patrick Corlay, François-Xavier Coudoux, and Driss Aboutajdine. 2014. Energy consumption analysis and modelling of a H. 264/AVC intra-only based encoder dedicated to WVSNs. In 2014 IEEE International Conference on Image Processing (ICIP). IEEE, 1189--1193.
[6]
Inc. Amazon Web Services. 2024. Amazon EC2 Instance Type Specifications. https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-type-specifications2.html. [Accessed: 2024-02-02].
[7]
Amazon Web Services, Inc. 2023. AWS landing page. https://aws.amazon.com/. [Accessed: 2024-02-02].
[8]
Hadi Amirpour, Vignesh V Menon, Samira Afzal, Mohammad Ghanbari, and Christian Timmerer. 2022. VCD: video complexity dataset. In Proceedings of the 13th ACM Multimedia Systems Conference (Athlone, Ireland) (MMSys '22). Association for Computing Machinery, New York, NY, USA, 234--239.
[9]
Apple Inc. 2023. HLS Authoring Specification for Apple Devices. https://developer.apple.com/documentation/http-live-streaming/hls-authoring-specification-for-apple-devices [Accessed: 2024-02-02].
[10]
Leo Breiman. 2001. Random forests. Machine learning 45 (2001), 5--32.
[11]
Chris Ramseyer. 2020. Watts Up? Pro, Pro ES, and .Net Power Meter Review. https://www.tweaktown.com/reviews/5947/watts-up-pro-pro-es-and-net-power-meter-review/index.html. [Accessed: 2024-02-02].
[12]
Eaton. 2024. Eaton Managed Rack PDU. https://www.eaton.com/de/de-de/catalog/backup-power-ups-surge-it-power-distribution/eaton-managed-rack-pdu0.html. [Accessed: 2024-02-02].
[13]
Electricity Maps. 2024. Electricity Maps Methodology. https://www.electricitymaps.com/methodology [Accessed: 2024-02-02].
[14]
Electricity Maps. 2024. Get Our Data. https://www.electricitymaps.com/get-our-data [Accessed: 2024-02-02].
[15]
Yoav Freund and Robert E Schapire. 1997. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences 55, 1 (1997), 119--139.
[16]
Jerome H Friedman. 2001. Greedy function approximation: a gradient boosting machine. Annals of statistics (2001), 1189--1232.
[17]
Pierre Geurts, Damien Ernst, and Louis Wehenkel. 2006. Extremely randomized trees. Machine learning 63 (2006), 3--42.
[18]
HP. 2009. HP Labs: CACTI. https://www.hpl.hp.com/research/cacti/. [Accessed: 2024-02-02].
[19]
Intel. 2022. Intel® Performance Counter Monitor - PCM. http://www.intel.com/software/pcm. [Accessed: 2024-02-02].
[20]
Kashif Nizam Khan, Mikael Hirki, Tapio Niemi, Jukka K Nurminen, and Zhonghong Ou. 2018. RAPL in Action: Experiences in Using RAPL for Power measurements. ACM Transactions on Modeling and Performance Evaluation of Computing Systems (TOMPECS) 3, 2 (2018), 1--26.
[21]
Charles L. Lawson and Richard J. Hanson. 1995. 23. Linear Least Squares with Linear Inequality Constraints. 158--173. arXiv:https://epubs.siam.org/doi/pdf/10.1137/1.9781611971217.ch23
[22]
Ian Stapleton Cordasco Lukasa, nateprewitt. 2023. requests. https://pypi.org/project/requests/. [Accessed: 2024-02-02].
[23]
Vignesh V Menon, Christian Feldmann, Hadi Amirpour, Mohammad Ghanbari, and Christian Timmerer. 2022. VCA: video complexity analyzer. In Proceedings of the 13th ACM Multimedia Systems Conference (Athlone, Ireland) (MMSys '22). Association for Computing Machinery, New York, NY, USA, 259--264.
[24]
Eduarda Monteiro, Mateus Grellert, Sergio Bampi, and Bruno Zatt. 2015. Rate-distortion and energy performance of HEVC and H. 264/AVC encoders: A comparative analysis. In 2015 IEEE international symposium on circuits and systems (ISCAS). IEEE, 1278--1281.
[25]
MulticoreWare. 2023. LibX264. https://www.videolan.org/developers/x264.html [Accessed: 2024-02-02].
[26]
MulticoreWare Inc. 2023. LibX265. https://www.videolan.org/developers/x265.html [Accessed: 2024-02-02].
[27]
F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. 2011. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research 12 (2011), 2825--2830.
[28]
perf. 2024. perf: Linux profiling with performance counters. https://perf.wiki.kernel.org. [Accessed: 2024-02-02].
[29]
Sandvine. 2023. The Global Internet Phenomena Report January 2023. https://www.sandvine.com/phenomena. [Accessed: 2024-02-02].
[30]
scikit learn. 2024. API reference - pipeline. https://scikit-learn.org/stable/modules/classes.html#module-sklearn.pipeline. [Accessed: 2024-02-02].
[31]
scikit learn. 2024. API reference - prerpocessing. https://scikit-learn.org/stable/modules/classes.html#module-sklearn.preprocessing. [Accessed: 2024-02-02].
[32]
Robert Seeliger, Christoph Müller, and Stefan Arbanowski. 2022. Green streaming through utilization of AI-based content aware encoding. In 2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS). IEEE, 43--49.
[33]
Yousef O Sharrab, Mohammad Alsmirat, Bilal Hawashin, and Nabil Sarhan. 2021. Machine learning-based energy consumption modeling and comparing of H.264 and Google VP8 encoders. International Journal of Electrical and Computer Engineering (IJECE) 11, 2 (2021), 1303--1310.
[34]
Yousef O Sharrab and Nabil J Sarhan. 2013. Aggregate power consumption modeling of live video streaming systems. In Proceedings of the 4th ACM Multimedia Systems Conference. 60--71.
[35]
Dieison Silveira, Marcelo Porto, and Sergio Bampi. 2017. Performance and energy consumption analysis of the x265 video encoder. In 2017 25th European signal processing conference (EUSIPCO). IEEE, 1519--1523.
[36]
Mikko Uitto. 2016. Energy consumption evaluation of H.264 and HEVC video encoders in high-resolution live streaming. In 2016 IEEE 12th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob). 1--7.
[37]
United Nations Framework Convention on Climate Change. 2023. Agreement at COP28 as 28th UN Climate Change Conference. https://www.un.org/sg/en/content/sg/statement/2023-12-13/secretary-generals-statement-the-closing-of-the-un-climate-change-conference-cop28. [Accessed: 2024-02-02].

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
GMSys '24: Proceedings of the Second International ACM Green Multimedia Systems Workshop
April 2024
33 pages
ISBN:9798400706172
DOI:10.1145/3652104
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 April 2024

Check for updates

Author Tags

  1. video encoding
  2. cloud and edge computing
  3. energy consumption
  4. CO2 emission
  5. scheduling

Qualifiers

  • Research-article

Funding Sources

  • Austrian Federal Ministry for Digital and Economic Affairs, the National Foundation for Research, Technology and Development, and the Christian Doppler Research Association
  • ustrian Research Promotion Agency (FFG)

Conference

GMSys '24
Sponsor:

Acceptance Rates

Overall Acceptance Rate 8 of 12 submissions, 67%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 114
    Total Downloads
  • Downloads (Last 12 months)114
  • Downloads (Last 6 weeks)26
Reflects downloads up to 02 Sep 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media