connect communicate collaborate Impact of undesirable HTTP traffic on electrical power consumption in the ICT rooms Ivan Ivanovic - BUCC/AMRES EUNIS 2012 Vila Real June 22, 2012
connect communicate collaborate Power consumption monitoring Under the influence of Green Technology gathering information about ICT rooms power consumption is becoming popular topic. Monitoring of power consumption is often disregarded?! Popular monitoring applications are adapted for monitoring of commonly used variables (traffic utilization, port status, services state, …) but not power consumption. Most datacenters are often designed with good electric network power backup (power reserve, UPS, fuel generator). Manufacturers of power supply devices are offering their own software for monitoring. Why can’t we integrate it with custom NMS software we already have?! Control power consumption and reduce it. Can we have information about power consumption of specific service?! 1/10
connect communicate collaborate AMRES topology
connect communicate collaborate Testing environment AMRES policy for web traffic IronPorts Devices Six Ironport Web security appliance (S670) Ironport Management appliance (M160) Cisco Catalyst 2960 & ASR1002 Fujitsu-Siemens servers (4 x RX200S5 & 1 x RX300S5) 2 x APC Smart x APC Metered PDU AP7852 UPS and PDU support SNMP Almost all devices have dual supplies 2/10
connect communicate collaborate System monitoring SNMP protocol NetFlow protocol Ironport Log files
connect communicate collaborate SNMP variables APC SNMP variables APC UPS 5000VA SNMP variables: – The current UPS load expressed in percent of rated capacity. – The current in amperes drawn by the load on the UPS. APC PDU SNMP variables: – Getting this OID will return the phase/bank load measured in tenths of Amps. – Getting this OID will return the Power in Watts. 3/10
connect communicate collaborate SNMP variables and accuracy Basic “mrtg-rrd” approach (90 sec sampling) Flat graphs (constant values) Not enough information 4/10
connect communicate collaborate SNMP variables and accuracy Linux script - 5 second sampling – Output current ∆I ups =1A, ∆I pdu =100mA 5/10
connect communicate collaborate SNMP variables and accuracy Linux script - 5 second sampling – Output load ∆W ups =40W, ∆ W pdu =23W 6/10
connect communicate collaborate Network Traffic and power consumption relation
connect communicate collaborate Network Traffic and power consumption relation Linux script #!/bin/bash while true; do c=(`snmpget -v 2c -c community OvQ`); sleep 10 d=(`snmpget -v 2c -c community OvQ`); a=`snmpget -v 2c -c community OvQ`; b=`snmpget -v 2c -c community OvQ`; in=`expr ${d[0]} - ${c[0]}` out=`expr ${d[1]} - ${c[1]}` echo `date +"%m-%d-%y/%T"` $a $b $in $out
connect communicate collaborate Network Traffic and power consumption relation High correlation (r~0.8) Linear relation Power consumption function y= ∙ x [W/Mbps] [W]
connect communicate collaborate Network Traffic and power consumption relation Linear relation y= ∙ x Initial power consumption W 0 =2884.7W (y-intercept) Traffic dependency K=0.2047[W/Mbps] (slope) Network traffic consume about ~11% of total power consumption
connect communicate collaborate Prediction of power consumption Error for predicted power consumption expressed in KWh is ~ 0.47%
connect communicate collaborate Prediction of power consumption
connect communicate collaborate Impact of undesirable traffic on electrical power consumption NetwFlow information Separate traffic by services, src&dst AS, src&dst IP…..
connect communicate collaborate Impact of undesirable traffic on electrical power consumption uTorrent plugin (propagation of requests through the network) Source - Ironport proxy (squid) logs
connect communicate collaborate SNMP queries time interval How to choose sampling period (KWh calculation)? Increase time between SNMP queries Reduce load on NMS system 7/10
connect communicate collaborate Monitor and reduce power consumption! Can we use traffic results in order to calculate our electric bills? It is easier to collect information about traffic! Reduce the sampling frequency in order to lower the burden on your NMS system. Manufacturers should agree on universal MIB database. ( XY) ($ ) Implementation of SNMP variable that has “memory capability” – SNMP Counters. ($ ) Implementation of good security is necessary Stop the undesirable traffic at the source ($ ) By new equipment ($ ) Be smart, be green! 10/10
connect communicate collaborate Campus Best Practices (NA3/T4) 20 Addresses key challenges for European campus networks Participating NRENs organise working groups within their country Working groups discuss and agree on common campus best-practices Best practice documents are translated to English and published Results are presented at conferences European level workshops on areas of focus are organised Download ~44 documents from 20 Physical Infrastructure Campus Networking Wireless Network Monitoring Real-time communications Security Areas of focus Participating NRENs
connect communicate collaborate Q&A Thank you!