Smart Cloud Federation Simulations with CloudSim Gaetano F. - - PowerPoint PPT Presentation

smart cloud federation simulations with cloudsim
SMART_READER_LITE
LIVE PREVIEW

Smart Cloud Federation Simulations with CloudSim Gaetano F. - - PowerPoint PPT Presentation

Smart Cloud Federation Simulations with CloudSim Gaetano F. Anastasi, Emanuele Carlini, Patrizio Dazzi Contrail is co-funded by the EC 7th Framework Programme under Grant agreement nr. 257438 National Research Council of Italy Clouds are


slide-1
SLIDE 1

National Research Council of Italy

Smart Cloud Federation Simulations with CloudSim

Gaetano F. Anastasi, Emanuele Carlini, Patrizio Dazzi

Contrail is co-funded by the EC 7th Framework Programme under Grant agreement nr. 257438

slide-2
SLIDE 2

National Research Council of Italy

Clouds are spreading...

  • Several different Cloud Providers and Technologies
  • providing very different kind of resources both from the

point of view of:

Abstraction

Features

Usage model

  • Adoption in different sectors
  • Towards a real market of Clouds
slide-3
SLIDE 3

National Research Council of Italy

...but are current Clouds issue-free ?

  • Some Cloud Provides could provide
  • nly specialized resources
  • Who is cheaper for some resources

could be expensive for others

  • Cloud Providers could be located only in one

(or just a few) country

  • User lock-in issue in Clouds
slide-4
SLIDE 4

National Research Council of Italy

How to solve ?

  • A Need for Super-entities seamlessly managing

several Cloud Providers

  • Federation of Clouds is a potential

solution

  • The Contrail approach to Cloud Federations
  • Resource Allocation in Cloud Federations is important
  • Testing it could be not very simple
slide-5
SLIDE 5

National Research Council of Italy

Simulate to Test Solutions

  • Estensively test different allocation solutions in

“real” Cloud Federation is complex and expensive

  • Several possible environments / technologies
  • Different kinds of applications
  • $$$ it costs money $$$
  • Simulators are part of the solution
slide-6
SLIDE 6

National Research Council of Italy

What do we want to simulate in a Federation ?

  • Different Kinds of
  • Applications

inter-arrival

constraints

  • Clouds

Resources

Cost Models

  • Different Strategies for
  • Monitoring
  • Allocation
slide-7
SLIDE 7

National Research Council of Italy

What did we do ?

  • A model for describing Cloud

Federations

  • An extension to CloudSim

addressing Contrail like Cloud Federations

  • Validated our approach conducting some tests
slide-8
SLIDE 8

National Research Council of Italy

The Cloud Federation Model

slide-9
SLIDE 9

National Research Council of Italy

How we model Cloud Federations

  • Application Model
  • Resource Model
  • Application Queue Model
  • Resource Monitoring Model
  • Resource Allocation Model
slide-10
SLIDE 10

National Research Council of Italy

Application Model

  • Graph-based Representation
  • Node = Appliance
  • Edge = Information Exchange
  • Functional Requirements
  • SLA Terms
  • Network Requirements

CPU = ... RAM = ... SLA terms = ... N/W Bandwidth = ...

slide-11
SLIDE 11

National Research Council of Italy

Resource Model

  • Organized in Datacenters
  • IaaS resources
  • Presented as VM slots
  • Internet Estimator for modeling interconnections
slide-12
SLIDE 12

National Research Council of Italy

Application Queue Model

  • Models the arrival of Applications
  • Inter-arrival time
  • Information provided

✤ e.g. amount, quality, ...

slide-13
SLIDE 13

National Research Council of Italy

Resource Monitoring Model

  • Amount and Quality of information about

resources availability

  • Update frequency
  • Aggregation style
slide-14
SLIDE 14

National Research Council of Italy

Resource Allocation Model

  • Association of Resources to Applications
  • Appliance by Appliance
  • Allocation Matrix
  • ci,j means:

j-th datacenter able to run the i-th appliance

  • Computed using both static and dynamic

information

trix Y =    c1,1 · · · c1,P . . . ... . . . cN,1 · · · cN,P    where the element c re

slide-15
SLIDE 15

National Research Council of Italy

The CloudSim Extension

slide-16
SLIDE 16

National Research Council of Italy

SmartFed Simulator

  • Built on top of CloudSim exploiting its:
  • Datacenter
  • Broker
  • CloudLet
  • CloudSim proven to be well-conceived for

reusing and flexibility

  • Why we had to add something ?
slide-17
SLIDE 17

National Research Council of Italy

What is missing in CloudSim ?

  • Datacenters characterization with

non-functional features,

  • e.g. reputation estimation
  • Brokers with complex allocation strategies
  • integrated with the whole SmartFed eco-system
  • CloudLets characterized by explicit relationships with
  • ther CloudLets
slide-18
SLIDE 18

National Research Council of Italy

SmartFed Eco-System

  • Application
  • Application Queue
  • Internet Estimator
  • Monitoring Hub
  • Allocator

SmartFed CloudSim

Storage Monitoring Reputation Federation Datacenter SLA Application Application Vertex Application Edge Queue Allocator allocate

<<use>> <<use>> <<use>> <<use>> <<use>> <<use>> <<use>> <<use>> <<use>> <<use>> <<use>>

Broker Datacenter CloudLet

slide-19
SLIDE 19

National Research Council of Italy

The Validation of the Approach

slide-20
SLIDE 20

National Research Council of Italy

Hands on SmartFed

  • Validation of SmartFed
  • A sample, very classic application
  • Different sizes of applications and

datacenters

  • Very simple allocation algorithm
slide-21
SLIDE 21

National Research Council of Italy

A sample Application

  • Three-tier applications
  • Web front-end
  • Business logic
  • Database
  • 10, 100 and 1000

appliances per application

Web Frontend (Presentation tier)

RAM 2 Ghz CPU type 2 x64 2 GB CPU Freq. Cores

ApplicationServer (Business logic tier) Database (Persistency tier)

1024 Kb/s Security 1000 ms Latency SSL Bandwidth RAM 3 Ghz CPU type 4 x64 16 GB CPU Freq. Cores 512 Kb/s Security 1000 ms Latency SSL Bandwidth RAM 2 Ghz CPU type 2 x64 4 GB CPU Freq. Cores

slide-22
SLIDE 22

National Research Council of Italy

Machines distribution into Clouds (Datacenter entities)

  • Two different kind of distributions
  • Uniform:

each datacenter owns the same number of machines

each datacenter has enough machines to run an instance of the application

  • Normal:

the # of machines in each datacenter follows a normal distribution

some datacenters are not be able to host the application

slide-23
SLIDE 23

National Research Council of Italy

Allocation Algorithm

  • When the Application is received:
  • is decomposed in its VMs
  • a Datacenter d is chosen randomly

among the ones able to run one or more VMs

  • If d has enough room is chosen
  • When d is full, another datacenter is chosen
  • When all the VMs have been assigned, it terminates
slide-24
SLIDE 24

National Research Council of Italy

Experimental Results

                         

10 Datacenters 100 Datacenters

slide-25
SLIDE 25

National Research Council of Italy

Conclusions

  • Modeling of application and cloud resources

targeting (Federation of) Cloud platforms

  • Contrail in particular but a pretty general approach
  • Enhriched CloudSim to support
  • more complex SLA model
  • mechanisms to support off-line mapping of applications
  • Validation of the solution
slide-26
SLIDE 26

National Research Council of Italy

Future Works

  • Extensive validation
  • testing different allocation strategies
  • validation against different Cloud Simulators

e.g. iCanCloud

  • Exploiting different kind of applications and resources
  • possibly using information about real ones
  • Integration of Security Aspects
  • Enhanced Modeling of Queues
  • e.g. with Markov models
slide-27
SLIDE 27

National Research Council of Italy

Acknowledgements

Funded under: FP7 (Seventh Framework Programme) Area: Internet of Services, Software & Virtualization (ICT

  • 2009.1.2)

Project reference: 257438 Total cost: 11,29 million euro EU contribution: 8,3 million euro Execution: From 2010-10-01 untill 2013-09-30 Duration: 36 months Contract type: Collaborative project (generic)

contrail is co-funded by the

EC 7th Framework Programme

http://contrail-project.eu

slide-28
SLIDE 28

National Research Council of Italy

Questions ?