<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>greencomputing &amp;mdash; Compute.Bio</title>
    <link>https://blog.compute.bio/tag:greencomputing</link>
    <description>Compute.Bio a blog about bioinformatics tools and pipelines</description>
    <pubDate>Tue, 01 Dec 2026 22:39:19 +0800</pubDate>
    <item>
      <title>Same job, same machine, 30% more CO₂. It only started four hours later.</title>
      <link>https://blog.compute.bio/same-job-same-machine-30-more-co2</link>
      <description>&lt;![CDATA[Most of us who run bioinformatics pipelines think about a job&#39;s cost in two ways: how long it takes, and how much the cloud bill will be. I&#39;ve been staring at a third number lately, the grams of CO₂ a run puts into the atmosphere, and it behaves in a way I didn&#39;t expect.&#xA;&#xA;It isn&#39;t fixed. *The same workflow, with the same data, on the same hardware, can emit noticeably more or less depending on when you press start.&#xA;&#xA;This post shows where carbon-aware scheduling stands in app.compute.bio right now. It&#39;s a work in progress, but even at this early stage it brings useful tools.&#xA;&#xA;The grid has weather&#xA;&#xA;Electricity isn&#39;t equally &#34;dirty&#34; everywhere or all the time. When the wind blows in Denmark, a kilowatt-hour is mostly wind. When it drops, gas and imports fill the gap and every kWh carries more carbon.&#xA;People measure this as carbon intensity, in grams of CO₂-equivalent per kWh (gCO₂eq/kWh).&#xA;&#xA;app.compute.bio has a panel that plots this for the grid zones where the user has registered computing resources, with history on the left and a forecast on the right:&#xA;&#xA;img src=&#34;https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/towardagreensmartschedule/img/co2eqhistoricalandforectastnov2026.png&#34; width=&#34;600&#34; alt=&#34;Carbon intensity history and forecast for Germany/Luxembourg, France and Denmark East, late November 2026&#34;&#xA;&#xA;The data are computing from the ENTSO-e transparency platform.&#xA;Take noon on November 27. At the same moment, a kWh cost:&#xA;&#xA;374 g in Germany (where I run analyses at the DKFZ),&#xA;108 g in eastern Denmark, DK2 (my current location),&#xA;88 g in France (where I run workflows on the Scaleway cloud).&#xA;&#xA;That&#39;s more than a fourfold difference between neighbours on one shared European grid. Look at the orange line too. Denmark East isn&#39;t just cleaner on average, it&#39;s jumpy: it can more than double within a few hours. France (mostly nuclear) is flat and boring, which is great if you want predictability. Germany is high and drifts.&#xA;&#xA;So there are two choices to make: where you run, and, if your grid is a jumpy one, when.&#xA;&#xA;Putting a real run on the curve&#xA;&#xA;Knowing the grid&#39;s intensity is only half the story. You also need to know how much power your job draws, and when. A pipeline isn&#39;t a flat load. It has long quiet stretches and short, hungry bursts.&#xA;Ultimately, a pipeline is a set of steps, each depending on the output of previous ones, so in theory a pipeline could be decomposed, moving the steps predicted to cause energy bursts into a lower-intensity window.&#xA;&#xA;So I built a second view: &#34;Plan a run on this grid.&#34; You pick a finished run and it draws that run&#39;s power profile.&#xA;&#xA;Here is a test run from the aligner benchmark I&#39;ve been working on. I needed to run a few new steps to extract stats from BAM files for further QC.&#xA;&#xA;img width=450 align=center src=&#34;https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/towardagreensmartschedule/img/addedstepsworkflowoverview.png&#34; alt=&#34;A small addition to my last run&#34;&#xA;&#xA;In total it took 13 h 15 min, and started at 01:39 early on Friday morning. I scheduled the last part of the workflow (an array of bcftools jobs over multiple BAM files) to start before noon, given the curve for DK2 we&#39;ve seen above (plot below, the shaded y-axis: right watts, left the zone&#39;s carbon intensity):&#xA;&#xA;img src=&#34;https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/towardagreensmartschedule/img/postrunenergyusage.png&#34; width=&#34;600&#34; alt=&#34;The run as it actually happened: 26.4 gCO₂&#34;&#xA;&#xA;Estimated emissions: 26.4 gCO₂.&#xA;&#xA;You can see the shape of the workflow: a long low-power stretch through the early morning, then a sharp spike around midday when I planned to start the second part of the workflow, then a small tail (the last step was gathering and plotting).&#xA;&#xA;Now slide it four hours&#xA;&#xA;I know, the slider is not much yet, but before I can integrate the concept with the scheduler I first need to be able to play with it.&#xA;Drag the run to a different start time, in the past or into the forecast, and the tool recomputes what it would have emitted.&#xA;&#xA;Same run, started at 05:45 instead of 01:39:&#xA;&#xA;img src=&#34;https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/towardagreensmartschedule/img/shiftingpostrunenergy_usage.png&#34; width=&#34;600&#34; alt=&#34;The same run shifted ~4 hours later: 34.2 gCO₂, +30%&#34;&#xA;&#xA;34.2 gCO₂. That&#39;s 30% more, for an identical piece of work.&#xA;&#xA;What surprised me is why. My instinct was to watch the big power spike. But in this case the damage comes mostly from the long, quiet stretch. Shifted later, it lands right on the morning peak in Danish carbon intensity (the line climbs from roughly 50 to almost 190 g between 06:00 and 09:00). A small power draw times a long time times a bad hour adds up.&#xA;Coincidentally this time I couldn&#39;t reduce the emissions in any configuration of the slider since for few days after the run the wind dropped considerably under the Danish average.&#xA;&#xA;Lesson: for carbon, the duration of a phase can matter as much as its peak.&#xA;&#xA;Let&#39;s be honest about the numbers&#xA;&#xA;A few caveats, because I don&#39;t want this to read as more than it is:&#xA;&#xA;This is an estimate, not a measurement. I don&#39;t have a power meter on the node. Power is derived from each step&#39;s average CPU and memory use (calibrated once with RAPL, with the value saved in the config), then multiplied by the grid intensity at that time.&#xA;The forecast changes. Moving a run into the future uses predicted intensity, which gets revised as the hour approaches.&#xA;The absolute numbers are small. This is one test sample. The interesting part is the relative difference between start times, which is exactly what the tool is meant for: comparing options, not doing carbon accounting.&#xA;&#xA;Still, a 30% swing from nothing more than a start time is not noise. Scale it up to a cohort of whole genomes and it becomes something you&#39;d want to plan for. Of course other issues arise: a small cluster doesn&#39;t have infinite capacity to run everyone&#39;s jobs in a CO₂ intensity valley.&#xA;&#xA;Where this is going&#xA;&#xA;Right now this is a planning tool. You look, you plan, you run; the slider is just a toy to combine the power and the intensity. The obvious next step is to let the scheduler do the sliding: you say &#34;this needs to be done by Monday morning&#34;, and app.compute.bio picks the cleanest window (and maybe the cleanest zone) that still meets the deadline.&#xA;There&#39;s already a &#34;Cleanest window for each&#34; button in that panel, which is the first small step in that direction.&#xA;&#xA;But before this is possible, I have to test and improve the predictive models that train on past runs. They need to learn the resource usage of each step and predict the input/output sizes of each step of a pipeline, so that the model can estimate everything from the analysis type and the initial input size.&#xA;&#xA;This is part of the road to Bio-Pype 2.1. If you run genomics or transcriptomics workloads and have opinions about this, I&#39;d really like to hear them: what would make you actually use* a carbon-aware scheduler? A deadline? A budget?&#xA;A default you can opt out of?&#xA;&#xA;Reply via the fediverse (this blog is @frafav@blog.compute.bio) or find me at @frafav@genomic.social.&#xA;&#xA;#BioPype #bioinformatics #GreenComputing #CarbonAware #genomics #computebio]]&gt;</description>
      <content:encoded><![CDATA[<p>Most of us who run bioinformatics pipelines think about a job&#39;s cost in two ways: how long it takes, and how much the cloud bill will be. I&#39;ve been staring at a third number lately, the grams of CO₂ a run puts into the atmosphere, and it behaves in a way I didn&#39;t expect.</p>

<p>It isn&#39;t fixed. <strong>The same workflow, with the same data, on the same hardware, can emit noticeably more or less depending on <em>when</em> you press start.</strong></p>

<p>This post shows where carbon-aware scheduling stands in app.compute.bio right now. It&#39;s a work in progress, but even at this early stage it brings useful tools.</p>

<h2 id="the-grid-has-weather">The grid has weather</h2>

<p>Electricity isn&#39;t equally “dirty” everywhere or all the time. When the wind blows in Denmark, a kilowatt-hour is mostly wind. When it drops, gas and imports fill the gap and every kWh carries more carbon.
People measure this as <em>carbon intensity</em>, in grams of CO₂-equivalent per kWh (gCO₂eq/kWh).</p>

<p>app.compute.bio has a panel that plots this for the grid zones where the user has registered computing resources, with history on the left and a forecast on the right:</p>

<p><img src="https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/toward_a_green_smart_schedule/img/co2eq_historical_and_forectast_nov_2026.png" width="600" alt="Carbon intensity history and forecast for Germany/Luxembourg, France and Denmark East, late November 2026"></p>

<p>The data are computing from the <a href="https://transparency.entsoe.eu">ENTSO-e transparency platform</a>.
Take noon on November 27. At the same moment, a kWh cost:</p>
<ul><li><strong>374 g</strong> in Germany (where I run analyses at the DKFZ),</li>
<li><strong>108 g</strong> in eastern Denmark, DK2 (my current location),</li>
<li><strong>88 g</strong> in France (where I run workflows on the Scaleway cloud).</li></ul>

<p>That&#39;s more than a fourfold difference between neighbours on one shared European grid. Look at the orange line too. Denmark East isn&#39;t just cleaner on average, it&#39;s <em>jumpy</em>: it can more than double within a few hours. France (mostly nuclear) is flat and boring, which is great if you want predictability. Germany is high and drifts.</p>

<p>So there are two choices to make: <em>where</em> you run, and, if your grid is a jumpy one, <em>when</em>.</p>

<h2 id="putting-a-real-run-on-the-curve">Putting a real run on the curve</h2>

<p>Knowing the grid&#39;s intensity is only half the story. You also need to know how much power your job draws, and when. A pipeline isn&#39;t a flat load. It has long quiet stretches and short, hungry bursts.
Ultimately, a pipeline is a set of steps, each depending on the output of previous ones, so in theory a pipeline could be decomposed, moving the steps predicted to cause energy bursts into a lower-intensity window.</p>

<p>So I built a second view: <strong>“Plan a run on this grid.”</strong> You pick a finished run and it draws that run&#39;s power profile.</p>

<p>Here is a test run from the aligner benchmark I&#39;ve been working on. I needed to run a few new steps to extract stats from BAM files for further QC.</p>

<p><img width="450" src="https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/toward_a_green_smart_schedule/img/added_steps_workflow_overview.png" alt="A small addition to my last run"></p>

<p>In total it took 13 h 15 min, and started at 01:39 early on Friday morning. I scheduled the last part of the workflow (an array of bcftools jobs over multiple BAM files) to start before noon, given the curve for DK2 we&#39;ve seen above (plot below, the shaded y-axis: right watts, left the zone&#39;s carbon intensity):</p>

<p><img src="https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/toward_a_green_smart_schedule/img/post_run_energy_usage.png" width="600" alt="The run as it actually happened: 26.4 gCO₂"></p>

<p>Estimated emissions: <strong>26.4 gCO₂</strong>.</p>

<p>You can see the shape of the workflow: a long low-power stretch through the early morning, then a sharp spike around midday when I planned to start the second part of the workflow, then a small tail (the last step was gathering and plotting).</p>

<h2 id="now-slide-it-four-hours">Now slide it four hours</h2>

<p>I know, the slider is not much yet, but before I can integrate the concept with the scheduler I first need to be able to play with it.
Drag the run to a different start time, in the past or into the forecast, and the tool recomputes what it <em>would</em> have emitted.</p>

<p>Same run, started at 05:45 instead of 01:39:</p>

<p><img src="https://raw.githubusercontent.com/compute-bio/blog/refs/heads/main/toward_a_green_smart_schedule/img/shifting_post_run_energy_usage.png" width="600" alt="The same run shifted ~4 hours later: 34.2 gCO₂, +30%"></p>

<p><strong>34.2 gCO₂. That&#39;s 30% more</strong>, for an identical piece of work.</p>

<p>What surprised me is <em>why</em>. My instinct was to watch the big power spike. But in this case the damage comes mostly from the long, quiet stretch. Shifted later, it lands right on the morning peak in Danish carbon intensity (the line climbs from roughly 50 to almost 190 g between 06:00 and 09:00). A small power draw times a long time times a bad hour adds up.
Coincidentally this time I couldn&#39;t reduce the emissions in any configuration of the slider since for few days after the run the wind dropped considerably under the Danish average.</p>

<p>Lesson: for carbon, the <em>duration</em> of a phase can matter as much as its peak.</p>

<h2 id="let-s-be-honest-about-the-numbers">Let&#39;s be honest about the numbers</h2>

<p>A few caveats, because I don&#39;t want this to read as more than it is:</p>
<ul><li><strong>This is an estimate, not a measurement.</strong> I don&#39;t have a power meter on the node. Power is derived from each step&#39;s average CPU and memory use (calibrated once with RAPL, with the value saved in the config), then multiplied by the grid intensity at that time.</li>
<li><strong>The forecast changes.</strong> Moving a run into the future uses predicted intensity, which gets revised as the hour approaches.</li>
<li><strong>The absolute numbers are small.</strong> This is one test sample. The interesting part is the <em>relative</em> difference between start times, which is exactly what the tool is meant for: comparing options, not doing carbon accounting.</li></ul>

<p>Still, a 30% swing from nothing more than a start time is not noise. Scale it up to a cohort of whole genomes and it becomes something you&#39;d want to plan for. Of course other issues arise: a small cluster doesn&#39;t have infinite capacity to run everyone&#39;s jobs in a CO₂ intensity valley.</p>

<h2 id="where-this-is-going">Where this is going</h2>

<p>Right now this is a <em>planning</em> tool. You look, you plan, you run; the slider is just a toy to combine the power and the intensity. The obvious next step is to let the scheduler do the sliding: you say “this needs to be done by Monday morning”, and app.compute.bio picks the cleanest window (and maybe the cleanest zone) that still meets the deadline.
There&#39;s already a <strong>“Cleanest window for each”</strong> button in that panel, which is the first small step in that direction.</p>

<p>But before this is possible, I have to test and improve the predictive models that train on past runs. They need to learn the resource usage of each step and predict the input/output sizes of each step of a pipeline, so that the model can estimate everything from the analysis type and the initial input size.</p>

<p>This is part of the road to Bio-Pype 2.1. If you run genomics or transcriptomics workloads and have opinions about this, I&#39;d really like to hear them: what would make you actually <em>use</em> a carbon-aware scheduler? A deadline? A budget?
A default you can opt out of?</p>

<p>Reply via the fediverse (this blog is <a href="https://blog.compute.bio/@/frafav@blog.compute.bio" class="u-url mention">@<span>frafav@blog.compute.bio</span></a>) or find me at <a href="https://blog.compute.bio/@/frafav@genomic.social" class="u-url mention">@<span>frafav@genomic.social</span></a>.</p>

<p><a href="https://blog.compute.bio/tag:BioPype" class="hashtag"><span>#</span><span class="p-category">BioPype</span></a> <a href="https://blog.compute.bio/tag:bioinformatics" class="hashtag"><span>#</span><span class="p-category">bioinformatics</span></a> <a href="https://blog.compute.bio/tag:GreenComputing" class="hashtag"><span>#</span><span class="p-category">GreenComputing</span></a> <a href="https://blog.compute.bio/tag:CarbonAware" class="hashtag"><span>#</span><span class="p-category">CarbonAware</span></a> <a href="https://blog.compute.bio/tag:genomics" class="hashtag"><span>#</span><span class="p-category">genomics</span></a> <a href="https://blog.compute.bio/tag:computebio" class="hashtag"><span>#</span><span class="p-category">computebio</span></a></p>
]]></content:encoded>
      <guid>https://blog.compute.bio/same-job-same-machine-30-more-co2</guid>
      <pubDate>Tue, 01 Dec 2026 13:11:03 +0000</pubDate>
    </item>
    <item>
      <title>Hello world from Compute.Bio</title>
      <link>https://blog.compute.bio/hello-world-from-compute-bio</link>
      <description>&lt;![CDATA[This is the first post on the Compute.Bio blog.&#xA;&#xA;  img class=&#34;logo-b&#34; width=&#34;100&#34; alt=&#34;Compute.Bio&#34; src=&#34;https://compute.bio/logob.svg&#34;img class=&#34;logo-w&#34; width=&#34;100&#34; alt=&#34;Compute.Bio&#34; src=&#34;https://compute.bio/logow.svg&#34;&#xA;  Compute.Bio is built on Bio-Pype&#xA;&#xA;    img width=&#34;100&#34; src=&#34;https://bio-pype.readthedocs.io/en/pype2/static/biopype_logo.svg&#34; /&#xA;    Bio-Pype is an open-source framework for bioinformatics pipelines.&#xA;&#xA;The idea is simple: run your pipelines on your HPC cluster or in the cloud, and follow and control them from anywhere. Your data stays where you already work, and only the logs are sent to Compute.Bio.&#xA;&#xA;If you want, it can also learn what each step really costs in time, memory and energy. Over time it predicts the right resources for each job from its input size, so you get fewer out-of-memory failures and less overbooking.&#xA;&#xA;Later on, this could grow into a smart scheduler that moves heavy steps into low-carbon windows. For now, you can see the carbon cost after a run.&#xA;&#xA;The app is live and still young. Here I’ll write about how it’s built and how to use it, along with notes from real analyses.&#xA;&#xA;#introduction #bioinformatics #OpenSource #HPC #GreenComputing #biopype #computebio]]&gt;</description>
      <content:encoded><![CDATA[<p>This is the first post on the Compute.Bio blog.</p>

<blockquote><p><img class="logo-b" width="100" alt="Compute.Bio" src="https://compute.bio/logo_b.svg"><img class="logo-w" width="100" alt="Compute.Bio" src="https://compute.bio/logo_w.svg">
 <a href="https://compute.bio">Compute.Bio</a> is built on Bio-Pype</p>

<blockquote><p>  <img width="100" src="https://bio-pype.readthedocs.io/en/pype2/_static/bio_pype_logo.svg"/>
 <a href="https://codeberg.org/bio-pype/bio-pype">Bio-Pype</a> is an open-source framework for bioinformatics pipelines.</p></blockquote>
</blockquote>

<p>The idea is simple: run your pipelines on your HPC cluster or in the cloud, and follow and control them from anywhere. Your data stays where you already work, and only the logs are sent to Compute.Bio.</p>

<p>If you want, it can also learn what each step really costs in time, memory and energy. Over time it predicts the right resources for each job from its input size, so you get fewer out-of-memory failures and less overbooking.</p>

<p>Later on, this could grow into a smart scheduler that moves heavy steps into low-carbon windows. For now, you can see the carbon cost after a run.</p>

<p>The app is live and still young. Here I’ll write about how it’s built and how to use it, along with notes from real analyses.</p>

<p><a href="https://blog.compute.bio/tag:introduction" class="hashtag"><span>#</span><span class="p-category">introduction</span></a> <a href="https://blog.compute.bio/tag:bioinformatics" class="hashtag"><span>#</span><span class="p-category">bioinformatics</span></a> <a href="https://blog.compute.bio/tag:OpenSource" class="hashtag"><span>#</span><span class="p-category">OpenSource</span></a> <a href="https://blog.compute.bio/tag:HPC" class="hashtag"><span>#</span><span class="p-category">HPC</span></a> <a href="https://blog.compute.bio/tag:GreenComputing" class="hashtag"><span>#</span><span class="p-category">GreenComputing</span></a> <a href="https://blog.compute.bio/tag:biopype" class="hashtag"><span>#</span><span class="p-category">biopype</span></a> <a href="https://blog.compute.bio/tag:computebio" class="hashtag"><span>#</span><span class="p-category">computebio</span></a></p>
]]></content:encoded>
      <guid>https://blog.compute.bio/hello-world-from-compute-bio</guid>
      <pubDate>Sat, 14 Nov 2026 02:00:45 +0000</pubDate>
    </item>
  </channel>
</rss>