Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University)...
-
Upload
darleen-armstrong -
Category
Documents
-
view
222 -
download
0
Transcript of Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University)...
Self-Adaptive QoS Guarantees and Optimization in Clouds
Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University)
John Chinneck (Carleton University) Marin Litoiu (York University)
Outline(CERAS) Cloud OverviewOptimization for Clouds: DefinitionOptimization MethodCase Studies
2
Centre of Excellence for Research in Adaptive Systems
ParticipantsIBMOntario GovernmentOntario Cancer InstituteUofWaterloo, UofToronto, Queen’s, Carleton, York University
Three complementary research thrusts to enable cloud computingService and resource virtualization: what do we offer in a cloud?Programming models for web services: how do we add value?Adaptive computing: how do we manage the cloud?
DeliverablesA cloud infrastructure (CERAS Cloud)Algorithms and methods to manage the cloud infrastructureServices
Tools in cloudDesktops Web services and applications
Demonstrate how emerging application can be run more effectively in a cloud infrastructure
Cloud = SaaS+Virtualization …
Delivering software functionality online, similar to the one installed on your machine. Flavours
Infrastructure as a ServiceSoftware as a ServicePlatform as a ServiceDesktop as a Service
4
– Pricing models
• pay per usage ( Amazon)
• pay a subscription (Microsoft and
Salesforce)
• pay per transaction (Expedia)
• use it for free (Google)
DesktopOffice
DatabasesOS
Network DatabaseStorageCPU
ServersWeb servers
ERP CRM Software dev tools
Management in CERAS Cloud
5
Two Deployment Scenarios
6
Outline(CERAS) Cloud OverviewOptimization for Clouds: DefinitionOptimization MethodCase Studies
7
Optimization for CloudsNecessities
Economic: cost and profit; time: installation, maintenance Quality of maintenance and configurations
ChallengesScalability and complexity:
thousands to millions of various decisions. Service selection, Service deployment, Workloads balanceOptimization must be efficient enough for real-time management.
Guaranteed QoS: SLA to workloads and components, software and hardware delays
Constraints from system and businesscapacity and availability of resources and budgets
Interaction of configurationsDynamic in virtualization
8
Feedback Control for QoS and Optimization
9
1. Karman Filter for estimation and prediction2. Quantitative model : Performance Model, 3. Qualitative model: an Optimization Model that can be
solved effectively and efficiently4. Execute Optimal decisions
Model-based Optimization Architecture
10
Service System Metamodel
11
Outline(CERAS) Cloud OverviewOptimization for Clouds: DefinitionOptimization MethodCase Studies
12
Scalable Network Flow Model
13
.
.
.
.
.
.
1
2
3
4
h
.
.
.
[ 0 , , ]1 1C
[ 0 , , ]2 2C
[ 0 , , ]3 3C
[ 0 , , ]4 4C
[ 0 , , ]m mC
1
2
3
4
s
.
.
.
.
.
.Hosts
Services
13
Classes of Users
1 1[ , , ]SLAf P
11
21
22
3n
42
4n
sn
.
.
.
.
.
.
1
2
n
11d
21d
22d
42d
3nd
4nd
snd
1
1
1
2 2[ , , ]SLAf P
[ , , ]oSLA of P
1
2
3
4
t
.
.
.
ServerTasks
5
.
.
.
.
.
.
.
.
.
.
.
.
15
21
24
33
42
4t
ht
11
12
23
32
42
44
53
5s
4t
• NFM presents the states of the system as an Optimization Model• Parameters of the NFM are updated at runtime• Scalable to millions of configurations and decisions
• Applications: Decisions among replication, migration, on or off etc• Workloads: Dynamic workload management• Resources: License/memory/CPU requirements and availability• Costs (or profits): penalization and rewards• QoS management
Optimization Loop
14
1. Network optimization allocates the flows to optimize costs and meet average delay constraints, without knowledge of contention delay
2. LQN performance model calculates contention delay
3. Contention delay is inserted into the network model and allocation is iterated
4. Result is an allocation that minimizes costs and meets delay constraint, including contention.
Outline(CERAS) Cloud OverviewOptimization for Clouds: DefinitionOptimization MethodCase Studies
15
Simplified Cost ModelAssumption: no request cyclesObjective Function
Constraints
16
Case Study I: Min RT, Min Cost
17
Case Study II: ScalabilityConsider a cloud with many services all structured like this one
18
A fragment of the network flow model
Case Study II cont
19
Full optimization can save around 20% hosts in useFull optimization can significantly save costshowever, full optimization may increase the cost of contentions.
Utilizations are increased to the desired upper bound in Full Optimization
ConclusionsThe combination of NFM and nonlinear performance model
Effectively optimizing many interacted configurations subject to quite a few QoS and economic constraints
New optimization algorithmsScalability, Efficiency, Flexibility, Autonomic Tuning
Full optimization is best but it is less practicalRisks and overhead
In practice, cloud administrators will settle with incremental optimization
and launch full optimization when the COST becomes high
20
21