Tech Tip #24: Run flexible jobs when the grid is cleaner

The same job can cost less carbon at a different hour.

Video created by explainapaper.com

The problem

Batch jobs, backups, CI and model retraining run at fixed times chosen years ago, regardless of how clean the electricity is.

The fix you can use today

  • Find jobs that can wait a few hours.
  • Schedule them against a carbon-intensity forecast (Great Britain's forecasts run more than 96 hours ahead).
  • Keep deadlines and SLAs as hard limits.

The Green Software Foundation suggests running flexible jobs when the grid is cleaner. GreenCode draws on these patterns when it checks software.

Tools that help

  • GreenCode Constitution skill (GreenCode researchers): open-source energy principles and a catalogue of 37 energy anti-patterns that an AI coding agent can follow to find and fix waste like this
  • Carbon Aware SDK (Green Software Foundation): an API and CLI for grid carbon-intensity data, so flexible work can move to cleaner times or places
  • Carbon Intensity API: regional carbon-intensity forecasts for Great Britain, more than 96 hours ahead

How GreenCode helps

GreenCode helps tackle this by holding its own heavy AI jobs for cleaner power. It also keeps its AI lean, with small fine-tuned models, retrieval so a model reads only what it needs, and each request routed to the smallest capable component. More on this.

Tags

#carbon-aware#scheduling#ci-cd

Sources

Transcript

The same job can cost less carbon at a different hour. Backups, test runs and model training often run at fixed times. Those times were often chosen years ago. They ignore how clean the electricity is right now. But the grid's carbon changes by the hour, and by region. Here is the fix you can use today. Find the jobs that can wait a few hours. Schedule them against a carbon forecast for your grid. In Great Britain, forecasts run more than ninety-six hours ahead. Keep your deadlines and service promises as hard limits. Emissions fall, with little effect on users. The Green Software Foundation suggests running flexible jobs when the grid is cleaner. GreenCode draws on these patterns when it checks software. GreenCode's Constitution skill can help an AI coding agent find waste like this. Then time the jobs using tools like the Carbon Aware SDK and Carbon Intensity API. GreenCode helps tackle this by holding its own heavy AI jobs for cleaner power. It also keeps its AI lean, with small models reading only what they need. That was GreenCode Tech Tip number twenty-four. Follow for the next tip, and find more on greencode.ai/tech-tips.

All GreenCode Tech Tips · All GreenCode videos

  • Tip #24
  • For Ops and infrastructure
  • Length 1:15
  • Category Cloud and infrastructure
GreenCode

Want this checked on your own system? Talk to the GreenCode team.

Get in touch