Does rate adaptation at daily timescales make sense?
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 So, good afternoon, everybody. So, I'm Romain. And in today's talk, I would like to change the perspective a bit and talk about some of our ongoing work to reduce the energy and not the carbon of networks and not compute as been the focus of the rest of the day so far. All right. So, last year, in the same workshop, I pointed out that we could hope to save up to 50% energy on typically underutilized networks, so where utilization is in the few tens of percent ballpark. But I also show or explain that those benefits are feasible only if we manage to cut down the start-up time of a link or port in a network significantly. So, in theory, we know already fairly well how we could save energy.
0:53 Like, there are, roughly speaking, two broad strategies, sleeping. So, you could buffer traffic and then send things in burst and sleeping in between. Or, rather than doing that, you can keep all your links up, but then adjust the capacity of your links. For example, going from 100 gig to 10 gig or vice versa to match the demand. But both those strategies somehow assume that you can do this at very small timescales. The paper I referenced here on the left assumed one millisecond, but if you look at devices that are available today and you measure startup time, you will find numbers in a range of minutes. So, it seems that effectively we just cannot do it, or maybe we can, right? And that's kind of the question we're asking ourselves in this work.
1:42 So, clearly, we cannot do it at millisecond time scales, but maybe we can leverage, you know, larger time scales, like daily time scales. So, it's leveraging the fact that utilization of networks during day and night is different, and maybe during nighttime, you could turn some things off that you don't particularly need at this point in time. In this particular work, we, again, consider only networks where average utilization tend to be low. And, importantly, we only consider strategies that do not imply any routing change, right? So, that means we do not try to reroute traffic, aggregate under a certain path to turn all the paths off. No, we only look at the dumbest thing you can do, which is turning off redundant links. And we see where that takes us.
2:27 So, to investigate the question, we need two things. We need a link utilization data set that will tell us, ideally, for every single physical link in the network, what's the utilization. At the time granularity, which is fine-grained enough so that we can actually see those daily fluctuations. And, ideally, we want this for all links in the network and over a long enough time period to have sensible estimates. We find such data sets in the presence of the OVH Weather Map data set that was released last year. You can see here, depicted on the left, the Europe backbone of the OVH network, which is a French cloud provider. And we use that in this particular work. Second piece we need is a power model for how much energy or power is being drawn by the devices in the network.
3:21 And, importantly, we need something which is fine-grained enough to tell us how much power is induced by a single port being active or inactive, because we're interested in putting some of them to sleep. And we need some understanding of how much changing the rate of the port affects the power. Because, again, we're trying to play with power rates. We did not find any such thing in the literature. So, we went on and profiled a device that we had available in our lab, in this case, the Tofino switch. And we did, essentially, the simplest thing you can think of. So, we took a power meter that we interfaced between the power supply unit of the switch and the socket. And then we played with the switch configuration in terms of number of active ports, port rates, and traffic load.
4:10 And we look what comes out. So, let's first summarize what we've learned from those two pieces. First, the data utilization. First, we confirmed that, as we expected, the network, the average network utilization is fairly low, although I have to admit it's lower than what I imagine, around 18% median, if I remember the numbers right. But, more importantly, we do see those strong seasonal patterns, meaning fluctuation between day and night. As you can see on the graph, those patterns are very strong and very stable. Here is only, I just show a two-weeks window, but over two years, it's still the same pattern that appears. And you can also observe slight variation between weekdays and weekends. And this is quite typical of other networks we've looked at.
4:57 Now, also, what we find is that we have many, many, many parallel links in this network. This graph is a bit intricate to read, but essentially, what you can see on the left is that for 55% of the links in the network, you have at least one other link that is connecting in parallel the same two router pairs. Bottom line, it's summarizing or quantifying what we could see already on the picture, right? It's like if you take any two routers that are connected by links, in most cases, they are connecting by more than one link in parallel. That's just what we're quantifying. So if we take those two things together, we foresee a strong potential for turning some of those links off and thereby saving some energy.
5:42 Now, let's turn to what we learned on the power modeling. So first, we just turn up the Tofino or the switch without anything on. No ports active, no traffic, no nothing. And we measured an idle cost around 100 watts, which I have to admit was a bit lower than what I would have expected. On top of this, we start activating ports, still without any traffic. And here we observe that the power cost is variable. It depends on the port rate that you configure. So 0.3 watts for a port configured at 10 gig and 1.6 watt for 100 gig. So quite sizable difference when you start multiplying the number of ports. On top of this, when you start typing traffic, you do see an increase that is roughly linear.
6:32 And that is very small, right? The sending from 0 to 100 gig of traffic on one port results in a power increase of about 1 watt. Finally, because we're looking at a programmable switch, we're kind of interested in what would be the impact of the data plane program. Turns out it's not actually impacting the power all that much. But it's not the focus on that talk, so I won't go too much into detail here. The bottom line is if we sum up both values together, you'll see that from the switch just being up and doing nothing, you're about 100 watts. And you fully load it, you're about 200 watts. So in my talk last year, I presented this usual theoretical power model that is referenced in the literature for network devices where you have a P0, so an idle cost, which is quite high, and a power cost under full load, which is not much higher.
7:30 If we instantiate the exact same model for the Tofino, we find something that matches this view actually quite well. However, this red line that I'm showing here on the plot on the right is quite a naive case where even at zero utilization, zero gigabits per second, we have all 32 ports that are up and configured at 100 gigabits, which of course makes no sense. So you could just activate the ports just when you need them. That's the basic idea of sleeping. You keep your ports off until you actually require them. And if you go from red to purple, I mean, we're still far from proportional, which would be the gray line in the middle, but there are some improvements. However, we cannot just turn on the links just based on the average utilization because links are connected to different other routers, right?
8:25 So we need to have a more fine-grained view. When we do this, and we did this in the paper, we looked at different strategies that we could use and how much benefit you could harvest depending on how many links in parallel you have between router pairs. So, of course, if you have only one link, well, you cannot put this link down and put it to sleep because otherwise you will modify your network topology. And we said we don't want to do that. So, but if you have only one link, you can still down rates from 100 gig to 10 gig if you are under low utilization cases. In the Tofino, we have three port rates available, 10, 25, and 100 gig. And therefore, you see it's three-state curve on the green curve on the plot to the left.
9:10 Now, if we move on to links, well, until you reach 100 gig utilization, you can do with only one link. And again, this one link you can put down to, you can down rate when possible. And so you start being able to do something with only sleeping. And if you're also allowed to down rate, you can improve further. And as you may suspect, the more and more links you have in parallel, the more and more potential you have to save energy by either sleeping, down rating, or combining both.
9:44 Right. Now, if we put those two things together, how much can we save? I'll skip the details, ballpark numbers, tens of megawatt hours per year. It's not huge, but it's sizable. It's not a negligible number given the size of that network. But, there is a significant dot. It is actually a very gross approximation to put those two things together for a number of reasons. First, we have a power model from Tofino, but Tofino switches are not what we expect to find in such a network. We did the power measurement with only electrical copper cables because that's the only thing we had in the lab. But transceivers, different technologies, will induce very different power costs. And that needs to be factored in. And, of course, we neglect all overheads that may come from turning ports on and off, the time it actually takes, and power spikes you may have when you turn something back on, and so on.
10:44 The problem is that, in order to do any better, we would need data that we currently don't have. We would need to know what is actually being deployed in such a network, which device models and which cabling are connecting those routers. We would need power models that need to be derived somehow that will tell us, for each of those devices, how much power would you expect to be drawn, depending on their setting. And we would need actual protocol implementation that will say, here's how we would do sleeping, and this is how long it would take, and this is how much power overhead you would have for doing that. None of those things we have, we do have ideas of getting or developing those things, those are all work and progress in our group, but massive effort, if you're interested in those things, please do reach out, I'll be happy to welcome some help on all or some of those aspects.
11:36 Now, to quickly conclude, I would like to share some thoughts about sustainable networking and what I've learned and think about in this area. So, here in my talk and some other talk today, you might be thinking that, okay, ultimately, the network footprint is small relative to the whole ICT or even just the whole of the internet data centers and servers. That is likely true, but I think it doesn't matter because we should not neglect or dismiss improvements just because they are small. We should dismiss them if the price to pay for getting them is not reasonable, but all small improvements are necessary to be taken at this point. I'm not saying we should improve networks before servers. I'm saying we should improve network and servers, and it so happens that network design is what I'm doing, and so I'm looking at how to improve the network and not the servers.
12:41 Another thing is that you might know and have been observing in the past that the internet wasn't built to be power proportional, and this is why some of those techniques are really inefficient. For example, things think forever to boot, but that is, again, true, but it doesn't mean we should not rethink the design of the hardware that we're using in those networks to make it more power proportional so that we can enable more savings, more sizable savings. Finally, with the very preliminary data I showed, you might not be convinced that putting networks to sleep is a good idea, but very frankly, neither am I. I'm not saying this is great. There are lots of dark corners that we are yet to investigate in this research, but I am convinced that we need to look.
13:25 We need to spend the time and the research in order to assess objectively whether or not this is a good idea. So to conclude, does rate adaptation at any time scale make sense? Well, possibly, but in order to be more assertive, we need more data about what is being deployed in networks, how, what is the power models of those networking devices, and how we would effectively implement sleeping in such networks. So a lot of work to be done, and it's high time to get to it.
14:04 Thank you, Romain. Very interesting talk. Are there any questions from the audience? Okay, we got one over here. Let me bring the microphone over. Get my steps in for today. Here you go. Hi, Romain. Thanks. This was a great talk. Um, one thing I was missing from your presentation was potentially the impact of this on any intermittent traffic loads that you did not see from the OVH mappings, but they are short-lived. How would you handle this or so on? Or did you even consider this? Yes, it's a very good question. Um, so the answer is actually easy. We did not consider it just because we have no way of doing it. We don't have the data that will allow us to actually assess those traffic bursts or those intermittent traffic in between the five minutes interval visibility we have.
15:03 But it definitely is something that matters. Uh, and if you have idea or use cases where we would have the data, I find a granularity that will enable to, uh, to investigate this question, I'm, I'm, I'm very interested. Um, but to be a bit more constructive about this question, we are, in some of our ongoing work, we are currently trying to see on the third bullet I have on the top right, how we would implement sleeping in a way that would guarantee to absorb such bursts. Um, so if you're interesting, I'm happy to dig into that more, but I don't have time in this screening. So we do have some idea about how we would handle this, but how effective that would be in actual networks.
15:47 We don't know because we don't have the actual traffic data on those networks. Okay. Uh, let's defer, uh, there are other questions to the Q and A sessions.