2012年5月1日火曜日

SLES11 SP2 CMMA(CMM2)のサポート復活

SLES11 SP2 CMMA(CMM2)サポートされたようだ。
うーん。SP2にあげてどれくらいメモリ改善されるのか試してみたいな(・´з`・)
開発機にVM1台作って、検証しようかな。。


CMMAは、Cooperative Memory Management Assistの略で、z/VMとゲストLinux間でメモリ属性情報を交換してメモリ管理を最適化してくれる機能で、
以下のような特徴がある。




•Linuxのメモリ開放をz/VMが認識し、優先的にその領域を再利用
•z/VMはクリーン(未使用)ページを認識し、ページアウトを省略して領域を開放する
 ページング発生時のI/O量を減少し、パフォーマンスへの影響を軽減


・CMM Stage 1 (Memory Ballooning)は z/VM 5.2で対応済
・CMM Stage 2 (Guest Page hinting) 対応機能z/VM 5.3で対応済

ステージを分けて、1と2があるんだけど、ともにSLES10では対応してたんだけど、
なぜか、SLES11で使えなくなってた(´;ω;`)
 
SLES11 GAとSP1のReleaseNotesでは以下のような記述があった。


----
Collaborative memory management Stage II (CMM2) currently not available
IBM and Novell are working to integrate this technology into the Linux Kernel and move it to a supported solution in SUSE Linux Enterprise Server as soon as available upstream.

共同メモリ管理ステージII(CMM2)は、現在利用できない。IBMとNovellは、Linuxカーネルにこの技術を統合する作業をしている。
----

SLES11 SP2のReleaseNotesでは以下のようにサポートの記述がある。


----
Collaborative Memory Management Stage II (CMM2) Lite
SLES 11 SP2 supports CMM2 Lite for optimized memory usage and to handle memory overcommitment via memory page state transitions based on "stable" and "unused" memory pages of z/VM guests using the existing arch_alloc_page and arch_free_page callbacks.


メモリオーバーコミットを処理するためにCMM2 Liteをサポートしています。
----

その他SP2ではCMM1の性能改善や、z/VM6.2で使用できるようになったLGRの前提条件としてCMMAがonじゃないとできない旨が書かれているな。
※LGRって一般的に言うとライブマイグレーションのこと。

s390-tools: Improve memory ballooning with cpuplugd
Large scale server consolidation requires a way to deal with limited memory resources. Ideally this is done by the hypervisor or by optimizing the individual guest in terms of memory utilization. 'cpuplugd' has a rule based scheme to control the size of the CMM1 memory balloon. An enhanced default set of rules allows the administrator to define a virtual machine with a larger memory size and have cpuplugd deal with the surplus automatically.

Support of Live Guest Relocation (LGR) with z/VM 6.2 on SLES 11 SP2
Live guest relocation (LGR) with z/VM 6.2 on SLES 11 SP2 requires z/VM service applied, especially with Collaborative Memory Management (CMMA) active (cmma=on).

今担当しているシステムはCS上だけでメモリ足りないから、ES上も使っちゃてるんだよね。。現状性能に問題は出てないからいいけど、CMMAでよりパフォーマンスあげれるなら検討の価値あるよね。
でも、SP2にしたらkernel3ベースになるからなぁ。。開発チームはキレるだろうな。。

CMMAのレポートは以下にまとめられている。
http://www.vm.ibm.com/perf/reports/zvm/html/530cmm.html

0 件のコメント:

コメントを投稿