Skip to main content
QUICK REVIEW

[論文レビュー] ADARES: Adaptive Resource Management for Virtual Machines

Ignacio Cano, Lequn Chen|arXiv (Cornell University)|Dec 5, 2018
Cloud Computing and Resource ManagementComputer Science参考文献 52被引用数 3
ひとこと要約

AdaResは、文脈的バンディットと転移学習を用いて仮想マシン(VM)のvCPUとメモリを動的にチューニングする、適応的リソース管理システムである。実企業クラスタで予測可能なVMパフォーマンスを維持しながら、CPUとメモリの割り当てをそれぞれ最大35%および60%削減する。

ABSTRACT

Virtual execution environments allow for consolidation of multiple applications onto the same physical server, thereby enabling more efficient use of server resources. However, users often statically configure the resources of virtual machines through guesswork, resulting in either insufficient resource allocations that hinder VM performance, or excessive allocations that waste precious data center resources. In this paper, we first characterize real-world resource allocation and utilization of VMs through the analysis of an extensive dataset, consisting of more than 250k VMs from over 3.6k private enterprise clusters. Our large-scale analysis confirms that VMs are often misconfigured, either overprovisioned or underprovisioned, and that this problem is pervasive across a wide range of private clusters. We then propose ADARES, an adaptive system that dynamically adjusts VM resources using machine learning techniques. In particular, ADARES leverages the contextual bandits framework to effectively manage the adaptations. Our system exploits easily collectible data, at the cluster, node, and VM levels, to make more sensible allocation decisions, and uses transfer learning to safely explore the configurations space and speed up training. Our empirical evaluation shows that ADARES can significantly improve system utilization without sacrificing performance. For instance, when compared to threshold and prediction-based baselines, it achieves more predictable VM-level performance and also reduces the amount of virtual CPUs and memory provisioned by up to 35% and 60% respectively for synthetic workloads on real clusters.

研究の動機と目的

  • 数千の企業クラスタにわたる実世界のVMリソース割り当てと利用状況を同定すること。
  • 静的で推測に基づく設定による過剰割り当てと不足割り当てという一般的な問題を特定すること。
  • 機械学習を用いてVMリソースを動的に調整する適応的システムAdaResの設計および実装すること。
  • シミュレーションベースの事前学習と転移学習を活用して、設定空間の安全かつ効率的な探索を可能にすること。
  • 予測可能なVMパフォーマンスを維持しながら、全体のリソース効率を向上させること。

提案手法

  • AdaResは文脈的バンディットフレームワークを採用し、VMのvCPUおよびメモリ割り当てについてリアルタイムでデータドリブンな意思決定を行う。
  • クラスタ、ノード、VMレベルのメトリクスを含む多層階のシステムテレメトリを活用して、リソース適応の意思決定を支援する。
  • ベンチマークデータから構築したクラスタシミュレータを用いて事前学習することで、生産環境への迅速かつ安全な展開を可能にする転移学習を採用する。
  • シミュレータによりモデルのオフラインウォームアップが可能となり、生産環境でのリスクの高いオンライン探索を軽減し、実クラスタでの収束を加速する。
  • 履歴およびリアルタイムのワークロード特性を用いて、探索と活用のバランスを取る文脈的バンディット定式化を適用する。
  • 従来のクラスタスケジューラと互換性があり、VMワークロードや下位インフラの変更を必要としない。

実験結果

リサーチクエスチョン

  • RQ1実企業クラスタにおけるVMの過剰割り当てや不足割り当てはどの程度まで広がっているか?
  • RQ2時間経過に伴うワークロードの変動が、静的リソース割り当ての有効性にどのように影響するか?
  • RQ3文脈的バンディットに基づくシステムは、生産環境において安全かつ効率的にVMリソース割り当てを適応可能か?
  • RQ4シミュレート環境からの転移学習は、オンラインリソース適応の性能と安全性をどのように向上させるか?
  • RQ5しきい値ベースおよび予測ベースのベースラインと比較して、どの程度のリソース節約とパフォーマンス安定性が達成できるか?

主な発見

  • AdaResは合成ワークロードにおいて、ベースライン手法と比較して仮想CPUの割り当てを最大35%、メモリの割り当てを最大60%削減する。
  • 動的ワークロード下でも、しきい値ベースおよび予測ベースのベースラインよりもより予測可能なVMレベルのパフォーマンスを達成する。
  • クラスタシミュレータからの転移学習により、生産クラスタでのトレーニングが最大2倍速くなり、探索の安全性も向上する。
  • 大規模な分析から、3.6千以上の企業クラスタにまたがる25万件以上のVMにおいて、広範な過剰割り当てと不足割り当てが確認された。
  • リソースの誤設定は広範かつ持続的であり、時間的およびVM間での利用状況のばらつきが顕著に見られた。
  • クラスタ、ノード、VMの多層階テレメトリの活用により、より的確で効果的なリソース割り当て意思決定が可能になった。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。