Energy aware networking
-
Upload
vincenzo-de-maio -
Category
Technology
-
view
324 -
download
2
description
Transcript of Energy aware networking
![Page 1: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/1.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy aware networking
Vincenzo De Maio1
1Distributed and Parallel SystemsUniversitaet Innsbruck
13/06/2012 / Masterseminar 2
![Page 2: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/2.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Introduction
Volume of CO2 emissions produced by ICT sector is anapproximate of 2%
Actual power usage in the U.S. network infrastructure isbetween 5 and 24 TWh/year
![Page 3: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/3.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Figure: Energy consumption of network devices
![Page 4: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/4.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy aware networking research
Link Level approaches
Proxying approaches
Infrastructure level
Energy aware applications
![Page 5: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/5.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy aware networking research
Link Level approaches
Proxying approaches
Infrastructure level
Energy aware applications
![Page 6: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/6.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy aware networking research
Link Level approaches
Proxying approaches
Infrastructure level
Energy aware applications
![Page 7: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/7.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy aware networking research
Link Level approaches
Proxying approaches
Infrastructure level
Energy aware applications
![Page 8: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/8.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 9: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/9.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 10: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/10.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 11: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/11.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 12: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/12.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 13: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/13.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 14: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/14.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
How to take the sleep decision?
For how long?
Which routers are the most amenable to sleeping?
![Page 15: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/15.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
How to take the sleep decision?
For how long?
Which routers are the most amenable to sleeping?
![Page 16: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/16.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
How to take the sleep decision?
For how long?
Which routers are the most amenable to sleeping?
![Page 17: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/17.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
What we expect
Figure: A sleep-mode approach
![Page 18: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/18.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmNotations
B : the output buffer size at the upstream interface.
w : the number of the most recent inter-arrival times.
λ : the mean inter-arrival time
τ = αB is the buffer occupancy threshold, α < 1 (authorsuse α = 0.1 in their experiments)
m is the number of packets in the buffer
δ is the time required for the transition between on/off andresynchronization
![Page 19: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/19.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 20: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/20.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 21: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/21.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 22: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/22.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 23: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/23.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 24: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/24.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
On-off algorithmAlgorithm
If link is activeif m > τ , then do not sleepif m ≤ τ then, ensure with a high probability that the totalnumber of packets n + m < αB. Thus, if X1,X2, ...Xn arerandom variables for consecutive inter-packet times thenX = ΣXi has a Gamma distribution1. We find maximum tsuch that, P[X > t]≥ 0.9if t > δ then the link is put in sleep mode for timemin{t−δ , tmax} where tmax is the maximum amount of timethat the link can be put to sleep. The sleep time is transmittedto the downstream interface in an 802.3 frame.
If downstream interface is in sleep state and the sleepingtimer is expiring
if m = 0 and t > δ , then the upstream interface sends another802.3 frame packet to the downstream interface to sleep fortime min{t−δ , tmax}.
1Assuming that inter-arrival time are IID random variables
![Page 25: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/25.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 26: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/26.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy efficient ethernet
Figure: Energy Efficient Ethernet
![Page 27: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/27.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy Efficient EthernetImportance of Refresh signal
1 Ensure that both partners know that the link is present andallows for immediate notification following a disconnection.
2 Can be used to test the channel and create an opportunity forthe receiver to adapt to changes in the channel characteristics
![Page 28: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/28.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 29: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/29.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Rate adaptation
Use the existing ethernet data rates
Find a tradeoff between packet delay and time spent in lowestrates.
![Page 30: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/30.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Rate adaptationProblems
How to choose the right moment to adjust the link ratedown/up in order to minimize the packet drops?
Which is the correct rate that gives us the energy-savingopportunity without degrading the link performance?
How do we negotiate the rate?
![Page 31: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/31.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Rate adaptation
1. if (link data rate is high)2. if (queue length is less than low queue threshold)3. if (link utilization is less than link utilization threshold)4. set the link data rate to low5. else6. if(link data rate is low)7. if(queue length is greater than high queue threshold)8. set the link data rate to high
![Page 32: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/32.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Further considerations
We need to synchronize the link terminations
For rate adaptation, we need faster handshake
Many works seems to prefer the sleeping mode solutionbecause of his lower complexity
![Page 33: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/33.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Further considerations
We need to synchronize the link terminations
For rate adaptation, we need faster handshake
Many works seems to prefer the sleeping mode solutionbecause of his lower complexity
![Page 34: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/34.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Further considerations
We need to synchronize the link terminations
For rate adaptation, we need faster handshake
Many works seems to prefer the sleeping mode solutionbecause of his lower complexity
![Page 35: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/35.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Content inspection
A pattern matching technique
Matches packet payloads against a set of pre-definedsignatures
Useful also in network security context
![Page 36: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/36.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Content inspection
A pattern matching technique
Matches packet payloads against a set of pre-definedsignatures
Useful also in network security context
![Page 37: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/37.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Content inspection
A pattern matching technique
Matches packet payloads against a set of pre-definedsignatures
Useful also in network security context
![Page 38: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/38.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 39: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/39.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
NIC ProxyingThe main idea
NIC may drop the chatter and handle the traffic requiringminimal computation
Main system will be woken up only when non-trivial packetscome
![Page 40: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/40.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
NIC ProxyingThe main idea
NIC may drop the chatter and handle the traffic requiringminimal computation
Main system will be woken up only when non-trivial packetscome
![Page 41: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/41.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 42: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/42.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
External proxying
Offloading traffic filtering and processing to an externalmachine instead that on the NIC
Can act for a number of end-devices
Can also maintain TCP connectivity for idle hosts
Problem: unicast communication
![Page 43: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/43.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
External proxying
Offloading traffic filtering and processing to an externalmachine instead that on the NIC
Can act for a number of end-devices
Can also maintain TCP connectivity for idle hosts
Problem: unicast communication
![Page 44: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/44.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
External proxying
Offloading traffic filtering and processing to an externalmachine instead that on the NIC
Can act for a number of end-devices
Can also maintain TCP connectivity for idle hosts
Problem: unicast communication
![Page 45: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/45.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
External proxying
Offloading traffic filtering and processing to an externalmachine instead that on the NIC
Can act for a number of end-devices
Can also maintain TCP connectivity for idle hosts
Problem: unicast communication
![Page 46: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/46.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 47: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/47.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Energy Aware Routing Problem
ERP-1: Assume there is a tuple of input parameters, (G,T ,K )Where
G denotes the topology of data center network,
T denotes the traffic matrix
K denotes the predefined threshold of network throughput.
1 L(R1) = minL(R),R ∈ R+
2 M(R1)≥ K
R+ is the space of all possible routings for T
L(R1) denotes the number of switches involved in R1
M(R1) is the network throughput of T under R1.
![Page 48: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/48.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
An heuristic solution
Route Generation: Select the routing for each flow in trafficmatrix so that the network throughput is as high as possible.They select the path with the fewest overlapping flows overthe bottleneck link in the path.
Throughput Computation: The module of throughputcomputation is to calculate the network throughput in a giventopology.
Switch Elimination: A greedy algorithm for the eliminationprocess. First, they compute the traffic carried by each activeswitch in topology G, which is the total throughput of flowstraversing the switch. Then, they select the active switchescarrying the lightest traffic.
![Page 49: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/49.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
An heuristic solutionThe algorithm
HRA(G0, T, PR)begin1 set G := G0;2 //Route Generation3 set R := RG(G, T);4 //Throughput Computation5 set Tht1:= TC(G, T, R);6 do begin7 //eliminate the switches carrying the lightest traffic8 set G := SE(G, T, R);9 set R := RG(G, T);10 set Tht2:= TC(G, T, R);11 set P := Tht2 / Tht1;12 end while(P>=PR )13 return (R, G);End
![Page 50: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/50.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Problem: Robustness of the network. . .
What happens in case of hardware failures?
![Page 51: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/51.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 52: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/52.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Green TCP/IP
In TCP/IP, when a connection is dropped, every resourcededicated to the connection is cleaned up.
A client cannot go to sleep without dropping its connection
Idea: add a new option to TCP communicating to the serverour intention to sleep
![Page 53: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/53.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Green TCP/IP
In TCP/IP, when a connection is dropped, every resourcededicated to the connection is cleaned up.
A client cannot go to sleep without dropping its connection
Idea: add a new option to TCP communicating to the serverour intention to sleep
![Page 54: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/54.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Green TCP/IP
In TCP/IP, when a connection is dropped, every resourcededicated to the connection is cleaned up.
A client cannot go to sleep without dropping its connection
Idea: add a new option to TCP communicating to the serverour intention to sleep
![Page 55: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/55.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Figure: A green TCP/IP
![Page 56: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/56.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Outline
1 Link level approachesSleeping modeEnergy Efficient EthernetRate Adaptation
2 Proxying approachesNIC proxyingExternal proxying
3 Infrastructure level approachesEnergy aware routing
4 Energy aware applicationsGreen TCP/IPGreen bittorrent
5 Conclusions
![Page 57: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/57.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Main issues
A client should be able to sleep whenever it is donedownloading and has no current upload requests pendingfrom its peers independent of how many TCP connections itmay have to other peers.
When a peer sleeps, it must not affect its state in the peerlists of other peers
An awake peer must always have a sufficient number of otherpeers that are awake to download from
A peer must be able to wake-up sleeping peers in a controlledfashion.
![Page 58: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/58.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Main issues
A client should be able to sleep whenever it is donedownloading and has no current upload requests pendingfrom its peers independent of how many TCP connections itmay have to other peers.
When a peer sleeps, it must not affect its state in the peerlists of other peers
An awake peer must always have a sufficient number of otherpeers that are awake to download from
A peer must be able to wake-up sleeping peers in a controlledfashion.
![Page 59: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/59.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Main issues
A client should be able to sleep whenever it is donedownloading and has no current upload requests pendingfrom its peers independent of how many TCP connections itmay have to other peers.
When a peer sleeps, it must not affect its state in the peerlists of other peers
An awake peer must always have a sufficient number of otherpeers that are awake to download from
A peer must be able to wake-up sleeping peers in a controlledfashion.
![Page 60: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/60.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Main issues
A client should be able to sleep whenever it is donedownloading and has no current upload requests pendingfrom its peers independent of how many TCP connections itmay have to other peers.
When a peer sleeps, it must not affect its state in the peerlists of other peers
An awake peer must always have a sufficient number of otherpeers that are awake to download from
A peer must be able to wake-up sleeping peers in a controlledfashion.
![Page 61: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/61.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Unknown: a peer that has been given to this peer by thetracker, and it is unknown if the peer is sleeping or awake.
Connected: a peer that this peer has an active TCPconnection with. File pieces can be uploaded anddownloaded on the connection.
Sleeping: a peer that has disconnected its TCP connectionwith this peer. The TCP connection must be re-establishedbefore file pieces can be uploaded or downloaded.
![Page 62: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/62.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Event 1: Detection of TCP disconnect of a peer1. on (detection of TCP disconnect of peer p)2. p.state = sleepingEvent 2: Time out of connection timer1. on (timeout of connection timer)2. check with tracker for new peers as needed3. for (all new peers in peer list)4. p.state = unknown5. while (count of connected peers < max\_connect)6. p = randomly selected peer in my peer list7. if (have tested all peers) exit this loop8. if (wake-up condition == true)9. send wake-up message to peer p10. try to connect to peer p11. if (TCP connection established)12. p.state = connected13. else14. remove peer p from my peer list15. restart connection timer
![Page 63: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/63.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Event 3: Timeout of inactivity timer
1. on (timeout of inactivity timer)2. send not interested message to connected peers3. send choke message to connected peers4. close all of my TCP connections5. my.state = sleeping6. enter sleep state
Event 4: Detection of my wake-up triggered by peer p
1. on (detection of my wake-up triggered by peer p)2. if (TCP connection is established from peer p)3. my.state = connected4. send my file contents bitfield to peer p5. run choking algorithm
![Page 64: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/64.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsLink level approaches
IEEE standardization committee has already proposed a draft
They will be included in Energy Efficient Ethernet
Could be interesting to evaluate the benefits on a larger scale
![Page 65: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/65.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsLink level approaches
IEEE standardization committee has already proposed a draft
They will be included in Energy Efficient Ethernet
Could be interesting to evaluate the benefits on a larger scale
![Page 66: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/66.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsLink level approaches
IEEE standardization committee has already proposed a draft
They will be included in Energy Efficient Ethernet
Could be interesting to evaluate the benefits on a larger scale
![Page 67: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/67.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsProxying approaches
Several prototypes are currently in development
Standardization efforts are also ongoing
We need a deep analysis about effects on QoS
![Page 68: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/68.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsProxying approaches
Several prototypes are currently in development
Standardization efforts are also ongoing
We need a deep analysis about effects on QoS
![Page 69: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/69.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsProxying approaches
Several prototypes are currently in development
Standardization efforts are also ongoing
We need a deep analysis about effects on QoS
![Page 70: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/70.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsInfrastructure approaches
Reducing number of active devices is not the best solution
Multiple robustness and connectivity issues
We need further investigations in modeling and find a goodtradeoff
![Page 71: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/71.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
ConclusionsSoftware level
TCP/IP will be beneficial for every software relying on it.
Higher level approaches like green bittorrent seems alsopromising
Main lack in this area is about existing tools
![Page 72: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/72.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Questions?
![Page 73: Energy aware networking](https://reader037.fdocuments.net/reader037/viewer/2022110120/5577dd54d8b42a7b7b8b48b2/html5/thumbnails/73.jpg)
Energy awarenetworking
Vincenzo DeMaio
Introduction
Link levelapproachesSleeping mode
Energy EfficientEthernet
Rate Adaptation
ProxyingapproachesNIC proxying
External proxying
InfrastructurelevelapproachesEnergy aware routing
Energy awareapplicationsGreen TCP/IP
Green bittorrent
Conclusions
Thanks for your attention!