SlideShare uma empresa Scribd logo
1 de 16
Energy efficent MST in
OpenFlow networks
European Workshop on Software Defined Network



L. Prete, F. Farina, M. Campanella, A. Biancini

Darmstadt, 26th Oct 2012
OUTLINE



 Motivation: OF, LearningSwitch module and loops

 The proposed solution

 Implementation and the virtual test-bed

 Measurements and validation

 Future works and conclusions



                                                                                     2
                                        L. Prete, F. Farina, M. Campanella, A. Biancini
                                                              Darmstadt, 26th Oct 2012
Fact 1: OpenFlow and modules
 OpenFlow is growing protocol with great potentials
    Powerful but still too complex
    Users experience difficulties in the use of modules


 The routing module is difficult and tricky
    Powerful...
    ...but it requires in-depth knowledge of topology, devices,
     cluster, ...


 The learning Switch is easier than Routing module. Useful to:
        Experiment the power of the protocol (rules, actions, ...)
        Build and integrate new modules
                                                                                       3
                                          L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                Darmstadt, 26th Oct 2012
Fact 2:
  OpenFlow and loop free technologies
 Fail-over mechanisms require topologies with physical loops
 Without loop-free technologies broadcast storms
    ARP requests, any broadcast or multicast based protocol, ...

 “Common” L2 switches use the Spanning Tree Protocol
    Software OF switches should export the STP_bit, but most of
     them DON’T!

 Problem:
    Lack of a loop free technology using OF learning switch module

                                                                                    4
                                       L. Prete, F. Farina, M. Campanella, A. Biancini
                                                             Darmstadt, 26th Oct 2012
From a need to the idea
 Need
    LearningSwitch + looped topologies + non-STP switches
    Simple Plug&Play solution for beginners


 Idea
    Build the Minimum Spanning Tree of the network
    Turn off ports outside MST


 Goal
    Prevent broadcast storm
    Offer failover mechanisms
    Save energy                                                                    5
                                      L. Prete, F . Farina, M. Campanella, A. Biancini
                                                             Darmstadt, 26th Oct 2012
GreenMST: how it works




 Link between switches changes: linkUpdate event
 After each topology change recalculate Minimum Spanning Tree
    MST is computed using the Kruskal algorithm
 Ports status is modified
    Open ports not included in the MST are closed
    Closed ports included in the MST are opened
                                                                                     6
                                        L. Prete, F. Farina, M. Campanella, A. Biancini
                                                              Darmstadt, 26th Oct 2012
GreenMST: the proposed solution




Modular approach
Topology keeps the switch map updated and it sends updates to the Green
MST module when a link changes
Green MST computes the new MST using current topology information and it
sends ModPort actions to the switches
LearningSwitch module continues to work normally, sending packets only
through the opened ports
                                                                                          7
                                             L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                   Darmstadt, 26th Oct 2012
MST computation and Change Set


                                                                      Saved 3-2 closed




 Ports status saved in a data structure
     Minimization of ModPort commands to the switches
                                                                                          8
                                             L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                   Darmstadt, 26th Oct 2012
Implementation: the virtual testbed



                                                                    OF out-of-band
                                                                    network




 Users’ network




 Goal: experiment OpenFlow features and potentialities                               9
                                         L. Prete, F. Farina, M. Campanella, A. Biancini
                                                               Darmstadt, 26th Oct 2012
Implementation: Software used

    OpenvSwitch             Beacon controller
   Enterprise                  Java
    functionalities                   Multi-platform
   Used by different                  Thread-oriented
                        +          
    hypervisors, es.
    Xen
                                Used in large testbed
                                 (>150 switch)
                                Modular


                                                                            10
                                L. Prete, F. Farina, M. Campanella, A. Biancini
                                                      Darmstadt, 26th Oct 2012
Experiment 1 – ARP request

                                                                 MST module
                                                                 is loaded (t = 37,4s)



                                                                Redundant ARP requests
                                                                disappear (t = 37,76s)




 From the point of view of OVS01 (one of the switches) after a PING
    [t0 - t(37,3)] => observation window without MST module
         t(37,4) => MST module is loaded
         t(37,76) => redundant ARP requests disappear
 Final MST + ModPort actions end after 0,36 sec
                                                                                             11
                                                 L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                       Darmstadt, 26th Oct 2012
Experiment 2 – switch activation



                         A            B         C               D




 From the point of view of the controller
         t0 => GreenMST module is loaded and MST is calculated
                => No switches are active
     tA,B,C,D => Switches are activated
             => MST is re-calculated and ports status is modified (except for
           OVS01)
                                                                                            12
                                                L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                      Darmstadt, 26th Oct 2012
Experiment 3 – Link status change


                              A                        B




 From the point of view of the controller
     t0 => Network is stable and MST is already calculated
     tA => Link between OVS03 and OVS04 is deactivated
         New MST calculated in 7 ms
     tB => Link between OVS03 and OVS04 is re-activated
         New MST calculated in 9 ms                                                       13
                                               L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                     Darmstadt, 26th Oct 2012
Conclusions and future works
 Now
    Enable loop free technologies and failover mechanisms for
     Learning Switch OF modules
       As well if the devices do not support the STP technology!
    Save energy turning dynamically off the unused ports of the
     switches


 In the future
    Assign dynamically a cost to the links between the switches
     using link parameters (bandwidth, delay, jitter)
       ...but also SNMP or passive flow monitoring protocols (Netflow, sFlow, ...)
    Memorize the alternative paths between two nodes before a fail
       After a fail the alternative path is chosen
    Integration with the Routing module
                                                                                               14
                                                   L. Prete, F. Farina, M. Campanella, A. Biancini
                                                                         Darmstadt, 26th Oct 2012
THANK YOU
   Question




Get the code
https://github.com/LucaPrete/GreenMST
                                                                      15
                          L. Prete, F. Farina, M. Campanella, A. Biancini
                                                Darmstadt, 26th Oct 2012
Reference

 Project page: https://github.com/LucaPrete/GreenMST

 OpenFlow official site: http://www.openflow.org

 Open vSwitch: http://www.openvswitch.org

 Controller
    Beacon: https://openflow.stanford.edu/display/Beacon/Home




                                                                                16
                                    L. Prete, F. Farina, M. Campanella, A. Biancini
                                                          Darmstadt, 26th Oct 2012

Mais conteúdo relacionado

Mais procurados

On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...IDES Editor
 
Image Compression using Combined Approach of EZW and LZW
Image Compression using Combined Approach of EZW and LZWImage Compression using Combined Approach of EZW and LZW
Image Compression using Combined Approach of EZW and LZWIJERA Editor
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...OpenCascade
 
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Fisnik Kraja
 
Utp pds_l4_procesamiento de señales del habla con mat_lab
 Utp pds_l4_procesamiento de señales del habla con mat_lab Utp pds_l4_procesamiento de señales del habla con mat_lab
Utp pds_l4_procesamiento de señales del habla con mat_labjcbenitezp
 
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...IDES Editor
 
Thesis L Leyssenne - November 27th 2009 - Part1
Thesis L Leyssenne - November 27th 2009 - Part1Thesis L Leyssenne - November 27th 2009 - Part1
Thesis L Leyssenne - November 27th 2009 - Part1Laurent Leyssenne
 
Ber performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalizationBer performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalizationAlexander Decker
 
soft computing
soft computingsoft computing
soft computingAMIT KUMAR
 
Spantree
SpantreeSpantree
Spantree1 2d
 
The H.264 Video Compression Standard
The H.264 Video Compression StandardThe H.264 Video Compression Standard
The H.264 Video Compression StandardVideoguy
 

Mais procurados (20)

On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
 
Image Compression using Combined Approach of EZW and LZW
Image Compression using Combined Approach of EZW and LZWImage Compression using Combined Approach of EZW and LZW
Image Compression using Combined Approach of EZW and LZW
 
Ak25214217
Ak25214217Ak25214217
Ak25214217
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...
JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coup...
 
Bz25454457
Bz25454457Bz25454457
Bz25454457
 
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
 
Fb24958960
Fb24958960Fb24958960
Fb24958960
 
270 273
270 273270 273
270 273
 
547 p177
547 p177547 p177
547 p177
 
Space time
Space timeSpace time
Space time
 
Utp pds_l4_procesamiento de señales del habla con mat_lab
 Utp pds_l4_procesamiento de señales del habla con mat_lab Utp pds_l4_procesamiento de señales del habla con mat_lab
Utp pds_l4_procesamiento de señales del habla con mat_lab
 
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
 
Thesis L Leyssenne - November 27th 2009 - Part1
Thesis L Leyssenne - November 27th 2009 - Part1Thesis L Leyssenne - November 27th 2009 - Part1
Thesis L Leyssenne - November 27th 2009 - Part1
 
Ber performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalizationBer performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalization
 
soft computing
soft computingsoft computing
soft computing
 
Spantree
SpantreeSpantree
Spantree
 
Aw25293296
Aw25293296Aw25293296
Aw25293296
 
Dm31762765
Dm31762765Dm31762765
Dm31762765
 
The H.264 Video Compression Standard
The H.264 Video Compression StandardThe H.264 Video Compression Standard
The H.264 Video Compression Standard
 

Destaque

Energy Efficent Stuctures
Energy Efficent Stuctures Energy Efficent Stuctures
Energy Efficent Stuctures Noman473
 
Affordable Energy Efficient House
Affordable Energy Efficient HouseAffordable Energy Efficient House
Affordable Energy Efficient Housemrconroy
 
Responsability Environmental
Responsability EnvironmentalResponsability Environmental
Responsability EnvironmentalElena García
 
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.Sarbjit Bahga
 
Energy efficient home
Energy efficient homeEnergy efficient home
Energy efficient homePlayersGuide
 
Landscape architecture energy efficient landscape lecture 8
Landscape architecture energy efficient landscape lecture 8Landscape architecture energy efficient landscape lecture 8
Landscape architecture energy efficient landscape lecture 8Bineet Chhajer
 
Energy efficient architecture
Energy efficient architectureEnergy efficient architecture
Energy efficient architectureVidhi Shah
 
Energy Efficient Buildings Codes
Energy Efficient Buildings CodesEnergy Efficient Buildings Codes
Energy Efficient Buildings CodesIbrahim Al-Hudhaif
 
Energy Efficient Design Education Through Architectural Design Studio Projects
Energy Efficient Design Education Through Architectural Design Studio ProjectsEnergy Efficient Design Education Through Architectural Design Studio Projects
Energy Efficient Design Education Through Architectural Design Studio ProjectsKhaled Ali
 
5 Amazing Energy Efficient Building Materials
5 Amazing Energy Efficient Building Materials5 Amazing Energy Efficient Building Materials
5 Amazing Energy Efficient Building MaterialsJEG Building Solutions
 
Energy Efficiency
Energy EfficiencyEnergy Efficiency
Energy EfficiencyEd Stermer
 
Energy efficiency in Green Building
Energy efficiency in Green BuildingEnergy efficiency in Green Building
Energy efficiency in Green Buildingshiva prakash
 
Energy efficient building
Energy efficient buildingEnergy efficient building
Energy efficient buildingShivani Singh
 
Energy Efficiency Methods And Techniques V.2
Energy Efficiency Methods And Techniques V.2Energy Efficiency Methods And Techniques V.2
Energy Efficiency Methods And Techniques V.2patmcmmc
 
Energy efficiency in buildings
Energy efficiency in buildingsEnergy efficiency in buildings
Energy efficiency in buildingsD.Pawan Kumar
 

Destaque (19)

Energy Efficent Stuctures
Energy Efficent Stuctures Energy Efficent Stuctures
Energy Efficent Stuctures
 
Affordable Energy Efficient House
Affordable Energy Efficient HouseAffordable Energy Efficient House
Affordable Energy Efficient House
 
Responsability Environmental
Responsability EnvironmentalResponsability Environmental
Responsability Environmental
 
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.
Energy- Efficient Architecture: Punjab Mandi Bhawan, Mohali, Punjab.
 
Energy efficient home
Energy efficient homeEnergy efficient home
Energy efficient home
 
Landscape architecture energy efficient landscape lecture 8
Landscape architecture energy efficient landscape lecture 8Landscape architecture energy efficient landscape lecture 8
Landscape architecture energy efficient landscape lecture 8
 
Energy efficient architecture
Energy efficient architectureEnergy efficient architecture
Energy efficient architecture
 
Energy Efficient Home
Energy Efficient HomeEnergy Efficient Home
Energy Efficient Home
 
Energy Efficiency
Energy EfficiencyEnergy Efficiency
Energy Efficiency
 
Energy Efficient Architecture-Sustainable Habitat
Energy Efficient Architecture-Sustainable HabitatEnergy Efficient Architecture-Sustainable Habitat
Energy Efficient Architecture-Sustainable Habitat
 
Energy Efficient Buildings Codes
Energy Efficient Buildings CodesEnergy Efficient Buildings Codes
Energy Efficient Buildings Codes
 
Energy Efficient Design Education Through Architectural Design Studio Projects
Energy Efficient Design Education Through Architectural Design Studio ProjectsEnergy Efficient Design Education Through Architectural Design Studio Projects
Energy Efficient Design Education Through Architectural Design Studio Projects
 
5 Amazing Energy Efficient Building Materials
5 Amazing Energy Efficient Building Materials5 Amazing Energy Efficient Building Materials
5 Amazing Energy Efficient Building Materials
 
Energy Efficiency
Energy EfficiencyEnergy Efficiency
Energy Efficiency
 
Energy efficiency in Green Building
Energy efficiency in Green BuildingEnergy efficiency in Green Building
Energy efficiency in Green Building
 
Energy efficient building
Energy efficient buildingEnergy efficient building
Energy efficient building
 
Energy Efficiency Methods And Techniques V.2
Energy Efficiency Methods And Techniques V.2Energy Efficiency Methods And Techniques V.2
Energy Efficiency Methods And Techniques V.2
 
Energy efficiency in buildings
Energy efficiency in buildingsEnergy efficiency in buildings
Energy efficiency in buildings
 
Energy Efficient and sustainable Buildings
Energy Efficient  and sustainable BuildingsEnergy Efficient  and sustainable Buildings
Energy Efficient and sustainable Buildings
 

Semelhante a Power point

#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...
#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...
#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...Paris Open Source Summit
 
Resolving data collision in csma via protocols
Resolving data collision in csma via protocolsResolving data collision in csma via protocols
Resolving data collision in csma via protocolsAnurag Singh
 
L1811_PID.pdf
L1811_PID.pdfL1811_PID.pdf
L1811_PID.pdfBaghdad
 
Optimizing TSUBAME2.5 Network with Sub-Optimal Infrastructure
Optimizing TSUBAME2.5 Network with Sub-Optimal InfrastructureOptimizing TSUBAME2.5 Network with Sub-Optimal Infrastructure
Optimizing TSUBAME2.5 Network with Sub-Optimal InfrastructureAkihiro Nomura
 
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...Dynamic frequency allocation in femtocells-based systems: algorithms and perf...
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...Remo Pomposini
 
Improved novel Detectors for Soft OFDMA MIMO
Improved novel Detectors for Soft OFDMA MIMOImproved novel Detectors for Soft OFDMA MIMO
Improved novel Detectors for Soft OFDMA MIMOIJARIDEA Journal
 
Implementation of Spanning Tree Protocol using ns-3
Implementation of Spanning Tree Protocol using ns-3Implementation of Spanning Tree Protocol using ns-3
Implementation of Spanning Tree Protocol using ns-3Naishil Shah
 
Simulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introductionSimulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introductionAniruddha Chandra
 
XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014Andrea PETRUCCI
 
Opportunity Challenge: a comparative study
Opportunity Challenge: a comparative studyOpportunity Challenge: a comparative study
Opportunity Challenge: a comparative studyMatteo Ciprian
 
aMCfast: Automation of Fast NLO Computations for PDF fits
aMCfast: Automation of Fast NLO Computations for PDF fitsaMCfast: Automation of Fast NLO Computations for PDF fits
aMCfast: Automation of Fast NLO Computations for PDF fitsjuanrojochacon
 
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based NetworksAnalytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based NetworksAzeem Iqbal
 
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...Universidad de los Andes
 

Semelhante a Power point (19)

#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...
#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...
#OSSPARIS19 - tf-explain: Interpretability for TensorFlow 2.0 - PIERRE-HENRI ...
 
Resolving data collision in csma via protocols
Resolving data collision in csma via protocolsResolving data collision in csma via protocols
Resolving data collision in csma via protocols
 
L1811_PID_experiment.pdf
L1811_PID_experiment.pdfL1811_PID_experiment.pdf
L1811_PID_experiment.pdf
 
L1811_PID.pdf
L1811_PID.pdfL1811_PID.pdf
L1811_PID.pdf
 
HPPS - Final - 06/14/2007
HPPS - Final - 06/14/2007HPPS - Final - 06/14/2007
HPPS - Final - 06/14/2007
 
Optimizing TSUBAME2.5 Network with Sub-Optimal Infrastructure
Optimizing TSUBAME2.5 Network with Sub-Optimal InfrastructureOptimizing TSUBAME2.5 Network with Sub-Optimal Infrastructure
Optimizing TSUBAME2.5 Network with Sub-Optimal Infrastructure
 
chap4_ann (5).pptx
chap4_ann (5).pptxchap4_ann (5).pptx
chap4_ann (5).pptx
 
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...Dynamic frequency allocation in femtocells-based systems: algorithms and perf...
Dynamic frequency allocation in femtocells-based systems: algorithms and perf...
 
Thesis
ThesisThesis
Thesis
 
Thesis
ThesisThesis
Thesis
 
Improved novel Detectors for Soft OFDMA MIMO
Improved novel Detectors for Soft OFDMA MIMOImproved novel Detectors for Soft OFDMA MIMO
Improved novel Detectors for Soft OFDMA MIMO
 
Internship end
Internship endInternship end
Internship end
 
Implementation of Spanning Tree Protocol using ns-3
Implementation of Spanning Tree Protocol using ns-3Implementation of Spanning Tree Protocol using ns-3
Implementation of Spanning Tree Protocol using ns-3
 
Simulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introductionSimulating communication systems with MATLAB: An introduction
Simulating communication systems with MATLAB: An introduction
 
XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014XDAQ_AP_LNL-INFN_27112014
XDAQ_AP_LNL-INFN_27112014
 
Opportunity Challenge: a comparative study
Opportunity Challenge: a comparative studyOpportunity Challenge: a comparative study
Opportunity Challenge: a comparative study
 
aMCfast: Automation of Fast NLO Computations for PDF fits
aMCfast: Automation of Fast NLO Computations for PDF fitsaMCfast: Automation of Fast NLO Computations for PDF fits
aMCfast: Automation of Fast NLO Computations for PDF fits
 
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based NetworksAnalytical Modeling of End-to-End Delay in OpenFlow Based Networks
Analytical Modeling of End-to-End Delay in OpenFlow Based Networks
 
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...
[JPDC,JCC@LMN22] Ad hoc systems Management and specification with distributed...
 

Power point

  • 1. Energy efficent MST in OpenFlow networks European Workshop on Software Defined Network L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 2. OUTLINE  Motivation: OF, LearningSwitch module and loops  The proposed solution  Implementation and the virtual test-bed  Measurements and validation  Future works and conclusions 2 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 3. Fact 1: OpenFlow and modules  OpenFlow is growing protocol with great potentials  Powerful but still too complex  Users experience difficulties in the use of modules  The routing module is difficult and tricky  Powerful...  ...but it requires in-depth knowledge of topology, devices, cluster, ...  The learning Switch is easier than Routing module. Useful to:  Experiment the power of the protocol (rules, actions, ...)  Build and integrate new modules 3 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 4. Fact 2: OpenFlow and loop free technologies  Fail-over mechanisms require topologies with physical loops  Without loop-free technologies broadcast storms  ARP requests, any broadcast or multicast based protocol, ...  “Common” L2 switches use the Spanning Tree Protocol  Software OF switches should export the STP_bit, but most of them DON’T!  Problem:  Lack of a loop free technology using OF learning switch module 4 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 5. From a need to the idea  Need  LearningSwitch + looped topologies + non-STP switches  Simple Plug&Play solution for beginners  Idea  Build the Minimum Spanning Tree of the network  Turn off ports outside MST  Goal  Prevent broadcast storm  Offer failover mechanisms  Save energy 5 L. Prete, F . Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 6. GreenMST: how it works  Link between switches changes: linkUpdate event  After each topology change recalculate Minimum Spanning Tree  MST is computed using the Kruskal algorithm  Ports status is modified  Open ports not included in the MST are closed  Closed ports included in the MST are opened 6 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 7. GreenMST: the proposed solution Modular approach Topology keeps the switch map updated and it sends updates to the Green MST module when a link changes Green MST computes the new MST using current topology information and it sends ModPort actions to the switches LearningSwitch module continues to work normally, sending packets only through the opened ports 7 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 8. MST computation and Change Set Saved 3-2 closed  Ports status saved in a data structure  Minimization of ModPort commands to the switches 8 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 9. Implementation: the virtual testbed OF out-of-band network Users’ network  Goal: experiment OpenFlow features and potentialities 9 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 10. Implementation: Software used OpenvSwitch Beacon controller  Enterprise  Java functionalities  Multi-platform  Used by different Thread-oriented +  hypervisors, es. Xen  Used in large testbed (>150 switch)  Modular 10 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 11. Experiment 1 – ARP request MST module is loaded (t = 37,4s) Redundant ARP requests disappear (t = 37,76s)  From the point of view of OVS01 (one of the switches) after a PING  [t0 - t(37,3)] => observation window without MST module  t(37,4) => MST module is loaded  t(37,76) => redundant ARP requests disappear  Final MST + ModPort actions end after 0,36 sec 11 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 12. Experiment 2 – switch activation A B C D  From the point of view of the controller  t0 => GreenMST module is loaded and MST is calculated => No switches are active  tA,B,C,D => Switches are activated => MST is re-calculated and ports status is modified (except for OVS01) 12 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 13. Experiment 3 – Link status change A B  From the point of view of the controller  t0 => Network is stable and MST is already calculated  tA => Link between OVS03 and OVS04 is deactivated  New MST calculated in 7 ms  tB => Link between OVS03 and OVS04 is re-activated  New MST calculated in 9 ms 13 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 14. Conclusions and future works  Now  Enable loop free technologies and failover mechanisms for Learning Switch OF modules  As well if the devices do not support the STP technology!  Save energy turning dynamically off the unused ports of the switches  In the future  Assign dynamically a cost to the links between the switches using link parameters (bandwidth, delay, jitter)  ...but also SNMP or passive flow monitoring protocols (Netflow, sFlow, ...)  Memorize the alternative paths between two nodes before a fail  After a fail the alternative path is chosen  Integration with the Routing module 14 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 15. THANK YOU Question Get the code https://github.com/LucaPrete/GreenMST 15 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012
  • 16. Reference  Project page: https://github.com/LucaPrete/GreenMST  OpenFlow official site: http://www.openflow.org  Open vSwitch: http://www.openvswitch.org  Controller  Beacon: https://openflow.stanford.edu/display/Beacon/Home 16 L. Prete, F. Farina, M. Campanella, A. Biancini Darmstadt, 26th Oct 2012

Notas do Editor

  1. Let’s talk about facts FIRST FACT: OpenFlow is a hype and growing protocol with great potentials its powerful consists of the infinite possibilities that it gives, but this also makes it so complex for users, that have to mix competences of programming and network engineering The so called routing is one of the two basic modules that allow the forwarding of packets Powerful but tricky because it requires an in-depth knowledge of other modules (topology, devices, ....) Learning switch, the second module use to forward packet is easier than routing Beginners start from here experimenting the protocol (so rule, actions....) It is also useful to create and debug new modules without having a complex forwarding logic
  2. Fact 2: Fail-over mechanisms require physical loops without the usage of loop-free-technologies -> broadcast storm (ARP, broadcast or multicast protocol....) Common switches use the spanning tree protocol to prevent these kind of situation OF specific says that OF switches show support STP and export the STP_bit to the controller, but most of the virtual switches don’t moreover ususaly controllers can’t intercept and manage these kind of messages coming from the switches PROBLEM: ...leggi slide
  3. We neeed a Plug&Play solution, easy to integrate for beginners as well that makes possible the usage of learning switch with looped topologies, as well if the switches don’t support STP So WE thought to build the MST of the network then deactivating ports outside the minimum spanning tree just computed With these algorithm the goal would be preventing broadcast storm adopting lopped topologies, offering failover mechanisms and saving energy turning electrically off the ports of the switches
  4. - Let’s see how the GreenMST works This is the flow diagram that represents the algorithm CLICK -> each time the controller listen for a new topology change between switches, it generates a linkUpdate event link update event messege contains informations reguarding the change (link added, link removed, .... Which link..) CLICK -> As soon as the linkupdate event arrives, the Minimum Spanning Tree of the updated topology is calculated using the Kruskal algorithm When the computation ends CLICK ports outside the calculated MST are turned off at the same time ports that before were closed, now useful for the new MST are re-opened Once acted on ports their current status (CLICK) is saved for optimization reasons and (CLICK) the system return to the initial state, listening for new linkupdate event
  5. This is a modular view of the solution proposed CLICK -> The already existent topology module keeps the status of the topology updated receiving LLDP notifications Each time a change occurs a new LinkUpdate event is promulgated to the other modules listening for it CLICK -> The GreentMST module intercept the linkUpdate messeges Computes the MST on the new topology informations and turn off/on the ports using the modport command CLICK -> Upper, Learning switch continues to work normaly receiving the PacketIn events from the switches and sending out PacketOuts and flowMods
  6. Spiega come funziona tutto As I was telling you before we build an additional structure has been added to save the last status of the port Port status is saved after each MST computation to do not send a message when it is unusefull