Sustainable Computing

Carbon-aware scheduling, cloud decarbonization, and the tradeoffs between carbon, energy, and cost

The rapid growth of cloud and edge computing is driving a sharp rise in data center energy consumption and carbon emissions. My research develops systems and algorithms that make cloud, edge, and residential computing more carbon-efficient by shifting flexible workloads to times and places of low-carbon electricity, while carefully managing the resulting tradeoffs with cost, energy, and performance.


Carbon-Aware Scheduling and Scaling

A key insight behind carbon-aware computing is that the carbon intensity of the electrical grid varies significantly over time and space. By deferring or migrating flexible workloads to windows of cleaner electricity, we can reduce operational carbon emissions with little or no impact on job completion time.

CarbonScaler (Hanafy et al., 2024) leverages cloud workload elasticity (scaling workloads up or down) to run computation during low-carbon periods. Rather than treating carbon as a separate objective, CarbonScaler integrates carbon signals directly into the auto-scaling loop, achieving Best Student Paper at ACM SIGMETRICS 2024.

CarbonScaler scales cloud resources in response to grid carbon intensity, running more work during clean energy periods.

CarbonFlex (Hanafy et al., 2025) extends this to cluster-level provisioning, enabling carbon-aware scheduling across heterogeneous workloads and multi-tenant cloud environments.


Carbon–Cost–Energy Tradeoffs

Reducing carbon is not free, as shifting computation in time or space can increase monetary cost or energy use. Understanding and managing these tradeoffs is central to practical decarbonization.

GAIA (Hanafy et al., 2024) formalizes the cost of carbon reduction in the cloud and develops optimization strategies that minimize carbon subject to a cost budget. Published at ASPLOS 2024, GAIA shows that significant carbon reductions are achievable with modest cost increases.

Untangling the Carbon–Cost Tradeoffs (Hanafy et al., 2026) further examines the “stampede effect” when many workloads simultaneously shift to the same low-carbon window, causing resource contention that undermines both cost and carbon goals.

Left: the three-way tradeoff between carbon, cost, and energy in cloud scheduling. Right: the stampede effect, where simultaneous carbon-aware shifts cause congestion and erode savings.

The War of the Efficiencies (Hanafy et al., 2024) shows that carbon-optimal and energy-optimal schedules are often in conflict, where optimizing one can significantly worsen the other, with important implications for how data centers should report and optimize their environmental impact.


Spatial Shifting and Edge Decarbonization

Beyond temporal shifting, workloads can also be migrated spatially by routing computation to geographic regions with cleaner grids.

CarbonEdge (Wu et al., 2025) exploits mesoscale spatial variations in carbon intensity across edge computing sites to reduce the carbon footprint of edge inference and data processing.

CDN-Shifter (Murillo et al., 2024) applies spatial shifting to content delivery networks, redistributing traffic across CDN nodes to favor low-carbon regions, reducing emissions at internet scale.

Spatial shifting routes workloads toward geographic regions with lower-carbon electricity grids, complementing temporal shifting strategies.

Beyond the Data Center

Carbon-aware principles extend to residential energy and other societal infrastructure.

GreenThrift (Bovornkeeratiroj et al., 2025) optimizes scheduling of flexible residential loads (EVs, HVAC, appliances) to minimize both carbon emissions and electricity costs, bridging the gap between grid-scale decarbonization and individual households.

A broader vision for Computational Decarbonization (Irwin et al., 2025) articulates how computing systems, from data centers to mobile devices, can be redesigned to actively reduce the carbon footprint of societal infrastructure.

References

2026

  1. IEEE Transactions on Computers
    waiting_cost_flipped.jpg
    Untangling the Carbon-Cost Tradeoffs and Stampede Effect Challenges in Cloud Computing
    Walid A. Hanafy, Thanathorn Sukprasert, Abel Souza, and 2 more authors
    IEEE Transactions on Computers, 2026

2025

  1. Arxiv
    CarbonFlex: Enabling Carbon-aware Provisioning and Scheduling for Cloud Clusters
    Walid A. Hanafy, Li Wu, David Irwin, and 1 more author
    2025
  2. HPDC
    HPDC25.jpg
    CarbonEdge: Leveraging Mesoscale Spatial Carbon-Intensity Variations for Low Carbon Edge Computing
    Li Wu, Walid A. Hanafy, Abel Souza, and 5 more authors
    In Proceedings of the 34th International Symposium on High-Performance Parallel and Distributed Computing (HPDC ’25), 2025
  3. JCSS
    GreenThrift: Optimizing Carbon and Cost for Flexible Residential Loads
    Phuthipong Bovornkeeratiroj, Walid A. Hanafy, David Irwin, and 1 more author
    ACM Journal on Computing and Sustainable Societies, Mar 2025
    Presented in COMPASS 2025
  4. IEEE Internet Computing
    A Vision for Computational Decarbonization of Societal Infrastructure
    David Irwin, Prashant Shenoy, Mohammad Hajiesmaili, and 14 more authors
    IEEE Internet Computing, Mar 2025

2024

  1. SIGMETRICS
    SIGMETRICS24.jpg
    🏆 CarbonScaler: Leveraging Cloud Workload Elasticity for Optimizing Carbon-Efficiency
    Walid A. Hanafy, Qianlin Liang, Noman Bashir, and 2 more authors
    SIGMETRICS Performance Evaluation Review, Jun 2024
  2. ASPLOS
    ASPLOS24.jpg
    Going Green for Less Green: Optimizing the Cost of Reducing Cloud Carbon Emissions
    Walid A. Hanafy, Qianlin Liang, Noman Bashir, and 3 more authors
    In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, La Jolla, CA, USA, Jun 2024
  3. HotCarbon
    The War of the Efficiencies: Understanding the Tension between Carbon and Energy Optimization
    Walid A. Hanafy, Roozbeh Bostandoost, Noman Bashir, and 3 more authors
    ACM SIGEnergy Energy Informatics Review, Sep 2024
    Presented in HotCarbon’23
  4. SoCC
    CDN-Shifter: Leveraging Spatial Workload Shifting to Decarbonize Content Delivery Networks
    Jorge Murillo, Walid A. Hanafy, David Irwin, and 2 more authors
    In Proceedings of the 2024 ACM Symposium on Cloud Computing, Redmond, WA, USA, Sep 2024