summaryrefslogtreecommitdiff
path: root/2019-ICA3PP.org
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2019-07-19 13:14:52 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2019-07-19 13:14:52 +0200
commit5c91547127d792d62c23c1b3578121bf128fc66b (patch)
tree4c2f01cb433fea9ed18929cd7e350c7e06c2d859 /2019-ICA3PP.org
parentfa35b986e379cfbe640772bf877b8df354f01bab (diff)
Update network energy consumption
Diffstat (limited to '2019-ICA3PP.org')
-rw-r--r--2019-ICA3PP.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/2019-ICA3PP.org b/2019-ICA3PP.org
index 75704b3..c02b0e2 100644
--- a/2019-ICA3PP.org
+++ b/2019-ICA3PP.org
@@ -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\% \\
Edge switch~ & ~Static power = 150 Watts, 48 ports of 1 Gbps, Utilization = 25\% \\
\bottomrule
- \end{tabular}}
+ \end{tabular}
\end{table}
#+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
data=data%>%mutate(sensorsEnergy=sensorsEnergy/ns3SimTime) # Convert to watts
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(totalEnergy=totalEnergy/ns3SimTime)
}
@@ -1105,7 +1106,7 @@ and provide advice for increasing the energy-efficiency of IoT infrastructures.
**** Plot In Paper
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>>
data=loadData("logs/ns3/last/data.csv")