arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.03872cs.DC
收藏

基于容器的云虚拟机基准测试

Container-Based Cloud Virtual Machine Benchmarking

Blesson Varghese, Lawan Thamsuhang Subba, Long Thai, Adam Barker

摘要:

随着各种云虚拟机(VM)的可用性,很难确定哪些VM可以最大化应用程序的性能。基准测试通常用于捕获VM的性能。大多数云基准测试技术通常都是重量级的,耗时的过程,必须对整个VM进行基准测试才能获得准确的基准测试数据。这样的基准不能在云上实时使用,甚至在部署应用程序之前也会产生额外的成本。在本文中,我们提出了轻量级云基准测试技术,这些技术可以快速执行,并可以在云上近乎实时地使用。轻量级基准测试技术的探索通过DocLite - Docker Container-based Lightweight Benchmarking的开发得到了促进。DocLite构建在Docker容器技术之上,允许对VM的用户定义部分(例如内存大小和CPU核心数量)进行基准测试。DocLite以两种模式运行,在第一种模式下,容器用于对VM的一小部分进行基准测试以生成性能排名。在第二模式中,历史基准数据与第一模式一起作为混合使用以生成VM排名。生成的排名进行评估,对三个科学的高性能计算应用程序。所提出的技术比对整个VM进行基准测试的重量级技术快91倍。据观察,第一种模式可以产生排名超过90%和86%的准确性顺序和并行执行的应用程序。混合模式稍微提高了相关性,但第一种模式足以对云虚拟机进行基准测试。

英文摘要:

With the availability of a wide range of cloud Virtual Machines (VMs) it is difficult to determine which VMs can maximise the performance of an application. Benchmarking is commonly used to this end for capturing the performance of VMs. Most cloud benchmarking techniques are typically heavyweight - time consuming processes which have to benchmark the entire VM in order to obtain accurate benchmark data. Such benchmarks cannot be used in real-time on the cloud and incur extra costs even before an application is deployed. In this paper, we present lightweight cloud benchmarking techniques that execute quickly and can be used in near real-time on the cloud. The exploration of lightweight benchmarking techniques are facilitated by the development of DocLite - Docker Container-based Lightweight Benchmarking. DocLite is built on the Docker container technology which allows a user-defined portion (such as memory size and the number of CPU cores) of the VM to be benchmarked. DocLite operates in two modes, in the first mode, containers are used to benchmark a small portion of the VM to generate performance ranks. In the second mode, historic benchmark data is used along with the first mode as a hybrid to generate VM ranks. The generated ranks are evaluated against three scientific high-performance computing applications. The proposed techniques are up to 91 times faster than a heavyweight technique which benchmarks the entire VM. It is observed that the first mode can generate ranks with over 90% and 86% accuracy for sequential and parallel execution of an application. The hybrid mode improves the correlation slightly but the first mode is sufficient for benchmarking cloud VMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑