Table of Contents
Fetching ...

A Framework for Carbon-aware Real-Time Workload Management in Clouds using Renewables-driven Cores

Tharindu B. Hewage, Shashikant Ilager, Maria A. Rodriguez, Rajkumar Buyya

TL;DR

This work presents a framework to harvest green renewable energy for real-time workloads in cloud systems, using Renewables-driven cores in servers to dynamically switch CPU cores between real-time and low-power profiles, matching renewable energy availability.

Abstract

Cloud platforms commonly exploit workload temporal flexibility to reduce their carbon emissions. They suspend/resume workload execution for when and where the energy is greenest. However, increasingly prevalent delay-intolerant real-time workloads challenge this approach. To this end, we present a framework to harvest green renewable energy for real-time workloads in cloud systems. We use renewables-driven cores in servers to dynamically switch CPU cores between real-time and low-power profiles, matching renewable energy availability. We then develop a VM Execution Model to guarantee running VMs are allocated with cores in the real-time power profile. If such cores are insufficient, we conduct criticality-aware VM evictions as needed. Furthermore, we develop a VM Packing Algorithm to utilize available cores across the data center. We introduce the Green Cores concept in our algorithm to convert renewable energy usage into a server inventory attribute. Based on this, we jointly optimize for renewable energy utilization and reduction of VM eviction incidents. We implement a prototype of our framework in OpenStack as openstack-gc. Using an experimental openstack-gc cloud and a large-scale simulation testbed, we expose our framework to VMs running RTEval, a real-time evaluation program, and a 14-day Azure VM arrival trace. Our results show: (i) a 6.52% reduction in coefficient of variation of real-time latency over an existing workload temporal flexibility-based solution, and (ii) a joint 79.64% reduction in eviction incidents with a 34.83% increase in energy harvest over the state-of-the-art packing algorithms. We open source openstack-gc at https://github.com/tharindu-b-hewage/openstack-gc.

A Framework for Carbon-aware Real-Time Workload Management in Clouds using Renewables-driven Cores

TL;DR

This work presents a framework to harvest green renewable energy for real-time workloads in cloud systems, using Renewables-driven cores in servers to dynamically switch CPU cores between real-time and low-power profiles, matching renewable energy availability.

Abstract

Cloud platforms commonly exploit workload temporal flexibility to reduce their carbon emissions. They suspend/resume workload execution for when and where the energy is greenest. However, increasingly prevalent delay-intolerant real-time workloads challenge this approach. To this end, we present a framework to harvest green renewable energy for real-time workloads in cloud systems. We use renewables-driven cores in servers to dynamically switch CPU cores between real-time and low-power profiles, matching renewable energy availability. We then develop a VM Execution Model to guarantee running VMs are allocated with cores in the real-time power profile. If such cores are insufficient, we conduct criticality-aware VM evictions as needed. Furthermore, we develop a VM Packing Algorithm to utilize available cores across the data center. We introduce the Green Cores concept in our algorithm to convert renewable energy usage into a server inventory attribute. Based on this, we jointly optimize for renewable energy utilization and reduction of VM eviction incidents. We implement a prototype of our framework in OpenStack as openstack-gc. Using an experimental openstack-gc cloud and a large-scale simulation testbed, we expose our framework to VMs running RTEval, a real-time evaluation program, and a 14-day Azure VM arrival trace. Our results show: (i) a 6.52% reduction in coefficient of variation of real-time latency over an existing workload temporal flexibility-based solution, and (ii) a joint 79.64% reduction in eviction incidents with a 34.83% increase in energy harvest over the state-of-the-art packing algorithms. We open source openstack-gc at https://github.com/tharindu-b-hewage/openstack-gc.

Paper Structure

This paper contains 21 sections, 13 equations, 14 figures, 5 tables, 1 algorithm.

Figures (14)

  • Figure 1: Renewables-driven cores in Real-Time Clouds
  • Figure 2: Comparison of real-time latency performance of a two-core Harvest VM (HVM) agarwal2023slackshed over different physical CPU core allocations.
  • Figure 3: Use case: understanding the effect of load matching with evictions via application-level reconfiguration. 5G network slicing prototype of open source NFV Management and Orchestration (MANO) with OpenStack as the virtualized infrastructure provider (i.e. real-time cloud provider). MANO’s auto-healing feature facilitates application-level reconfiguration over VM failures etsiosm2020autoheal.
  • Figure 4: A high-level system model of the proposed carbon-aware real-time cloud. We highlight components with our contributions in green.
  • Figure 5: CPU power as cores awake in Renewables-driven cores: measured with an Intel Xeon Silver CPU where core power states are: i) Sleep$\equiv$ sleep state of C6, ii) Active$\equiv$ sleep state of $POLL$, and iii) Pinned$\equiv$ pinned with 100% utilization
  • ...and 9 more figures