Energy Efficient Programming (openHPI)

Energy Efficient Programming (openHPI)

Efficiency in computer science often refers to the runtime or memory usage, that a certain algorithm needs to produce an output. However, efficiency can also describe the amount of energy, that is consumed by the hardware during the runtime of an algorithm. This course explains the relevant computer architecture components, as well as different coding techniques, that allow computer scientists to design and program energy efficient algorithms.

Participants will learn how intrinsic functions work and how they can be applied to an algorithm to reduce its energy consumption. In addition, the course presents a hands-on approach to measuring energy consumption of programs using the Intel VTune Profiler tool. In contrast to the existing clean-IT courses on openHPI, this course provides a deeper dive into specific, energy efficient, architecture coding techniques.
In response to the growing energy consumption of software programs and digital technologies, energy efficiency is on the rise as a key metric for software development. However, computer scientists and developers often lack concrete, applicable tools, that help reduce an algorithm's energy consumption.
This course is aimed at students, researchers, or developers that work or study in computer science or a related field and want to learn more about energy efficient coding techniques.
In this course, you will learn:

  • The basic concepts of computer functionality and architecture, such as clock cycles, parallelism, execution pipelines, and superscalar architectures.
  • How to use coding techniques in C and assembly, to significantly minimize the number of instructions executed by the CPU
  • About intrinsics and macros, and how you can apply them to any algorithm to increase energy efficiency

The course consists of educational videos, multiple choice tests, and multiple, detailed coding examples. Depending on your prior knowledge and engagement with the coding material, you will spend 5-10 hours per week.
Prequisite knowledge for this course is fundamental programming experience in C, as well as basic knowledge about computer architecture concepts and functionality. Experience with an IDE (preferably Microsoft Visual Studio) is recommended to evaluate the programming examples.

What you'll learn

  • Understand the basic concepts of computer functionality and architecture
  • Learn how to use coding techniques in C and assembly, to significantly minimize the number of instructions executed by the CPU
  • Learn about intrinsics and macros, and how to apply them to any algorithm to increase its energy efficiency

Who this course is for
Students, researchers, or developers that work or study in computer science or a related field and want to learn more about energy efficient coding techniques

Course contents

Intro:
In this section, you'll get to know the course lecturer, Prof. Vesselin Iossifov. We'll also introduce the concepts and contents, that are used and covered in this course.

Week 1 - Motivation, Concepts, and Architecture:
The first week of the course presents all the basic knowledge you need to know, including: The motivation for energy efficient programming, computer functionality and architecture basics, and an introduction into x86-programming.

Week 2 - Coding techniques for energy efficient programming:
The second week dives deep into various coding techniques, that allow energy efficient programming of superscalar CPUs, including: Coding techniques in C and Assembler, as well as Streaming Instruction Extensions (SSE) and vector intrinsics.
I like, I wish:
This survey will be unlocked after the course has finished and provides the opportunity to leave detailed feedback on the course.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Fundamentals of Parallelism on Intel Architecture (Coursera) Coursera
Intel Corporation

Fundamentals of Parallelism on Intel Architecture (Coursera)

This course will introduce you to the multiple forms of parallelism found in modern Intel architecture processors and teach you the programming frameworks for handling this parallelism in applications. You will get access to a cluster of modern manycore processors (Intel Xeon Phi architecture) for experiments with graded programming exercises.

Mar 6th 2023
5-12 Weeks
Redes de computadores (edX) EdX
Universidad del Rosario,URosarioX

Redes de computadores (edX)

Aprende los fundamentos de las redes de computadores, incluyendo su arquitectura, protocolos y los aspectos a considerar para hacerlas seguras. Las redes de computadores, o renombradas hoy en día como Networks of Things , son esenciales para soportar los servicios de Internet que usamos a diario, dado que soportan la transformación digital de las empresas y apalancan de manera directa la revolución 4.0 que vivimos hoy en día.

Self Paced
Self-Paced
New Energy Technologies: Energy Transition and Sustainable Development (FutureLearn) FutureLearn
Grenoble Ecole de Management

New Energy Technologies: Energy Transition and Sustainable Development (FutureLearn)

Explore the development of new energy technologies and discover key energy challenges with this online course. In a world facing pressing energy challenges, the need for alternative energy and new energy technologies has never been more pressing. This course explores the new and upcoming technologies that may help solve some of the world’s biggest energy challenges - examining them from both a business and technological perspective.

Self Paced
4 Weeks
Computer System Design: Improving Energy Efficiency and Performance (edX) EdX
Chalmers University of Technology,ChalmersX

Computer System Design: Improving Energy Efficiency and Performance (edX)

Learn the elements of computer design needed for programmers to make the most of computers’ speed and to write energy-effective programs. In this computer science course, you will learn the basic foundations underpinning the design of modern multicore-based computers. In addition, you will learn how design decisions affect how fast programs execute and how much energy is wasted.

No session available
5-12 Weeks
Fondamenti di informatica (Federica Web Learning) Federica Web Learning
University of Naples Federico II

Fondamenti di informatica (Federica Web Learning)

Il mondo moderno è sempre più dipendente dall’Informatica e conoscerne i fondamenti e le relative applicazioni risulta essenziale per comprendere il funzionamento degli attuali Sistemi di Elaborazione delle Informazioni, oramai diffusi nei contesti più disparati ed imprescindibili per molte delle attività della nostra vita quotidiana. Il corso di Fondamenti di Informatica si propone di fornire ai discenti le nozioni preliminari alla base dell’informatica, ed in particolare quelle relative al trattamento delle informazioni mediante procedure “automatizzabili”.

No sessions available
13-24 Weeks
Sustainable Energy Access for Communities (FutureLearn) FutureLearn
University College London,Centre for Lebanese Studies,RELIEF Centre,American University of Beirut (AUB)

Sustainable Energy Access for Communities (FutureLearn)

Discover energy access options to help communities move towards a renewable energy future. Explore sustainable solutions to address the challenges of energy access. There are 789 million people around the world who live without access to electricity. In addition, 2.8 billion people globally have no access to clean and safe cooking fuels and technologies. On this three-week course, you’ll explore the meaning of energy access and how to overcome its challenges to provide safe and clean energy for communities around the world.

Self Paced
3 Weeks
Energía inteligente para un futuro sostenible (URJC) URJCx
Universidad Rey Juan Carlos

Energía inteligente para un futuro sostenible (URJC)

El panorama energético mundial, dominado por una demanda creciente de energía a escala global que se sustenta en el consumo masivo de energías fósiles, conlleva importantes retos a los que debe hacer frente nuestra sociedad. Planificar nuestro futuro energético es trascendental para lograr el avance de la humanidad. Sin embargo, no cabe cualquier solución, pues la necesidad de proveer de energía suficiente a una población mundial en constante e imparable crecimiento, debe compaginarse con una adecuada preservación del medio ambiente para seguir aspirando a un futuro sostenible de nuestra sociedad.

No session available
5-12 Weeks
clean-IT: Towards Sustainable Digital Technologies (openHPI) OpenHPI
Hasso-Plattner-Institut

clean-IT: Towards Sustainable Digital Technologies (openHPI)

Digitalization is a game changer in the pursuit of a sustainable future. The latest digital technologies and applications like cloud, AI, and mobile devices enable us to achieve the Sustainable Development Goals and reduce carbon emissions in many sectors. Yet computer systems themselves have an immense energy requirement for their countless devices, data centers, applications and global networks. To effectively reduce the carbon footprint of digitalization, it is necessary to apply algorithmic efficiency and sustainability by design as guiding principles in digital engineering.

Mar 31st 2021
5-12 Weeks
Energy Services (IST) MOOC Técnico
Instituto Superior Técnico, Universidade de Lisboa

Energy Services (IST)

This course introduces the concept of energy services and presents the modeling principles to design sustainable energy systems. The course will occur through a self-paced methodology, which means that will be open for a longer period and all the materials and evaluation are already available. Since there are not delivery limits, each participant can finish the course when most opportune during a year (15th March 2019 - 15th March 2020).

No session available
5-12 Weeks
Management of Urban Infrastructures – part 1 (Coursera) Coursera
École Polytechnique Fédérale de Lausanne

Management of Urban Infrastructures – part 1 (Coursera)

Sustainability, Resilience and Efficiency are fundamental considerations for city managers in managing urban infrastructures. Today, more than 3.9 billion people, making up more than 54% of the global population, live in cities. Urbanization is expected to continue in the coming years, raising the urban population to 6.0 billion by 2045. This dramatic increase in urban populations will inevitably increase the demand for energy, mobility (transportation), water, and other urban services in every city around the world. Without functional governance and management structures that ensure efficient, resilient and sustainable performance in cities, the current urbanization growth might become a catastrophic risk threatening the quality of life of the humanity.

Dec 7th 2026
5-12 Weeks