Performance-Aware Scheduling for Data-Intensive Cloud Computing
- 作者
- Shadi Ibrahim
- 导师
- Hai Jin
- 学校
- 华中科技大学
- 专业
- 计算机体系结构
- 分类号
- TP311.13 数据库理论与系统
- 学位
- 博士学位论文
- 年份
- 2011
- 下载次数
- 41
- 被引次数
- 0
- Cloud computing
- Virtualization
- MapReduce
- Hadoop
- Replica-aware
- Skew partitioning
- Meta-Scheduler
- fairness
摘要
Data volumes are ever growing, from traditional applications such as databases and scientific computing to emerging applications like Web 2.0 and online social networks. This has driven intensive research on scalable data intensive systems, including MapReduce and Dryad. Among those systems, Hadoop, an open-source MapReduce implementation, is widely adopted by companies such as Facebook and Google, and academia. Recently, MapReduce has been deployed in the cloud as a software-as-a-service. Due to its wide adoption, the performance of Hadoop in particular (and MapReduce in general) has received much attention in system research. Meanwhile, virtual machines (VM) have become increasingly important for supporting efficient and flexible resource provisioning. By means of this technique, cloud computing provides users with the ability to perform elastic computation using large pools of VMs, without facing the burden of owning or maintaining physical infrastructure. To this end, when building large scale data intensive systems-data intensive cloud computing-developers need to understand the principles of designing large systems to get performance guarantees, load balancing and fair charging for use of resources. Performance in data-intensive cloud computing is contributed by many factors including data locality, application types and the underlying cloud infrastructure which is mainly VM-based.First of all, a novel replica-aware map execution named Maestro is presented to overcome the non-local map execution in MapReduce system. In Maestro, map tasks are scheduled in two phases. The first one, first wave scheduling, schedules the maps when the job initializes to fill all the empty slots, and the second one, run time scheduler, schedules the map tasks according to data locality, node availability and block weight, which is the probability of the best replication to schedule the task. Interestingly, Maestro not only can efficiently achieve higher locality in MapReduce-like systems, but can also reduce unnecessary Map task speculation and balance the intermediate data distribution before the shuffle phase.The existing MapReduce system overlooked the data skew problem that occurs when significant variance in both intermediate keys’ frequencies and their distributions among the different data nodes is introduced, referred to as Partitioning Skew. Experimental results with Hadoop demonstrate that, in the presence of partitioning skew, the applications experience performance degradation due to the long data transfer during the shuffle phase along with the computation skew, particularly in the reduce phase. To address this problem, a novel algorithm for locality-aware and fairness-aware key partitioning in MapReduce is developed, referred as LEEN. LEEN embraces an asynchronous map and reduce scheme. All buffered intermediate keys are partitioned according to their frequencies and the fairness of the expected data distribution after the shuffle phase. LEEN can not only efficiently achieve higher locality and reduce the amount of shuffled data, but also LEEN guarantees fair distribution of the reduce inputs.In the cloud, the computing unit is virtual machine (VM) based; therefore, it is important to demonstrate the applicability of data-intensive computing on a virtualized data center. Although virtualization brings many benefits such as resource utilization and isolation, it poses, due to VM interference, a challenging problem for performance predictability and system throughput for large-scale virtualized environments. To this end, a quantitative analysis on the impact of interference on the system fairness is presented. Because Cloud is an economics-based distributed system, the concept of pricing fairness is adopted from micro economics. As a result, the current pay-as-you-go is neither personally nor socially fair. Accordingly, to solve the unfairness caused by interference, new pricing scheme (pay-as-you-consume) is proposed. In the pay-as-you-consume pricing scheme, users are charged according to their effective resource consumption excluding interference. The key idea behind the pay-as-you-consume pricing scheme is a machine learning based prediction model on the relative cost of interference. The preliminary experimental results with Xen demonstrate the accuracy of the prediction model, and the fairness of the pay-as-you-consume pricing scheme.The introduction of virtualization in Hadoop clusters poses new challenges due to the architectural design of the hypervisor. A series of experiments are conducted to measure and analyze the performance of Hadoop on VMs in terms of Hadoop Distributed File System (HDFS) throughput, performance variation with different VM consolidation and configuration, and task speculation. As a result, this dissertation outlines several issues that will need to be considered when implementing MapReduce to fit completely on virtual machines-such as decoupling the storage system (HDFS) from the computation unit (VMs). Later, a novel MapReduce framework that runs on virtual machines, called Cloudlet, is proposed.Virtualization interferences are contributed to by intertwined factors including the application’s type, the number of concurrent VMs, and the VM scheduling algorithms used within the host. Further studies revealed that selecting the appropriate disk I/O scheduler pairs can significantly affect the applications performance. Furthermore, a typical Hadoop application consists of different interleaving stages, each requiring different I/O workloads and patterns. As a result, the disk scheduler pairs are not only sub-optimal for different MapReduce applications, but are also sub-optimal for different sub-phases of the whole job. Accordingly, a novel approach for adaptively tuning the disk scheduler pairs in both the hypervisor and the virtual machines during the execution of a single MapReduce job is proposed. Experimental results show that MapReduce performance can be significantly improved; specifically, adaptive tuning of disk scheduler pairs achieves a 25% performance improvement on a sort benchmark with Hadoop.
目录
Abstract 4-9
1 INTRODUCTION 9-28
1.1 CLOUD COMPUTING 10-12
1.2 GOOGLE MAPREDUCE 12-14
1.3 VIRTUALIZATION TECHNOLOGY 14-19
1.4 RELATED WORK 19-26
1.5 THESIS ORGANIZATION 26-28
2 REPLICA-AWARE TASK SCHEDULING 28-42
2.1 MAP SCHEDULING IN HADOOP 28-30
2.2 EMPIRICAL STUDY ON NON-LOCAL MAPS IMPACRS 30-34
2.3 MAESTRO DESIGN 34-39
2.4 PERFORMANCE EVALUATION 39-41
2.5 SUMMARY 41-42
3 LOCALITY AND FAIRNESS-AWARE KEY PARTITIONING 42-56
3.1 BACKGROUND 42-45
3.2 EMPIRICAL STUDY ON THE IMPACTS OF PARTITIONING SKEW 45-47
3.3 LEEN DESIGN 47-51
3.4 PERFORMANCE EVALUATION 51-55
3.5 SUMMARY 55-56
4 VIRTULAIZATION INTERFERENCE COST 56-76
4.1 BACKGROUND 56-59
4.2 EMPIRICAL STUDY ON INTERFERENCE IN XEN 59-61
4.3 KEY RESULTS AND DISCUSSION 61-68
4.4 PAY-AS-YOU-CONSUME SCHEME 68-74
4.5 SUMMARY 74-76
5 MAPREDUCE ON VIRTUAL MACHINES 76-88
5.1 BACKGROUND 76-77
5.2 EVALUATING METHODOLOGY AND HARDWARE PLATFORM 77-79
5.3 EXPERIMENTS RESULTS 79-83
5.4 DISCUSSION AND OPEN ISSUES 83-84
5.5 CLOUDLET 84-86
5.6 PERFORMANCE EVALUATION 86-87
5.7 SUMMARY 87-88
6 ADAPTIVE DISK SCHEDULING FOR MAPREDUCE 88-110
6.1 BACKGROUND 88-90
6.2 EMPIRICAL STUDY OF HADOOP ON XEN-CLUSTER 90-97
6.3 A META-SCHEDULER FOR ADAPTIVE DISK I/O SCHEDULER SELECTION 97-104
6.4 PERFORMANCE EVALUATION 104-107
6.5 DISCUSSION 107-108
6.6 SUMMARY 108-110
7 CONCLUSIONS 110-113
ACKNOWLEDGMENTS 113-115
REFERENCES 115-127
LIST OF ABBREVIATIONS 127-128
APPENDIX 1 PUBLICATION 128-130
APPENDIX 2 RESEARCH EXPERINECE 130-131
相关论文
- 云环境下故障检测研究
- 基于集群计算的网络信息采集系统的设计与实现
- 基于hadoop的网络安全日志审计系统关键技术研究
- 云平台下基于可信性的资源调度策略研究
- 基于Hadoop的高性能文本聚类算法的设计与实现
- 基于支持向量机的图像分类方法研究
- 面向主题的多源Web上结构化数据集成的研究与实现
- 基于Hadoop的多维数据仓库数据划分与查询技术研究与实现
- 面向聚类分析的迭代MapReduce计算模型研究
- 基于云计算的海量数据挖掘处理与研究
- 基于Hadoop的同源性搜索GO功能注释平台的研究
- 基于神经网络的分类器设计及优化
- 基于MapReduce的Data Cube相关技术的研究
- 云计算中MapReduce框架的研究与改进
- 基于Hadoop的三维模型管理系统设计与实现
- 基于Hadoop的视频爬虫系统的设计与实现
- 异构计算环境下MapReduce工作流调度优化算法研究
- 异构分布式环境下基于MapReduce模型的任务调度算法研究
- 仿生算法的动态反馈机制及其并行化实现方法研究
- 云计算平台作业调度算法优化研究