SlideShare a Scribd company logo
1
Segundo Moreno, Antonio Mora, Javier Carmona-Murillo, Pablo Padilla, Pedro Castillo
Universidad de Granada, Universidad de Extremadura
International Conference on Internet of Things:
Systems, Management and Security (IOTSMS 2019)
--| The International Workshop on Efficient and Smart 5G Technologies for IoT (ES5TI) |--
( Granada, October 22-25, 2019 )
2
Hardware to software functions
virtualization
SDN (Software Defined Networks)
NFV (Network Function Virtualization)
 VNF (Virtual Network Functions)
SFC (Service Function Chaining)
 Composition of an ordered list of virtual
network functions (VNF) to execute advanced
services.
 Optimization of network resources.
Optimization of Routing with SFC (OR-SFC)
 Build the shortest path the data should follow between the adjacent VNFs to compose a
requested network service from an origin to a destination.
Source: Estimating VNF resource requirements using machine learning techniques
(Jmila, Houda,Khedher; Mohamed Ibn; El Yacoubi, Mounim A.)
OR-SFC is an optimization NP-Hard problem.
Existing solutions:
Exact solutions: Mainly models based on lineal programming implementations.
Heuristic: Set of rules to follow. They obtain results close to the optimal.
Proposal made in this paper:
 Ant Colony Optimization based solution for OR-SFC (Optimization of Routing
cost for Service Function Chaining)
 First existing proposal to date for the resolution of this problem with this
method (even the first proposal applying effectively a metaheuristic). 3
 Inspired in the behaviour of natural ants
when searching for food.
 They cooperate to get the fastest paths
between the nest and the source of food.
STIGMERGY:
 They use a chemical substance named
pheromone to define trails.
 Ants tend to follow high concentrations.
 Pheromone is evaporated over time. 4Source: WIKIPEDIA CC BY-SA 3.0
5
ARTIFICIAL ANT:
 There are a set of agents called ants.
 All of them move in a weighted graph following
and depositing (artificial) pheromone.
 Pheromone and Heuristic information.
 They cooperate to find a solution (every ant
yields a complete solution).
 Formulae applied in the run:
 state transition rule (STR)  decides the next step for
each ant.
 pheromone updating  contribution and evaporation.
 evaluation function  assigns the cost to every
solution.
6
OUR ANT SYSTEM:
 Considers a STR:
 Pheromone update is done once all the ants have built their solutions:
 Evaporation performed on all the edges/links.
 Contribution is performed only for the edges/links of the best solution.
if
otherwise
7
 Connection: starting node, finish node, demanded capacity, function chain.
 Links: limited bandwidth value (capacity).
 Nodes: offer one or more virtual network functions, each one with required
resources. Node has limited available resources.
8
RESTRICTIONS
Source and destination nodes must be
those indicated in the connection (service
request).
Network functions must be served in the
indicated order.
Links must have enough remaining
capacity.
Nodes must have available resources to
run the desired network function.
9
ALGORITHM ADAPTATION
 Network initialization
 Reachable nodes
 Heuristic (higher available
resources)
 Probability roulette
 Restrictions (bandwidth and
resources)
 Update (link and nodes)
Constraints (complete path)
 Pheromone update (evaporation in
all and contribution only in best)
 Cost of a connection (hops)
 Global cost (set of connections)
10
Ant-SFC ( )
Parameters initialization()
Read network configuration()
Read connections()
/* A solution for each connection is
searched */
for each connection c do
while termination criteria is not
met do
for each ant h do
s[h]=Build Solution(c,h)
end for
/* In all graph links */
Pheromone Evaporation()
/* Used links by the best ant
*/
s*=Choose Best Solution(s[h])
Global Pheromone Update(s*)
end while
/* Links bandwidth and resources of
nodes are updated*/
Network Update(c,s*)
end for
Build Solution (connection, ant id)
Ant initialization(ant id)
Network initialization() /* Set current network values */
current node = initial node.connec
current function = functions.connec[start]
L = save(current node) /* Visited states list */
F = save(current function) /* Served functions list */
while (current node ≠ connec(final node)) AND (current
function ≠ function.connec[end]) do
/* A: feasible nodes list, P: probability of moving to
each feasible node, : problem restrictions */
P = calculate transition probabilities(current node, A,
F, L, )
next node = probability roulette(P, )
/* Links bandwidth are updated */
Link Update(next node)
L = save(next node)
current node = next node
/* If the function is available it is served, and node
resources are updated */
if current function in current.functions node[] then
Update Node(current function)
F = save(current function)
current function = following.connec(functions[])
end if
end while
11
SETUP
There will be 10 executions of each instance
 Parameters considered in the configuration:
Parameter Considered value
α (pheromone weight) 1.2
β (heuristic weight) 2
ρ (evaporation rate) 0.3
Number of Ants Double of numer of nodes (12and 38)
Number of iterations Equal to number of nodes (6 and 19)
12
INSTANCE 1 – 6 NODES
Connection 1: (A, F, 2, [3,5,6])
Connection 2: (A, E, 8, [1,2,4])
Connection 3: (A, D, 5, [2,4,5])
13
INSTANCE 1 – 6 NODES
Average execution time: 138 ms
14
INSTANCE 1 – 6 NODES
Best solution
Connection 1: (A, F, 2, [3,5,6])
Connection 2: (A, E, 8, [1,2,4])
Connection 3: (A, D, 5, [2,4,5])
15
INSTANCE 2 – 19 NODES
Connection 1: (A, F, 2, [3,5,6])
Connection 2: (A, E, 8, [1,2,4])
Connection 3: (A, D, 5, [2,4,5])
16
INSTANCE 2 – 19 NODES
Connection 1: (H, J, 8, [5,1,2]) Connection 4: (R, J, 3, [5,2,3])
Connection 2: (B, D, 8, [4,3,1]) Connection 5: (J, S, 8, [4,1,3])
Connection 3: (Q, B, 1, [2,3,1])
17
INSTANCE 2 – 19 NODES
Average Execution time: 389 ms
Connection 1: (H, J, 8, [5,1,2])
Connection 2: (B, D, 8, [4,3,1])
Connection 3: (Q, B, 1, [2,3,1])
Connection 4: (R, J, 3, [5,2,3])
Connection 5: (J, S, 8, [4,1,3])
18
ACO implementation for the resolution of the Routing problem for SFC
(Service Function Chaining).
Tests performed in realistic scenarios equivalent to 5G network
deployments.
Real-time execution (ACO allows valid solutions to be obtained from
the first iteration).
FUTURE WORK
Adaptation of the algorithm to strong time constraints.
Applying heuristic to guide the search (to nodes that serve network functions).
Local Search Application.
Implementation of other ACO models.
19
Creators.com
CONTACTO:
@amoragar
@Segundo_96
amorag@ugr.es
segundomoto@correo.ugr.es

More Related Content

PDF
Design and Analysis of Second and Third Order PLL at 450MHz
TXT
De thi(1)
PDF
An Efficient Construction of Online Testable Circuits using Reversible Logic ...
DOCX
Data and computer communication exam i
DOCX
Data and computer communication exam lll
PDF
SOLUTION MANUAL OF COMPUTER ORGANIZATION BY CARL HAMACHER, ZVONKO VRANESIC & ...
DOCX
Data and computer communication exam ll
Design and Analysis of Second and Third Order PLL at 450MHz
De thi(1)
An Efficient Construction of Online Testable Circuits using Reversible Logic ...
Data and computer communication exam i
Data and computer communication exam lll
SOLUTION MANUAL OF COMPUTER ORGANIZATION BY CARL HAMACHER, ZVONKO VRANESIC & ...
Data and computer communication exam ll

What's hot (19)

PPTX
hajer
DOCX
Ccna 1 final exam answer v5
PPTX
Shuffle exchange networks
PDF
Advanced Comuter Architecture Ch6 Problem Solutions
DOCX
Lab 4 final report
PPTX
Dynamic interconnection networks
PPT
02 Network Models
PPTX
Week16 lec1
PDF
PDF
Computer Networks Homework Help
PDF
Collision prevention on computer architecture
PPTX
Week13 lec2
PPTX
Week13 lec1
PDF
Quartz crystal microbalance based electronic nose system implemented on Field...
PPT
12 Multiple Access
PDF
Ec8551 communication networks mcq question bank
PDF
E04503052056
DOC
Report for lab 8(1)
hajer
Ccna 1 final exam answer v5
Shuffle exchange networks
Advanced Comuter Architecture Ch6 Problem Solutions
Lab 4 final report
Dynamic interconnection networks
02 Network Models
Week16 lec1
Computer Networks Homework Help
Collision prevention on computer architecture
Week13 lec2
Week13 lec1
Quartz crystal microbalance based electronic nose system implemented on Field...
12 Multiple Access
Ec8551 communication networks mcq question bank
E04503052056
Report for lab 8(1)
Ad

Similar to Applying Ant Colony Optimization for Service Function Chaining in a 5G Network (IEEE IOTSMS 2019) (20)

PDF
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
PPTX
ANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET USING SWARM TECHNOLOGY
PDF
Anthocnet Routing Algorithm for Mobile Ad Hoc Networks
PPTX
Anthocnet routing algorithm
PPT
Ant colony optimization
PPTX
AntColonyOptimizationManetNetworkAODV.pptx
PPTX
Zone based ant colony routing in manet by kumar bharagava (comp.sc. engg)
PPTX
Zone based ant colony routing in manet by kumar bharagava (comp.sc. engg)
PDF
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
PDF
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
PPTX
Ant Colony Optimization for Load Balancing in Cloud
PPT
Ants coony optimiztion problem in Advance analysis of algorithms
PPTX
load balancing ant algo in MANET by navish jindal
PDF
A novel hierarchical ant based qos aware intelligent routing scheme for manets
PPT
ANT-presentation.ppt
PDF
Ant colony optimization
PDF
Research Inventy : International Journal of Engineering and Science
PPT
Ant colony Optimization
PDF
Simulation of Route Optimization with load balancing Using AntNet System
PPT
Aco 03-04-2013
Adaptive Ant Colony Optimization for Service Function Chaining in a Dynamic 5...
ANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET USING SWARM TECHNOLOGY
Anthocnet Routing Algorithm for Mobile Ad Hoc Networks
Anthocnet routing algorithm
Ant colony optimization
AntColonyOptimizationManetNetworkAODV.pptx
Zone based ant colony routing in manet by kumar bharagava (comp.sc. engg)
Zone based ant colony routing in manet by kumar bharagava (comp.sc. engg)
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
AN EFFICIENT ANT BASED QOS AWARE INTELLIGENT TEMPORALLY ORDERED ROUTING ALGOR...
Ant Colony Optimization for Load Balancing in Cloud
Ants coony optimiztion problem in Advance analysis of algorithms
load balancing ant algo in MANET by navish jindal
A novel hierarchical ant based qos aware intelligent routing scheme for manets
ANT-presentation.ppt
Ant colony optimization
Research Inventy : International Journal of Engineering and Science
Ant colony Optimization
Simulation of Route Optimization with load balancing Using AntNet System
Aco 03-04-2013
Ad

More from Antonio Mora (20)

PDF
Study on Genetic Algorithm Approaches to Improve an Autonomous Agent for a Fi...
PDF
Optimización Adaptativa basada en Colonias de Hormigas para la Composición de...
PDF
Research in Videogames. (Much) further than just AI
PDF
GRETIVE: Un Bot Evolutivo para HearthStone basado en Perfiles
PDF
Improving the Performance of MCTS-Based μRTS Agents Through Move Pruning
PDF
Testing hybrid computational intelligence algorithms for general game playing...
PDF
Checking the difficulty of evolutionary-generated maps in a N-Body inspired m...
PDF
Investigación en videojuegos. (mucho) Mas allá de la IA
PDF
Beating uncertainty in racing bot evolution through enhanced exploration and ...
PDF
Inteligencia Computacional en Videojuegos (Meetup GranadAI 2019)
PDF
Free Form Evolution for Angry Birds Level Generation
PDF
Ciencia y Videojuegos (ULP 2019)
PDF
The Evolutionary Race: Improving the Process of Evaluating Car Controllers in...
PDF
Predicción de Quiebra Financiera de Empresas Mediante Equilibrado de Datos y ...
PDF
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
PDF
Sólo puede quedar uno: Evolución de Bots para RTS basada en supervivencia
PDF
Living-UGR: Una aventura gráfica geolocalizada para difundir el patrimonio de...
PDF
Gamification in Teaching - How to motivate students through games
PDF
Ciencia y videojuegos (versión Extracción de Información) [UCA 05/2015]
PDF
Ciencia y Videojuegos (v2)
Study on Genetic Algorithm Approaches to Improve an Autonomous Agent for a Fi...
Optimización Adaptativa basada en Colonias de Hormigas para la Composición de...
Research in Videogames. (Much) further than just AI
GRETIVE: Un Bot Evolutivo para HearthStone basado en Perfiles
Improving the Performance of MCTS-Based μRTS Agents Through Move Pruning
Testing hybrid computational intelligence algorithms for general game playing...
Checking the difficulty of evolutionary-generated maps in a N-Body inspired m...
Investigación en videojuegos. (mucho) Mas allá de la IA
Beating uncertainty in racing bot evolution through enhanced exploration and ...
Inteligencia Computacional en Videojuegos (Meetup GranadAI 2019)
Free Form Evolution for Angry Birds Level Generation
Ciencia y Videojuegos (ULP 2019)
The Evolutionary Race: Improving the Process of Evaluating Car Controllers in...
Predicción de Quiebra Financiera de Empresas Mediante Equilibrado de Datos y ...
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
Sólo puede quedar uno: Evolución de Bots para RTS basada en supervivencia
Living-UGR: Una aventura gráfica geolocalizada para difundir el patrimonio de...
Gamification in Teaching - How to motivate students through games
Ciencia y videojuegos (versión Extracción de Información) [UCA 05/2015]
Ciencia y Videojuegos (v2)

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
Digital-Transformation-Roadmap-for-Companies.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Network Security Unit 5.pdf for BCA BBA.
gpt5_lecture_notes_comprehensive_20250812015547.pdf
A comparative analysis of optical character recognition models for extracting...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
20250228 LYD VKU AI Blended-Learning.pptx
Electronic commerce courselecture one. Pdf
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding

Applying Ant Colony Optimization for Service Function Chaining in a 5G Network (IEEE IOTSMS 2019)

  • 1. 1 Segundo Moreno, Antonio Mora, Javier Carmona-Murillo, Pablo Padilla, Pedro Castillo Universidad de Granada, Universidad de Extremadura International Conference on Internet of Things: Systems, Management and Security (IOTSMS 2019) --| The International Workshop on Efficient and Smart 5G Technologies for IoT (ES5TI) |-- ( Granada, October 22-25, 2019 )
  • 2. 2 Hardware to software functions virtualization SDN (Software Defined Networks) NFV (Network Function Virtualization)  VNF (Virtual Network Functions) SFC (Service Function Chaining)  Composition of an ordered list of virtual network functions (VNF) to execute advanced services.  Optimization of network resources. Optimization of Routing with SFC (OR-SFC)  Build the shortest path the data should follow between the adjacent VNFs to compose a requested network service from an origin to a destination. Source: Estimating VNF resource requirements using machine learning techniques (Jmila, Houda,Khedher; Mohamed Ibn; El Yacoubi, Mounim A.)
  • 3. OR-SFC is an optimization NP-Hard problem. Existing solutions: Exact solutions: Mainly models based on lineal programming implementations. Heuristic: Set of rules to follow. They obtain results close to the optimal. Proposal made in this paper:  Ant Colony Optimization based solution for OR-SFC (Optimization of Routing cost for Service Function Chaining)  First existing proposal to date for the resolution of this problem with this method (even the first proposal applying effectively a metaheuristic). 3
  • 4.  Inspired in the behaviour of natural ants when searching for food.  They cooperate to get the fastest paths between the nest and the source of food. STIGMERGY:  They use a chemical substance named pheromone to define trails.  Ants tend to follow high concentrations.  Pheromone is evaporated over time. 4Source: WIKIPEDIA CC BY-SA 3.0
  • 5. 5 ARTIFICIAL ANT:  There are a set of agents called ants.  All of them move in a weighted graph following and depositing (artificial) pheromone.  Pheromone and Heuristic information.  They cooperate to find a solution (every ant yields a complete solution).  Formulae applied in the run:  state transition rule (STR)  decides the next step for each ant.  pheromone updating  contribution and evaporation.  evaluation function  assigns the cost to every solution.
  • 6. 6 OUR ANT SYSTEM:  Considers a STR:  Pheromone update is done once all the ants have built their solutions:  Evaporation performed on all the edges/links.  Contribution is performed only for the edges/links of the best solution. if otherwise
  • 7. 7  Connection: starting node, finish node, demanded capacity, function chain.  Links: limited bandwidth value (capacity).  Nodes: offer one or more virtual network functions, each one with required resources. Node has limited available resources.
  • 8. 8 RESTRICTIONS Source and destination nodes must be those indicated in the connection (service request). Network functions must be served in the indicated order. Links must have enough remaining capacity. Nodes must have available resources to run the desired network function.
  • 9. 9 ALGORITHM ADAPTATION  Network initialization  Reachable nodes  Heuristic (higher available resources)  Probability roulette  Restrictions (bandwidth and resources)  Update (link and nodes) Constraints (complete path)  Pheromone update (evaporation in all and contribution only in best)  Cost of a connection (hops)  Global cost (set of connections)
  • 10. 10 Ant-SFC ( ) Parameters initialization() Read network configuration() Read connections() /* A solution for each connection is searched */ for each connection c do while termination criteria is not met do for each ant h do s[h]=Build Solution(c,h) end for /* In all graph links */ Pheromone Evaporation() /* Used links by the best ant */ s*=Choose Best Solution(s[h]) Global Pheromone Update(s*) end while /* Links bandwidth and resources of nodes are updated*/ Network Update(c,s*) end for Build Solution (connection, ant id) Ant initialization(ant id) Network initialization() /* Set current network values */ current node = initial node.connec current function = functions.connec[start] L = save(current node) /* Visited states list */ F = save(current function) /* Served functions list */ while (current node ≠ connec(final node)) AND (current function ≠ function.connec[end]) do /* A: feasible nodes list, P: probability of moving to each feasible node, : problem restrictions */ P = calculate transition probabilities(current node, A, F, L, ) next node = probability roulette(P, ) /* Links bandwidth are updated */ Link Update(next node) L = save(next node) current node = next node /* If the function is available it is served, and node resources are updated */ if current function in current.functions node[] then Update Node(current function) F = save(current function) current function = following.connec(functions[]) end if end while
  • 11. 11 SETUP There will be 10 executions of each instance  Parameters considered in the configuration: Parameter Considered value α (pheromone weight) 1.2 β (heuristic weight) 2 ρ (evaporation rate) 0.3 Number of Ants Double of numer of nodes (12and 38) Number of iterations Equal to number of nodes (6 and 19)
  • 12. 12 INSTANCE 1 – 6 NODES Connection 1: (A, F, 2, [3,5,6]) Connection 2: (A, E, 8, [1,2,4]) Connection 3: (A, D, 5, [2,4,5])
  • 13. 13 INSTANCE 1 – 6 NODES Average execution time: 138 ms
  • 14. 14 INSTANCE 1 – 6 NODES Best solution Connection 1: (A, F, 2, [3,5,6]) Connection 2: (A, E, 8, [1,2,4]) Connection 3: (A, D, 5, [2,4,5])
  • 15. 15 INSTANCE 2 – 19 NODES Connection 1: (A, F, 2, [3,5,6]) Connection 2: (A, E, 8, [1,2,4]) Connection 3: (A, D, 5, [2,4,5])
  • 16. 16 INSTANCE 2 – 19 NODES Connection 1: (H, J, 8, [5,1,2]) Connection 4: (R, J, 3, [5,2,3]) Connection 2: (B, D, 8, [4,3,1]) Connection 5: (J, S, 8, [4,1,3]) Connection 3: (Q, B, 1, [2,3,1])
  • 17. 17 INSTANCE 2 – 19 NODES Average Execution time: 389 ms Connection 1: (H, J, 8, [5,1,2]) Connection 2: (B, D, 8, [4,3,1]) Connection 3: (Q, B, 1, [2,3,1]) Connection 4: (R, J, 3, [5,2,3]) Connection 5: (J, S, 8, [4,1,3])
  • 18. 18 ACO implementation for the resolution of the Routing problem for SFC (Service Function Chaining). Tests performed in realistic scenarios equivalent to 5G network deployments. Real-time execution (ACO allows valid solutions to be obtained from the first iteration). FUTURE WORK Adaptation of the algorithm to strong time constraints. Applying heuristic to guide the search (to nodes that serve network functions). Local Search Application. Implementation of other ACO models.