+ All Categories
Home > Documents > Cura : A Cost-optimized Model for MapReduce in a Cloud

Cura : A Cost-optimized Model for MapReduce in a Cloud

Date post: 04-Jan-2016
Category:
Upload: finnea
View: 57 times
Download: 1 times
Share this document with a friend
Description:
Cura : A Cost-optimized Model for MapReduce in a Cloud. Balaji Palanisamy , Aameek Singh, Ling Liu and Bryan Langston. Data Growth. Worldwide Corporate Data Growth. 80 % of data growth:. IT.com analyses the. unstructured data. Exabytes. Source: IDC, The Digital Universe 2010. - PowerPoint PPT Presentation
Popular Tags:
17
Cura: A Cost-optimized Model for MapReduce in a Cloud Balaji Palanisamy, Aameek Singh, Ling Liu and Bryan Langston
Transcript
Page 1: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

Cura: A Cost-optimized Model for MapReduce in a Cloud

Balaji Palanisamy, Aameek Singh, Ling Liu and Bryan Langston

Page 2: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

2

Data Growth

2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 20200

5000

10000

15000

20000

25000

30000

35000

40000

Exab

ytes

Worldwide Corporate Data Growth

80% of data growth:

IT.com analyses the

unstructured data

Source: IDC, The Digital Universe 2010

Structured data

Unstructured data

Page 3: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

3

MapReduce in a Cloud• MapReduce and Big Data Processing

– Programming model for data-intensive computing on commodity clusters

– Pioneered by Google• Processes 20 PB of data per day

– Scalability to large data volumes– Scan 100 TB on 1 node @ 50 MB/s = 24 days– Scan on 1000-node cluster = 35 minutes

– It is estimated that, by 2015, more than half the world's data will be processed by Hadoop – Hortonworks

• MapReduce Applications• At Google, Yahoo, Facebook:

– Index building for Google Search, Ad optimization and Spam detection

• Bioinformatics/ Biomedical– Large scale DNA Sequence analysis and Biomedical computing

Page 4: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

MapReduce Execution Overview User

Program

reduce

reduce

Master

map

map

map

fork fork fork

assignmap

assignreduce

readlocalwrite

remoteread,sort

OutputFile 0

OutputFile 1

write

Split 0Split 1Split 2

Input Data

Page 5: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

5

MapReduce in a Cloud• MapReduce as a Cloud service – an attractive usage model

• Enterprises can analyze large amounts of data without creating large infrastructures of their own.

• Attractive features:

– Elastic Scalability: 100s of nodes available in minutes– Pay per-use– On demand creation of virtual MapReduce clusters of any required size

• Existing Dedicated MapReduce Clouds

• Natural extensions of Virtual Machines as a service model• Performance and cost-inefficiency

Page 6: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

6

Existing Per-job Optimized Models: Per-job customer-side greedy optimization may not be globally optimal Higher cost for customers

Cura Usage Model:User submits job and specifies the required service quality in terms of job response time and is charged only for that service quality

Cloud provider manages the resources to ensure each job’s service requirements

Other Cloud Managed Resource models:

Database as a Service ModelEg: Relational Cloud (CIDR 2011)Cloud managed model for Resource management

Cloud managed SQL like query serviceDelayed query model in Google Big Query execution results in 40% lower cost

Need for Cost-optimized Cloud Usage Model

Page 7: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

7

Job# Arrival time Deadline Running time Optimal no.

Of VMs1 20 40 20 202 25 50 20 203 30 75 20 204 35 85 20 20

Job # 1 2 3 4Start time 20 25 30 35

Job # 1 2 3 4Start time 20 25 40 45

User Scheduling Vs Cloud Scheduling

User Scheduling

Cloud Scheduling

80 concurrent VMs

40 concurrent VMs

Page 8: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

8

Cura System Architecture

Page 9: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

9

Static Virtual Machine setsCluster of physical machines

Pool of small instances

Pool of Large instances

Pool of extra large instances

Page 10: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

10

Static Partitioning of Virtual Machine sets

Cluster of physical machinesPool of small instances

Pool of Large instances

Pool of extra large instances

Page 11: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

11

Problem Statements• Resource Provisioning and Scheduling

– Optimal scheduling– Optimal Cluster Configuration – Optimal Hadoop Configuration

• Virtual Machine Management– Optimal capacity planning– Right set of VMs(VM types) for current workload?– Minimize Capital expenditure and Operational expenses

• Resource Pricing– What is the price of each job based on its service quality and job

characteristics?

Page 12: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

12

• Scheduler needs to decide on which instance type to use for the jobs

• The job scheduler has two major goals:– (i) complete all job execution within the deadlines– (ii) minimize operating expense by minimizing resource usage

VM-aware Job Scheduling

Multi-bin backfilling

Page 13: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

VM-aware Scheduling Algorithm• Goal:

– VM-aware scheduler decides (a) when to schedule each job in the job queue, (b) which VM instance pool to use and (c) how many VMs to use for the jobs.

• Minimum reservations without under-utilizing any resources.• Job Ji has higher priority over Job Jj if the cost of scheduling Ji is higher.

• For each VM pool picks the highest priority job, Jprior in the job queue and makes a reservation.

• Subsequently, the scheduler picks the next highest priority jobs in the job queue by considering priority only with respect to the reservations that are possible within the current reservation time windows of the VM pools.

• Runs in O(n2) time• Straight forward to obtain a distributed implementation to scale further

Page 14: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

14

Reconfiguration-aware SchedulerWhen two new jobs need a cluster of 9 small instances and 4 large instances respectively, the scheduler has the following options:

1) Wait for some other clusters of small instances to complete execution

2) Run the job in a cluster available of extra large instances

3) Convert some large or extra large instances into multiple small instances

Reconfiguration-unaware Scheduler

Reconfiguration-aware Scheduler

Page 15: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

15

Number of servers and Effective Utilization

• Cura requires 80% lower resources than conventional cloud models• Cura achieves significantly higher resource utilization

200 400 600 800 10000

2000400060008000

1000012000

Dedicated Cluster Per-job ClusterCura

Deadline

No

of S

erve

rs

200 400 600 800 10000

0.10.20.30.40.50.60.70.8

Dedicated Cluster Per-job ClusterCura

Deadline

Effec

tive

Util

izati

onFig 5. No. of Servers Fig 6. Effective Utilization

Page 16: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

16

Response time and Cost

• With lower number of servers, Cura provides short response times• Cura incurs much lower infrastructure cost

200 400 600 800 10000

100

200

300

400

Dedicated Cluster Per-job ClusterCura

Deadline

Resp

onse

tim

e (s

ec)

200 400 600 800 10000

0.5

1

1.5

2

Dedicated Cluster Per-job ClusterCura

Deadline

Cost

Fig 7. Response time Fig 8. Cost

Page 17: Cura : A Cost-optimized Model for  MapReduce  in a Cloud

More results in our IPDPS 2013 paper:B. Palanisamy, A. Singh, L. Liu and B. Langston, “Cura: A Cost-optimized Model for MapReduce in a Cloud”, IPDPS 2013

Thank you & Questions


Recommended