Update network energy consumption

This commit is contained in:
Loic Guegan 2019-07-19 13:14:52 +02:00
parent fa35b986e3
commit 5c91547127
5 changed files with 3 additions and 3 deletions

View file

@ -1 +0,0 @@
loic@lguegan.29280:1563296642

View file

@ -623,7 +623,7 @@ In our case with small and sporadic network traffic, these results show that wit
Core router & ~Static power = 555 Watts, 48 ports of 1 Gbps, Utilization = 25\% \\ Core router & ~Static power = 555 Watts, 48 ports of 1 Gbps, Utilization = 25\% \\
Edge switch~ & ~Static power = 150 Watts, 48 ports of 1 Gbps, Utilization = 25\% \\ Edge switch~ & ~Static power = 150 Watts, 48 ports of 1 Gbps, Utilization = 25\% \\
\bottomrule \bottomrule
\end{tabular}} \end{tabular}
\end{table} \end{table}
#+END_EXPORT #+END_EXPORT
@ -762,6 +762,7 @@ and provide advice for increasing the energy-efficiency of IoT infrastructures.
if("sensorsEnergy"%in%colnames(data)){ # If it is ns3 logs if("sensorsEnergy"%in%colnames(data)){ # If it is ns3 logs
data=data%>%mutate(sensorsEnergy=sensorsEnergy/ns3SimTime) # Convert to watts data=data%>%mutate(sensorsEnergy=sensorsEnergy/ns3SimTime) # Convert to watts
data=data%>%mutate(networkEnergy=networkEnergy/ns3SimTime) data=data%>%mutate(networkEnergy=networkEnergy/ns3SimTime)
data=data%>%mutate(networkEnergy=networkEnergy-9.9999) # Anne-Cécile Factor (accounting for port idle (in fact we are not using all the 1W, there is also other communication on ISP switches)
data=data%>%mutate(networkEnergy=networkEnergy+getSwitchesIDLE(sensorsNumber,sensorsSendInterval)) # Add Idle conso of switches data=data%>%mutate(networkEnergy=networkEnergy+getSwitchesIDLE(sensorsNumber,sensorsSendInterval)) # Add Idle conso of switches
data=data%>%mutate(totalEnergy=totalEnergy/ns3SimTime) data=data%>%mutate(totalEnergy=totalEnergy/ns3SimTime)
} }
@ -1105,7 +1106,7 @@ and provide advice for increasing the energy-efficiency of IoT infrastructures.
**** Plot In Paper **** Plot In Paper
Power sensors vs network Power sensors vs network
#+BEGIN_SRC R :noweb yes :results graphics :file plots/numberSensors-WIFINET.png :session *R* #+BEGIN_SRC R :noweb yes :results graphics :file plots/numberSensors-WIFINET.png :session *R*
<<RUtils>> <<RUtils>>
data=loadData("logs/ns3/last/data.csv") data=loadData("logs/ns3/last/data.csv")

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After