HotCarbon 2022

Metrics for Sustainability in Data Centers

Anshul Gandhi (Stony Brook University); Kanad Ghose, Kartik Gopalan (Binghamton University); Syed Rafiul Hussain (Pennsylvania State University); Dongyoon Lee (Stony Brook University); Yu David Liu (Binghamton University); Zhenhua Liu (Stony Brook University); Patrick McDaniel (Pennsylvania State University); Shuai Mu, Erez Zadok (Stony Brook University)

This transcript was made by AI. The open source speech recognition model Whisper (large-v3-turbo) transcribed the recording with faster-whisper. Names and technical terms were checked against the paper, but it can still contain mistakes. The recording is the reference.

0:00 Hello, everyone. My name is Dongyoon Lee from Stony Brook University. Today, I'm going to talk about the metrics for sustainability in data center. And this is joint work with Anshul, Zhenhua, Shuai, Erez from Stony Brook University, and Kanad, Kartik, and David from Binghamton, and Syed from Penn State, and Patrick from the University of Wisconsin. Okay. All right. Let me just repeat the main things over here. So basically, with increasing use of the, let's say, the resource intensive workload, like a big data analytics, artificial intelligence, machine learning, and cryptocurrencies, this big data center sustainability has now become a real problem now. And unfortunately, the most solutions that we have designed to actually maintain or manage the data centers and software development in particular, remain focused on the power and energy consumptions. But as we hold, as we all discussed over the throughout this today, today's talk, sustainability actually goes beyond the energy, right? So we need to consider the operational carbon emissions and embodied carbon emissions and the other other indirect costs as well, including waters and device wear and tear and so on. So, so as a very first step to actually enable this sustainable computing, we believe that the first thing that we need to do is really define the metrics. If we cannot measure it, then perhaps we can improve it, right? So today, I'm going to just talk about and basically answer this question that

1:29 what should we measure, what should we measure, right? Ideally, this sustainability metric should be holistic and comprehensive, you know, capturing not only the operational, let's say, the carbon footprint, but also the embodied carbon footprint. And at the same time, it should be granular. It should allow us to actually capture the sustainability cost at different granularity, let's say starting from the very small single job to the entire data center as well, and distributed and easy to measure and so on. But unfortunately, the existing metrics that we are playing with, we have been playing with our fall short and then actually motivate the need for the new new metrics over here, the popular power use, the efficiency, PUE. Indeed, indeed, it re-ignores the energies, like a source cleanliness information and the newer, let's say the CUE carbon use efficiency, CUE accounts for energy cleanliness, but it's not granular. We cannot actually collect the information for less each individual single job or and so on, right? So the sustainability carbon intensity SCI metric actually tracks the emissions for per, let's say the functional unit, but it ignores it, let's say the system overhead and also does not really consider, let's say the other metrics like the quality of services and so on. So we are going to talk about, and I'm going to present, you know, the couple candidate metrics that we can think of at this point. And then I'm also going to talk about the units beyond, let's say the popular, let's say the grams of the carbon dioxide equivalent. And then based on those new metrics and the units, I'm going to talk about a couple use cases and then add some closings such at the end.

3:10 All right, just to be, let's say the comprehensive and holistic, our candidate sustainability metrics are going to consider the following, let's say the factors. And for units, let's just start with the commonly used, the carbon dioxide, the equivalent unit or the COE2, CO2E, right? And the very first factor that we are going to consider is basically the operational sustainability costs that actually are going to be consumed by the equipment when we are actually providing the service at the data center level. And of course, you should include the idle energy and the delivery losses and so on. And in order to actually capture this carbon footprint or the sustainability cost more properly, we are going to consider the energy source cleanliness as well. By when we are converting the energy to the carbon footprint, we are going to consider different carbon intensity values.

4:05 Because today of the talk, we actually learned that these are indeed a varying factor, but let's assume that this is a constant for different sources of energy. For example, in order to produce one kilowatt hours of, let's say the energy from the solar sources, let's say the cars, it incurs like a 48 grams of the COE2, CO2E, let's say the units, which is only going to be 5% of the like the energies or the electricity produced by the coal. So we are going to actually consider those two different, let's say the units to actually consider to compute the energy, the carbon footprint more precisely and a more meaningful manner. And third, we are going to consider the embodied, let's say the sustainability cost that is going to be incurred during the life cycle of the equipment, starting from the productions and the delivery and so on.

5:01 And so in today's talk, I'm going to mainly focus on those three factors, but our paper actually talk about some details about the other factors that I'm listing over here. So for those of you who are interested in, please refer to the paper. Let's talk about the operational energy first. So in order to, I mean, it is very, actually, I mean, it is very critical to the capture and the measure the, the operational sustainability cost at the very fine grained level to, to drive more meaningful, let's say the data center management, let's say management, for example, job migrations, whether we actually have to, let's say the schedule the job at the one particular point over the other. So what we are actually proposing over here is we actually have to derive a very fine grained and the, like the, the sustainable metric for a job.

5:56 For example, let's say a job actually takes like a 20% of the power. Um, at the, like a host A and B and more powers on speed. What we are actually interested in is somehow track all those detailed information using some, let's say the hardware support, like a performance counters or the smart PDUs and so on. And also using some operating system support to actually find out the utilizations of these individual applications or the job. So that we can actually keep track of all these detailed information. And of course there might be some, let's say the shared, let's say the energies that we need to also account for, for example, virtualization. And there might be some uncounted, let's say the powers that we actually have equally distributed across many different jobs that we are currently running.

6:39 So once we have this kind of detailed information, what we can do is we can calculate the end to end, let's say sustainability, I mean operational sustainability costs for a particular job. For example, by just simply summing up is energy uses by across this different, let's say the data center, hardwares and networking devices and so on. And then once we calculate those energies for individual jobs, then what we can do is we can consider different, let's say the carbon intensity values from different sources of the, the energy or the electricity. For example, let's say we have 80% of electricity coming from the coal sources and the 20% coming from the solar. Then we can actually compute our carbon intensity value to be let's say 666 like this.

7:27 And then we can actually multiply those values so that we can actually compute this so-called the grams of the carbon dioxide equivalent CO2E values. And this is the going to be the operational cost that we can consider. And basically the key message over here is we really want it to be fine grained. At the same time, we want to consider this energy cleanliness information. And then let's talk about this, the embodied costs, right? So embodied costs is associated with, you know, the whole life cycle of the individual device. We've been discussing, let's say the manufacturing delivery distributions and disposals and the recycle and everything. So when we actually can, if we can somehow collect those numbers, what we can do is we can amortize those like the cost over equipment lifetime.

8:15 And also considering the uses time and the utilization of individual job so that we can indeed charge individual job. Uh, or like the data center, like a workload, um, based on its uses and the utilization and the life cycle or lifetime of this equipment. But we wanted to actually point out that when we were actually trying to collect these informations, it was very actually hard to obtain this embodied like a cost. Um, many of these, many of these informations are indeed a proprietary and indeed there are actually multiple vendors in the supply chain. And it was fairly hard to obtain. So there are actually a small number of the data sets that are publicly available. And I think many, many information has been, has been shared throughout today's Slack channels and so on as well.

9:01 And I think that is a very interesting research question. And an open question is whether we can actually use this publicly available data and then indeed exploit exploit, exploit the estimate for the old data center equipment. And I would think, expect that this will be a very interesting research question to answer. All right. So based on, let's assume that we can collect this fine grained, let's say the energy uses and the, uh, the energy source cleanliness and the, uh, the carbon intensity values very precisely. And let's say we can also even consider, uh, collect this, um, um, embodied as carbon footprint and reformation. Then what we can do is we can now start defining the metrics that we wanted to optimize for. And here are the couple of candidates that I would like to present today.

9:46 The first one is job sustainability cost. Uh, we call it as a JC, uh, JSC, which is indeed equivalent to the operational sustainability cost. So we can calculate the, the total energy, and then we can, uh, uh, we can also consider some additional energies for the coolings and so on. And the energy source cleanness, uh, information so that we can eventually collect this, let's say, uh, for example, let's say 0.2, the grams of the CO2e. Right. And the, based on this information, and then we can also consider, um, the second metrics like amortized, uh, sustainability cost. Let's say we, which we call it as ASC, which actually indeed includes the, um, the embodied, uh, embodied, uh, sustainability cost. So, uh, let's say we actually use that job for five hours and then let's the life cycle, lifetime of that equipment is, let's say five, three years.

10:38 Then we can amortize that. And what we can do is we can calculate the value and then we can eventually say that, okay, it is 0.22. So the delta between these two numbers actually captures the, the jobs responsibility for this, uh, let's say the embodied sustainability cost, which is going to be 0.02. Right. And then once we have this kind of information, now we can actually think about the optimization function. We may actually want it to optimize or joint optimize this, both the carbon, um, the footprint information or the sustainability cost and the QoS, the quality of services together. Right. So what we can do is we can now actually think about, uh, like the, the, the unit that we can collect for, let's say the, um, the given time units, because we are basically interested in so-called like a cost rate over here.

11:26 So for example, we can think about the, like the, uh, the, uh, the metrics, what we call, uh, job quality per cost rate, where we divided the QoS by, uh, the election time and the, um, the, the, the multi sustainability cost. What we can eventually get over here is something like a job is going to produce, like, can handle 900 purchases of transactions for a given time unit. Let's say for an hour and a one grams of the CO2e. And what we are actually interested in, it is maximizing this, let's say the metrics over here, or even finding out the, trying to draw some Pareto curve and then find out where is the optimal point that we wanted to reach at. Right. So these are the candidates sustainable metrics.

12:10 Then, and I believe that we, we, we need to come up with, uh, um, the metrics that are fine grained. And at the same time, uh, consider, I mean, basically the end to end metrics and the variable factors. And of course the, the QoS factors altogether so that we know that what we are actually optimizing for. So, um, these are the sustainability metrics that I would like to discuss today. And then now I also wanted to talk about the units a little bit more. So far I have actually assumed that, uh, we are actually going to use the units of the carbon based unit, basically CO2e. Um, and I just want to first wanted to point out that the existing carbon based unit actually is ignoring many important factors.

12:52 For example, carbon emissions associated with the diesel backups or, um, the associated with, uh, the chemicals and solvent for the advanced cooling solutions. So we, we, we really need to actually find out what are the, all the factors that we actually need to consider in order to actually calculate the CO2e numbers correctly. But more importantly, I wanted to actually point out the second points that I wanted to make is that the carbon units are not, may not be very intuitive to actually promote this in, um, incentivization. So what I'm trying to say over here is no users may not actually cares about, you know, the carbon footprint, right? So how can we, I mean, what does it mean by, let's say the introducing 2.5 grams of the CO2 emissions when I actually submit my job to the data center?

13:39 Right. So, uh, I'm just actually, uh, we are just proposing one idea, like over here that what if we actually try to, uh, provide some complimentary, let's say the unit that our main space, basically the moment monetary units over here, because again, um, dollars are maybe easy to understand. I'm not really saying that dollar is everything, but I'm just saying that in order to actually, uh, involve the users into our sustainability, you know, the effort, we may actually want it to think about what is the right units to actually use to promote this, uh, the sustainability, uh, and so on. So basically, um, we, we, we wanted to actually talk about this dollar units and the C, whether this is the right metrics or other right units to actually report those metrics.

14:25 And so on. And, um, and we were also curious about, uh, whether dollar or the monetary units may be easier for us to even approximate this so-called embodied, uh, let's say sustainable cost. Uh, let's say sustainable cost instead of the CO2 numbers, and it may be also be a good unifying unit. When we talk about both listed, the carbon, uh, like emissions and the material emissions and so on, because we can actually convert everything into a single unit. So that may be actually easier. And we've been already actually using, let's say the carbon credits and so on. So this is not a new concept and people have tried to actually understood, uh, understand how this economic lesson model actually works. But at the same time, I wanted to also point out that there are challenges over here, how we can actually convert this carbon into so-called like the dollars.

15:16 Um, this is not, this economy model is not very trivial. And then, uh, when it becomes more complex, when we talk about, um, let's say the international interactions as well. So we need to actually think of, um, this is something that I did believe it, uh, open question, and then there will be a great collaboration opportunity with, uh, the economists and like the computer scientists over here as well. So based on this metrics and the units that we are proposing over here, we can actually enable multiple use cases. So the one example, and I've been actually promoting over here is what is the right ways to, let's say the incentivize users. What is the right ways to involve the users into our whole sustainability efforts?

15:59 If we can provide this very fine grained, uh, let's say the sustainability metrics for the users, let's say the user cannot actually observe the sustainability cost for the user's job. Then they may be able to run some, some form of, let's say the what if analysis is like, what if I actually run this job at this particular location? What if I run this job at a different amount, different time zone and, or different locations that will definitely allows them to actually, um, let's say to negotiate those, uh, the effort with the, the, the cloud vendors or the, uh, the data center service vendors. And then there may be some, uh, collaborative effort over here and opportunities as well. And this monetary bandwidth metrics may actually lead it to this incentives.

16:45 And, um, um, um, so for example, the users can actually get some, um, let's say the credits when they actually participated in this, um, participate in this, um, the sustainability effort. So these are the one, uh, let's say the use case that we can think of when we have this very fine grained and monetary, let's say the units and metrics as well. And the second one is, well, we've been also thinking about beyond the users, how the software stack or the software development cycle should be changed. Um, in order to make this software become more, or the data center applications become more sustainable. Um, the very first thing that we are all aware of is that software basically need to be aware of the sustainability costs from the beginning.

17:31 And then the software designer can actually think about, or exposing more tuning knobs, or let's say the opportunity for the users or the, um, the cloud, even the cloud vendors to actually change the parameters of the applications so that they can actually become more sustainable and then, uh, achieve, let's say, and basically optimize the metric that we've been proposing. Like, um, keeping the, like the QoS level, like the higher, uh, at a given, um, the sustainability cost. So, um, we, uh, the software designer can now start talking about, um, what is the, like the carbon footprint implications when we actually use, uh, heterogeneous, um, let's say the, the resources. Um, and what, how, how should I actually set, uh, my, let's say the replication factors when we talk about the fault tolerance, uh, fault tolerance distributed system design.

18:28 So, so far we've been actually talking about this one in terms of the availability and the throughput only, but what we are actually proposing is here. Um, the sustainability metrics should be also included into the, this design decision, uh, let's say the process. So the closing thoughts over here is that, um, data centers, sustainability metric must look beyond power and energy as we all champion for. Um, and this metrics must be holistic and then allows us to capture at a different granularity. And our, we are, um, we are actually arguing that should be at the very fine grained level as well, as well. And, um, and, and in today's talk, I actually presented a couple of candidate, uh, metrics as the very first step.

19:13 But, um, your, throughout this talk, I also talk about a couple of the challenges as well. For example, um, we need to actually promote like a more public data, uh, for our embodied costs. So that we, as a whole understand as a, as a community, understand what is the, uh, the end to end sustainability cost for running this data center. And, um, and there are many other open questions, which we actually haven't discussed, but, um, how can we actually verify the, actually the numbers and the metrics that, uh, our color cloud. As the vendor is reporting is definitely trustworthy or not, and how we can actually involve the users into our, uh, account, uh, involving users into our sustainability fault. And whether it is monetary units can actually help that, or is it going to be, um, just, um, um, just distract them.

20:09 That's going to be an interesting, uh, questions. And then I, I, I hope that our research community is going to actually work on that. All right. Uh, that concludes my talk. And then I'm happy to take any question. You don't have any questions. Hi, great talk. Um, it occurs to me that some of the, you know, understandability of these metrics or the, their ability to motivate people, you know, maybe could be explored with some focus groups or from some user studies potentially. So I'm curious if you've thought about doing such things or have done such things. Yeah, actually, um, it would be very interesting to do some form of the user study because, um, yeah, I, I, but what I'm, what I'm just simply saying is definitely, I mean, this is a very interesting direction because, um, we understand that.

21:05 Uh, and even including our today's keynote talk industry is actually working on, um, towards this sustainability data center design. And it's not only the data center designer, right? It's also the software developers and operators. So in order to actually understand their needs and their, what is the actual, uh, the motivations, uh, or what, what is the, like the driving factors? Those are the things that I think definitely the user study can actually help us to understand, and then we can actually jointly optimize for. Um, hi, I'm Jen Switzer. I'm a student here. Um, I was wondering if you have thought about taking into account idle power into the cost per job? Yeah, so that's something that we are currently assuming that we are going to equally distribute it to the, uh, I mean, when, when, when it comes to the, the per job, let's say the accounting or those idle powers and something that, um, um, that we cannot really precisely account for.

22:08 And we, uh, I think it, at this point, we are just simply naively assume that we are going to equally distribute, equally charge the users, um, or the jobs at the same, same amount. But with more fine grains instrumentation, especially for virtualizations and all those effort, I think, uh, there must be, uh, more, you know, the effort in instrumenting things more in a precise manner so that we can charge it more precisely. Thank you. Any more questions for Dongyoon. Any more questions. Thank you.