PAFFI: Performance Analysis Framework for Fog Infrastructures in - - PowerPoint PPT Presentation

paffi performance analysis framework for fog
SMART_READER_LITE
LIVE PREVIEW

PAFFI: Performance Analysis Framework for Fog Infrastructures in - - PowerPoint PPT Presentation

PAFFI: Performance Analysis Framework for Fog Infrastructures in realistic scenarios Claudia Canali, Riccardo Lancellotti Department of Engineering Enzo Ferrari University of Modena and Reggio Emilia ICCCS - Oct. 10-12, 2019, Rome 1 Fog


slide-1
SLIDE 1

ICCCS - Oct. 10-12, 2019, Rome 1

PAFFI: Performance Analysis Framework for Fog Infrastructures in realistic scenarios

Claudia Canali, Riccardo Lancellotti

Department of Engineering “Enzo Ferrari” University of Modena and Reggio Emilia

slide-2
SLIDE 2

ICCCS - Oct. 10-12, 2019, Rome 2

Fog computing

  • Cyber-physical systems

– Distributed sensors – → Huge amount of

information to handle

  • Cloud approach:

– High latency – Risk of network

congestion

  • Some critical applications:

– Autonomous driving – Support for smart cities

  • Alternative paradigm

→ Fog computing

– Presence of Fog nodes – Data aggregation and

filtering

– Latency-bound tasks

slide-3
SLIDE 3

ICCCS - Oct. 10-12, 2019, Rome 3

Challenges of Fog computing

  • Service placement

– Which services on fog / cloud

  • Data flows mapping

– Sensor nodes to fog nodes connection

  • Adaptive load balancing

– Cooperation strategies

  • → Need for realistic scenarios

– Use of geo-referenced data – Flexible generation of experimental setups – Help for performance evaluation

slide-4
SLIDE 4

ICCCS - Oct. 10-12, 2019, Rome 4

Introducing PAFFI

  • Performance Analysis Framework

for Fog Infrastructures

  • Realistic scenarios based on geographic data
  • Support for performance analysis

→ OMNeT++ simulation framework

  • Plugin-based approach for topology mapping

→ arbitrary connections among nodes

  • Highly flexible and configurable

→ Python as main development tool

slide-5
SLIDE 5

ICCCS - Oct. 10-12, 2019, Rome 5

Performance model

  • Performance based on queuing theory
  • 3 types of nodes: sensor, fog, cloud
  • Description of node behavior:

– Outgoing data rate from sensor i:λi – Processing rate at fog node j: μj

  • Topology connections:

– Sensor → Fog connections: xi,j – Fog → Cloud connections: yj,k – Network delay: δi,j δj,k

slide-6
SLIDE 6

ICCCS - Oct. 10-12, 2019, Rome 6

Introducing PAFFI

  • Contributions to response time:

– Sensor → Fog avg net delay – Fog → Cloud avg net delay – Fog processing time

  • Parameters to describe scenarios

– Avg net delay – Net / Proc balance – System load

slide-7
SLIDE 7

ICCCS - Oct. 10-12, 2019, Rome 7

Framework architecture

  • 3 main components
  • Use of external services

– Nominatim API (Open Street Map) – AMPL optimization language – OMNeT++ simulation framework

slide-8
SLIDE 8

ICCCS - Oct. 10-12, 2019, Rome 8

Geo-referencing

  • Input: list of POIs
  • Output: geo-referenced and validated data
slide-9
SLIDE 9

ICCCS - Oct. 10-12, 2019, Rome 9

Scenario generation

  • Connect topology:

– Naive connection

(nearest node)

– Optimized connection (AMPL)

  • Sub-sample data
  • Create scenario

(δi,j δj,k λi μj)

New connection policies can be easily added

slide-10
SLIDE 10

ICCCS - Oct. 10-12, 2019, Rome 10

Performance evaluation

  • Create OMNeT++ files:

– Simulated network description (.ned) – Simulation parameters (.ini)

  • Use of template files
slide-11
SLIDE 11

ICCCS - Oct. 10-12, 2019, Rome 11

PAFFI in action

  • Use of geo-referenced data:

– Traffic/Air pollution

monitoring in Modena

  • Scenario Comparison

– Naive model – Optimized model

  • Representation of

sensor → fog mapping

  • Uneven distribution of

sensors over fog nodes

Naive Optimized

slide-12
SLIDE 12

ICCCS - Oct. 10-12, 2019, Rome 12

Simulations

  • Scenario:

– Delay:δμ = 10ms – Net/Proc: δμ = 1 – Load: ρ = 0.5

  • Creation of simulation

– Leverage OMNeT++ GUI – Built-in analysis tools

Naive Optimized

slide-13
SLIDE 13

ICCCS - Oct. 10-12, 2019, Rome 13

Performance analysis

Parameter Naive Mappping Optimized mapping Utilization 0.30, ~1, 0.075 0.54, 0.53, 0.45 Queue length 0.07, >1987, 0.0031 0.33, 0.32, 0.19 Queuing time [ms] 2.2, >17650, 0.41 6.0, 5.9, 4.1 Response time [ms] >12807 30.8 Queuing time [ms] >12786 5.4 Processing time [ms] 10 10

  • Preliminary performance comparison

– Evidence of overload in a fog node for naive

mapping

– No performance degradation when

connections are optimized

Cloud Fog

slide-14
SLIDE 14

ICCCS - Oct. 10-12, 2019, Rome 14

Performance analysis

Naive Optimized

slide-15
SLIDE 15

ICCCS - Oct. 10-12, 2019, Rome 15

  • Focus on naive mapping
  • Given #sensors, #fog

– Sensors for each fog node? – Probability distribution

  • Analysis:

– Estimate risk of congestion – Create realistic

heterogeneous scenarios → for load sharing

  • Just another script

– Create topology – Collect data

Another example

  • Observation:

– Distribution: truncated

Gaussian

– Mean and variance can be

quantified

slide-16
SLIDE 16

ICCCS - Oct. 10-12, 2019, Rome 16

PAFFI is available now! Find it in my homepage:

http://web.ing.unimo.it/rlancellotti/

Or send me an email: riccardo.lancellotti@unimore.it