<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>If you bill it, they will pay: Energy consumption in the cloud will be irrelevant until directly billed for</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Abram Hindle Department of Computing Science University of Alberta</institution>
          ,
          <addr-line>Edmonton</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>-Don't leave the lights on! One reason we take energy consumption seriously is because we are directly billed for it. If one leaves the heat on high over night the effect is noticeable on the next bill. Yet as granular as cloud computing billing can be in terms of resources and quality of service, we have limited motivation to investigate energy consumption in the cloud because cloud customers cannot necessarily realize savings. Proxies for quality of service such as lower performance CPU allocations can be used but at no point does a user see a bill listing energy consumption. Furthermore the difficulty in billing energy consumption of virtualized services is non-trivial and indirect. When many VMs share the same host, attribution of energy consumption becomes difficult. When many hosts are in the same datacenter attribution of cooling costs become difficult as well. Thus due to the direct and indirect costs of running a cloud, and the sharing of resourcing pricing cloud energy consumption is difficult and typically not done. We argue that until energy consumption of hosted computers, VMs, and cloud services is pushed down from the cloud provider to the cloud consumer, datacenters will continue to consume massive amounts of energy to provide software services. When cloud end-users have to pay for energy consumption they will consider optimizing energy consumption. Once energy consumption in the cloud is a bill line item, energy consumption will become a first class performance non-functional requirement of software.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>I. INTRODUCTION</title>
      <p>We propose a lightning talk to be delivered within 5 to 10
minutes at RE4SUSY 2018. The lightning talk will cover the
topic of lack of demand for software sustainability features
until cloud services start billing for energy consumption.</p>
      <p>During a discussion with some unnamed industry partners
we asked about energy consumption, they responded that
they were concerned, but until they could put a price on
energy consumption of their software systems, they were
going to ignore it. Why bother to optimize or even plan
for energy consumption when you had immediate pressing
concerns from requirements and non-functional requirement
alike including features, stability, reliability, and cost of cloud
services. Typically cost of cloud services already includes
energy consumption and it is not a line item—thus optimizing
for energy consumption does not have a clearly observable
effect on the cost. Without insight into, feedback about, or the
cost pressure of energy consumption, it will not be optimized
for or even requested for from customers.</p>
      <p>
        Energy consumption of software systems and services is a
grave concern as data-centers now account for a significant
portion of the worldwide energy consumption (2-3% [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]).
Even office computers are blamed for city-sized levels of
energy consumption [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Yet mobile energy consumption
is not significant environmental sustainability issue [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The
chemicals used in batteries are a concern but the joules used
on mobile devices pale in the comparison to the joules of an
idle server in a datacenter being cooled by air conditioning.
Thus server-side software energy consumption is one of the
biggest sustainability concerns of software.
      </p>
      <p>Cloud providers face tough decisions regarding energy
consumption as elasticity and availability are buffered by the
high cost of idle machines in the datacenter. High utilization is
a goal, achieved by slicing servers up into VMs and containers.
Yet high utilization has many other costs, heat, maintenance,
energy, poorer per VM performance, are just a few. Heat
requires further cooling thus consuming even more energy.</p>
      <p>
        While it is easy to slice up the resources of a server and
add it to a cloud, it is hard to attribute energy consumption
to each particular VM, container, or service on a cloud
server, although there is much research in the area [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Performance counters are the simplest method of performance
monitoring yet they do not work for counting energy consumed
by cloud services. Cloud services therefore will need to
leverage performance counters to suggest or estimate the actual
energy consumption in the cloud. Furthermore knowledge
of the global data-center will be required to understand the
externalities of the energy consumption of computation.
      </p>
      <p>We argue that nothing will motivate cloud end-users to
optimize for such an invisible externality until it becomes
a reality on their cloud services bill! Until the motivation
for sustainability can be expressed monetarily on a bill for
services, there will be few requirements communicated from
customers to address software energy consumption of their
cloud services. Given the current trend in cloud billing where
giants such as Amazon rate CPU time and even engage in CPU
credit systems with fine granularity there is likely pressure
to bundle the cost of the externalities of a data-center into
the cloud costs as well. The closer the customer can get to
paying for exactly what they using the easier both parties can
plan and expand. Thus we argue there is pressure on the part
of cloud providers such as Amazon, Microsoft, and Google,
to ensure that they can push all of their costs to the
enduser proportionally. The value in not direct billing is that the
customer assumes it is accounted for, but what the customer
cannot see or measure, they will not optimize for. A customer
who uses non-optimal instance VMs has no incentive to avoid
this behaviour—for example low memory VMs coupled high
numbers of CPU cores waste memory as they deny the unused
memory to other VM instances who cannot be scheduled to
that machine until the cores are freed up.</p>
      <p>We argue that the incentives for sustainability should be, and
eventually will be, pushed down to the cloud-service end-user.
Until that point, few will prematurely optimize for energy, and
sustainability when they can directly optimize for other costs.</p>
    </sec>
    <sec id="sec-2">
      <title>II. DIRE NEED</title>
      <p>
        Energy consumption can come at a high cost, Song et
al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] show that 40% of the energy cost of a server is in
cooling that server, which means for a small server running at
300W for 5 years, not only would nearly $1000 USD be spent
powering the server—given the US average rate of 0.0733 per
kWh [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] (:3kW 24h 365d 5y $0:0733) —but $600 USD
would be spent cooling that same server. The externalities of
data center cooling are such a concern that Microsoft has
experimented/marketed with underwater datacenters [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] that
use the ocean as a giant heat-sink.
      </p>
      <p>
        As data-centers are prone to deploy near where people
actually live—in order to reduce latency—they often prone
to rely on energy produced in the local area—for instance
in Edmonton, Alberta much energy is provided by coal fired
power plants which have signficant environmental and health
impacts. Often this energy has significant carbon emissions
and thus data-centers energy will also be taxed accordingly
with carbon-taxes. We argue that much like carbon-taxes,
enduser billing of software energy consumption will promote
reduced energy consumption or at least sustainable energy
consumption much like economic models of carbon tax predict
will happen with emissions and emission producers [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>III. POSSIBLE EFFECTS</title>
      <p>
        If end-user billing of software energy consumption of cloud
services became possible then those hosting services would
have another dimension of performance to optimize for. Many
other researchers have argued that users might be willing to
trade off one concern to improve a performance concern such
as network bandwidth or energy consumption [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].For
instance Zhang et al. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] propose ranking and comparing
applications based on energy consumption a system they call
software application energy consumption ratings (SAECR)/Green
Star—like Energy Star [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). Thus system operators might
care about the performance rankings of server-side software
if they were being billed for sustainability concerns such as
energy consumption. If system operators are choosing software
packages and services for their sustainability footprint then
there will be significant pressure on software developers to
address energy consumption as a first class non-functional
requirement in their software systems.
      </p>
    </sec>
    <sec id="sec-4">
      <title>IV. CONCLUSION</title>
      <p>
        Thus we have argued for the need for software energy
consumption billing in cloud computing services—we believe
it is inevitable as price and quality of service is a constant
concern and competitive for cloud services. We believe that the
advent of itemized billing for energy and other sustainability
concerns will prompt cloud-services end-users to care and
optimize for energy consumption concerns. Conversely, as
Knuth stated, “pre-mature optimization is the root of all
evil” [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], cloud-service end-users will not optimize for what
they cannot measure or see.
      </p>
      <p>
        Cloud providers will have to convince users to adopt a
billing scheme based on energy consumption estimation as
it cannot be measured directly. Direct measurement is not a
large barrier as the governments of world propose taxation
and incentivization strategies to address sustainability issues
and many unmeasurable externalities. It is unlikely that
private service providers cannot enact what governments have
successfully deployed [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>Cloud providers should bill customers directly in order to
motivate requirements of sustainability and foster further
innovation in software requirements and software design relevant
to software energy consumption and sustainability.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>T.</given-names>
            <surname>Bawden</surname>
          </string-name>
          , “
          <article-title>Global warming: Data centres to consume three times as much energy in next decade, experts warn,” in Independent (Newspaper)</article-title>
          .
          <source>Independent</source>
          ,
          <year>2016</year>
          , https://www.independent.co.uk/environment/globalwarming
          <article-title>-data-centres-to-consume-three-times-as-much-energy-innext-decade-experts-warn-a6830086.html</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>US</given-names>
            <surname>Department</surname>
          </string-name>
          of Energy, “
          <article-title>How is electricity used in u</article-title>
          .s. homes?” https://www.eia.gov/tools/faqs/faq.php?id=96&amp;t=3,
          <string-name>
            <surname>Feb</surname>
          </string-name>
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.</given-names>
            <surname>Star</surname>
          </string-name>
          , “
          <article-title>Energy star: The simple choice for energy efficiency</article-title>
          ,”
          <year>2016</year>
          . [Online]. Available: https://www.energystar.gov
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Hindle</surname>
          </string-name>
          , “
          <article-title>Green software engineering: The curse of methodology,”</article-title>
          <source>in 23rd IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER</source>
          <year>2016</year>
          )
          <article-title>FOSE Track: Leaders of Tomorrow: Future Of Software Engineering</article-title>
          ,
          <year>2016</year>
          , inproceedings, pp.
          <fpage>529</fpage>
          -
          <lpage>540</lpage>
          . [Online]. Available: http://softwareprocess.ca/pubs/ hindle2016SANERFOSE-green
          <article-title>-software-engineering</article-title>
          .pdf
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Kurpicz</surname>
          </string-name>
          , A.-C.
          <article-title>Orgerie, and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Sobe</surname>
          </string-name>
          , “
          <article-title>How much does a VM cost? Energy-proportional Accounting in VM-based Environments</article-title>
          ,” in PDP: Euromicro International Conference on Parallel, Distributed, and
          <string-name>
            <surname>Network-Based</surname>
            <given-names>Processing</given-names>
          </string-name>
          , Heraklion, Greece, Feb.
          <year>2016</year>
          , p.
          <fpage>8</fpage>
          . [Online]. Available: https://hal.inria.fr/hal-01276913
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Shea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          , and J. Liu, “
          <article-title>Power consumption of virtual machines with network transactions: Measurement and improvements</article-title>
          ,” in INFOCOM,
          <source>2014 Proceedings IEEE. IEEE</source>
          ,
          <year>2014</year>
          , pp.
          <fpage>1051</fpage>
          -
          <lpage>1059</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Eriksson</surname>
          </string-name>
          , “
          <article-title>Data center energy and cost saving evaluation,” Energy Procedia</article-title>
          , vol.
          <volume>75</volume>
          , pp.
          <fpage>1255</fpage>
          -
          <lpage>1260</lpage>
          ,
          <year>2015</year>
          . [Online]. Available: http://www.sciencedirect.com/science/article/ pii/S1876610215009467
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Rareshide</surname>
          </string-name>
          , “
          <article-title>Power in the data center and its cost across the u</article-title>
          .s.” https://info.siteselectiongroup.com/blog/power
          <article-title>-in-the-data-centerand-its-costs-across-the-united-</article-title>
          <string-name>
            <surname>states</surname>
          </string-name>
          (
          <year>Accessed 2018</year>
          -
          <volume>07</volume>
          -20),
          <year>10 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cellan-Jones</surname>
          </string-name>
          , “
          <article-title>Microsoft sinks data centre off orkney</article-title>
          ,” https://www. bbc.com/news/technology-44368813,
          <year>June 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>X.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Leung</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xu</surname>
          </string-name>
          , and
          <string-name>
            <given-names>L. C. W.</given-names>
            <surname>Yung</surname>
          </string-name>
          , “
          <article-title>The effect of carbon tax on carbon emission abatement and gdp: a case study</article-title>
          ,
          <source>” Journal of Geographical Systems</source>
          , vol.
          <volume>19</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>399</fpage>
          -
          <lpage>414</lpage>
          ,
          <year>Oct 2017</year>
          . [Online]. Available: https://doi.org/10.1007/s10109-017-0254-1
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Saborido</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Khomh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hindle</surname>
          </string-name>
          , and E. Alba, “
          <article-title>An app performance optimization advisor for mobile device app marketplaces</article-title>
          ,
          <source>” Sustainable Computing</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          , May
          <year>2018</year>
          . [Online]. Available: http: //softwareprocess.ca/pubs/saborido2018SUSCOM-app-optimization.pdf
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chenlei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hindle</surname>
          </string-name>
          , , and
          <string-name>
            <given-names>D. M.</given-names>
            <surname>German</surname>
          </string-name>
          , “
          <article-title>The impact of user choice on energy consumption</article-title>
          ,
          <source>” IEEE Software</source>
          , pp.
          <fpage>69</fpage>
          -
          <lpage>75</lpage>
          ,
          <year>2014</year>
          . [Online]. Available: http://softwareprocess.ca/pubs/ zhang2014IEEESoftware
          <article-title>-user-choice</article-title>
          .pdf
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>D. E.</given-names>
            <surname>Knuth</surname>
          </string-name>
          , “
          <article-title>Structured programming with go to statements,” ACM Computing Surveys (CSUR)</article-title>
          , vol.
          <volume>6</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>261</fpage>
          -
          <lpage>301</lpage>
          ,
          <year>1974</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>