JP5382471B2 - Power control method, computer system, and program - Google Patents
Power control method, computer system, and program Download PDFInfo
- Publication number
- JP5382471B2 JP5382471B2 JP2011288133A JP2011288133A JP5382471B2 JP 5382471 B2 JP5382471 B2 JP 5382471B2 JP 2011288133 A JP2011288133 A JP 2011288133A JP 2011288133 A JP2011288133 A JP 2011288133A JP 5382471 B2 JP5382471 B2 JP 5382471B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- memory chip
- virtual server
- address
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Memory System (AREA)
Description
本発明は、メモリの電力を制御する方法に関し、特に、メモリを省電力化する方法に関する。 The present invention relates to a method for controlling the power of a memory, and more particularly, to a method for saving power in a memory.
サーバ搭載メモリはコスト低下と64bitアドレス対応プロセッサの普及によって、大量のメモリがサーバに搭載されるようになってきている。また、大量のメモリを利用するインメモリデータベースシステム、及び、信頼性を向上させるためにメモリを二重にする等の技術も普及し始めている。 A large amount of memory is mounted on the server due to the cost reduction and the spread of the 64-bit address compatible processor. Also, in-memory database systems that use a large amount of memory and techniques such as duplicating memories to improve reliability have begun to spread.
しかし、前述した技術が普及した結果、メモリによって消費される電力は大幅に増大しており、メモリの消費電力を削減する技術が必要である。 However, as a result of the widespread use of the above-described technology, the power consumed by the memory has increased significantly, and a technology for reducing the power consumption of the memory is required.
このような問題に解決する方法として、メモリチップのうち利用されていないメモリチップの電力供給を停止することによって、メモリの消費電力を抑える方法が存在する。 As a method for solving such a problem, there is a method of suppressing the power consumption of the memory by stopping the power supply of the memory chip that is not used among the memory chips.
しかし、一般的にOS及びアプリケーションプログラムは、一度メモリを利用すると、OS及びアプリケーションがシャットダウン又は終了するまでメモリを開放する場合が多いため、前述した方法を適用するのは不可能である。 However, generally, once an OS and an application program use memory, the memory is often released until the OS and application are shut down or terminated. Therefore, it is impossible to apply the above-described method.
本発明が解決しようとする課題は、サーバに搭載されているメモリの消費電力を制御し、消費電力を削減することである。 The problem to be solved by the present invention is to control the power consumption of the memory mounted on the server and reduce the power consumption.
本発明の代表的な一例を示せば以下の通りである。すなわち、一つ以上の業務サーバ、前記業務サーバを管理する管理サーバ、及び、前記業務サーバと前記管理サーバとを接続するネットワーク、を備える計算機システムで実行されるメモリの消費電力を制御する方法であって、前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御を実施する電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、前記仮想化機構は、前記仮想サーバのメモリアドレス空間と前記メモリチップのアドレス空間との対応関係を保持するメモリマッピング情報を備え、前記管理サーバは、前記仮想サーバと前記メモリチップとの割り当て関係を保持し、前記方法は、前記管理サーバが、前記メモリチップのうち前記通常状態のメモリチップを特定するステップと、前記管理サーバが、前記特定された通常状態のメモリチップのうち、前記仮想サーバに対して未割り当てのメモリチップを特定するステップと、前記管理サーバが、前記特定された未割り当てのメモリチップの消費電力を前記省電力状態に変更するように前記業務サーバに指示するステップと、前記業務サーバが、前記管理サーバからの指示に基づいて前記メモリチップの消費電力を変更する電力制御ステップと、を含み、前記業務サーバは、第1メモリチップと第2メモリチップとを有し、さらに、前記方法は、前記管理サーバが、前記仮想サーバのうち前記第1メモリチップに割り当てられた仮想サーバを特定するステップと、前記管理サーバが、前記特定された仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更するように前記仮想化機構に指示するステップと、前記仮想化機構は、前記管理サーバから前記仮想サーバの割り当て先の変更指示を受け付け、前記仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更する場合に、前記仮想サーバのメモリアドレス空間と前記第1メモリチップのメモリアドレス空間との対応関係、前記仮想サーバのメモリアドレス空間と前記第2メモリチップのアドレス空間との対応関係、及び前記第2メモリチップに移動が完了した前記仮想サーバのメモリアドレスが登録される更新済みアドレスを一時的に保持する一時的メモリマッピング情報を生成するとともに、前記仮想サーバの割り当て先を前記第2メモリに変更するように、前記マッピング情報を更新するステップと、前記仮想化機構は、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから書き込み命令を受信した場合、前記一時的メモリマッピング情報の前記更新済みアドレスに書き込み先のアドレスを登録し、前記更新後のメモリマッピング情報を参照して、前記書き込み先のアドレスを前記第2メモリチップのメモリアドレスに変換するステップと、前記仮想化機構は、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから読み込み命令を受信した場合、読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであるか否かを判定するステップと、前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであると判定された場合、前記更新後のメモリマッピング情報を参照して、前記読み込み先のアドレスを前記第2メモリチップのメモリアドレスに変換するステップと、前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスでないと判定された場合、前記一時的メモリマッピング情報を参照して、前記読み込み先のアドレスを前記第1メモリチップのメモリアドレスに変換するステップと、を含むことを特徴とする。 A typical example of the present invention is as follows. That is, a method for controlling the power consumption of a memory executed in a computer system comprising one or more business servers, a management server that manages the business servers, and a network that connects the business servers and the management server. The business server includes one or more memory chips that are units capable of controlling power consumption of the memory, and a power control mechanism that performs control to switch the power consumption of the memory chips between a power saving state and a normal state; A virtualization mechanism that operates one or more virtual servers, and the virtualization mechanism includes memory mapping information that holds a correspondence relationship between a memory address space of the virtual server and an address space of the memory chip. The management server holds an allocation relationship between the virtual server and the memory chip, and the method includes the management server. And specifying the memory chip in the normal state among the memory chips, and the management server specifies a memory chip that is not assigned to the virtual server among the memory chips in the specified normal state. A step in which the management server instructs the business server to change the power consumption of the specified unallocated memory chip to the power saving state; and the business server instructs the management server to And a power control step of changing power consumption of the memory chip based on: the business server includes a first memory chip and a second memory chip, and the method includes: Identifying a virtual server assigned to the first memory chip among the virtual servers; and Instructing the virtualization mechanism to change the assigned destination of the virtual server from the first memory chip to the second memory chip; and the virtualization mechanism assigns the virtual server from the management server. When a change instruction is received and the assignment destination of the virtual server is changed from the first memory chip to the second memory chip, the memory address space of the virtual server and the memory address space of the first memory chip Temporarily display the correspondence relationship, the correspondence relationship between the memory address space of the virtual server and the address space of the second memory chip, and the updated address where the memory address of the virtual server that has been moved to the second memory chip is registered. Temporary memory mapping information to be stored in an automatic manner, and the virtual server allocation destination Updating the mapping information to change to the second memory; and when the virtualization mechanism receives a write command from the virtual server while changing the allocation destination of the virtual server, Registering a write destination address in the updated address of the memory mapping information, referring to the updated memory mapping information, and converting the write destination address into a memory address of the second memory chip; and When the virtualization mechanism receives a read command from the virtual server while changing the allocation destination of the virtual server, the address of the read destination is an address registered in the updated address of the temporary memory mapping information Determining whether or not the address of the read destination is the temporary memory mapping When it is determined that the address is registered in the updated address of the information, referring to the updated memory mapping information, and converting the read destination address into a memory address of the second memory chip; , If it is determined that the address of the read destination is not an address registered in the updated address of the temporary memory mapping information, the address of the read destination is set to the first address with reference to the temporary memory mapping information. Converting to a memory address of the memory chip .
本発明の一実施形態によれば、OS及びアプリケーションに利用されるメモリが確保された状態である場合でも、その利用状況に応じてメモリの消費電力を適切に制御し、消費電力を削減することができる。 According to an embodiment of the present invention, even when the memory used for the OS and the application is in a reserved state, the power consumption of the memory is appropriately controlled according to the usage state, and the power consumption is reduced. Can do.
以下、本発明の実施の形態について図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
なお、以下に記載する実施の形態は、本発明の実施の形態の一つであり、それぞれの実施の形態の組み合わせも本発明の実施の形態の一つとなりえる。また、以下に記載する実施の形態は本発明の範囲を限定するものではない。 The embodiment described below is one of the embodiments of the present invention, and a combination of the embodiments can be one of the embodiments of the present invention. Further, the embodiments described below do not limit the scope of the present invention.
<実施形態1>
図1は、本発明の第1の実施の形態の計算機システムの構成図である。
<
FIG. 1 is a configuration diagram of a computer system according to the first embodiment of this invention.
計算機システムは、管理サーバ101、及びサーバ103を備える。また、管理サーバ101及びサーバ103はネットワーク102によって接続される。
The computer system includes a
管理サーバ101は、電力制御プログラム110及びテーブル群111を備える。
The
サーバ103は、メモリ131、CPU132、補助記憶装置133、I/Oデバイス134及び電力制御機構135を備え、アプリケーションプログラムを実行することによって業務を行う。
The server 103 includes a
メモリ131は、仮想化機構150及び仮想サーバ140を含む。仮想化機構150及び仮想サーバ140は、プログラム及びデータから構成される。仮想化機構150は、仮想サーバ140を制御する。仮想サーバ140は、仮想化機構150によって、サーバ103のメモリ131を分割又は共有して、利用することができる。
The
なお、本発明の第1の実施の形態では、仮想化機構150はプログラムとして実装しているが、一部又は全部をカスタムプロセッサ等のハードウェアの実装によって実現してもよい。
In the first embodiment of the present invention, the
CPU132は、メモリ131に格納されているプログラムを実行するプロセッサである。
The
補助記憶装置133は、ハードディスク又はフラッシュメモリ等の記憶装置である。
The
I/Oデバイス134は、NIC(Network Interface Card)等の入出力装置(インタフェイス)である。
The I /
電力制御機構135は、メモリ131の電力消費状態を制御する。なお、電力制御機構135は、ハードウェアによって実装してもよいし、プログラム等のソフトウェアの実装によって実現してもよい。
The
また、電力制御機構135は、I/Oデバイス134を介して管理サーバ101から電力の制御要求を受け付ける。なお、電力制御機構135がメモリ131の電力消費状態を制御する方法は、例えば、メモリ131の動作周波数や電圧を制御する方法、メモリ131の性能を制御する方法、及び、メモリ131に供給する電力を停止する方法等がある。
Further, the
また、電力制御機構135が制御可能なメモリ131の単位は、例えば、メモリ131を構成する一つ以上のメモリチップ単位である。すなわち、メモリチップは、電力制御機構135がメモリ131の消費電力を制御できる単位である。なお、前述した以外の電力消費状態の制御方法及び電力制御単位も、本発明の対象となる。
The unit of the
なお、図1に示す例では、計算機システムは、一つのサーバ103を備えているが、複数のサーバ103を備えてもよい。また、仮想化機構150は、四つの仮想サーバ140を制御しているが、いくつ制御してもよい。
In the example illustrated in FIG. 1, the computer system includes one server 103, but may include a plurality of servers 103. The
図2は、本発明の第1の実施の形態の管理サーバ101の構成図である。
FIG. 2 is a configuration diagram of the
管理サーバ101は、メモリ201、CPU202、NIC203及び入出力装置204を備える。
The
メモリ201は電力制御プログラム110及びテーブル群111を格納する。
The
CPU202は、メモリ201に格納されているプログラムを実行するプロセッサである。なお、図2に示す例では、管理サーバ101は、一つのCPU202を備えているが、複数のCPU202を備えてもよい。
The
NIC203は、ネットワーク102に接続するためのインタフェイスである。
The
入出力装置204は、管理サーバ101に情報を入出力するインタフェイスである。また、入出力装置204には、マウス及び/又はキーボード等の入力装置205、及び、ディスプレイ等の表示装置206が接続される。なお、入出力装置204にUSBメディア等の外部記憶装置を接続して、情報の読み書きを行ってもよい。また、管理サーバ101は、ハードディスク又はフラッシュメモリ等の補助記憶装置を備えてもよい。
The input /
図3は、本発明の第1の実施の形態の仮想化機構150の構成を示している。
FIG. 3 shows a configuration of the
仮想化機構150は、メモリマッピングサブプログラム301、メモリアクセス監視サブプログラム302、マッピング変更サブプログラム303、メモリマッピングテーブル310及び制御I/F320を備える。
The
メモリマッピングサブプログラム301は、各仮想サーバ140とメモリ131とのマッピング関係(対応関係)を管理する。
The
メモリアクセス監視サブプログラム302は、各仮想サーバ140のメモリアクセスの頻度(メモリ性能情報)を監視する。
The memory
マッピング変更サブプログラム303は、各仮想サーバ140とメモリ131とのマッピング関係を変更する。
The
メモリマッピングテーブル310は、各仮想サーバ140とメモリ131とのマッピング関係を保持する。なお、メモリマッピングテーブル310については、図5を用いて詳細に後述する。
The memory mapping table 310 holds the mapping relationship between each
制御I/F320は、外部(例えば、管理サーバ101)と通信するインタフェイスである。
The control I /
なお、仮想化機構150及びその構成要素の一部又は全部は、カスタムプロセッサによってハードウェアとして実装されてもよい。
The
図4は、本発明の第1の実施の形態のメモリ131と仮想サーバ140とのマッピング関係の例を示す図である。
FIG. 4 is a diagram illustrating an example of a mapping relationship between the
メモリ131は、メモリチップ401(メモリチップ1〜6)によって構成される。
The
各メモリチップ401は、メモリ131のアドレスの所定の領域に対応する。例えば、メモリ131の全アドレスのうち、最初の4GBの領域のアドレスがメモリチップ1の一部又は全部に対応し、次の4GBの領域のアドレスがメモリチップ2の一部又は全部に対応する。
Each
図4に示す例では、メモリチップ1の領域には、仮想サーバ1及び仮想サーバ2で利用されるプログラム及びデータが保持されている。また、メモリチップ2及びメモリチップ3の領域には、仮想サーバ3で利用されるプログラム及びデータが、またがって保持されている。また、メモリチップ4の領域には、仮想サーバ4で利用されるプログラム及びデータが保持されている。メモリチップ5の領域には、仮想化機構150で利用されるプログラム及びデータが保持されている。
In the example illustrated in FIG. 4, the program and data used in the
なお、図4に示す例では、メモリ131は、六つのメモリチップ401によって構成されているが、六つ以外の複数のメモリチップ401によって構成されてもよい。
In the example illustrated in FIG. 4, the
図5は、本発明の第1の実施の形態のメモリマッピングテーブル310である。 FIG. 5 is a memory mapping table 310 according to the first embodiment of this invention.
メモリマッピングテーブル310は、メモリマップ501、メモリチップアドレス502、割り当て先503及び仮想サーバアドレス504を含む。
The memory mapping table 310 includes a
メモリマップ501は、図4に示されるメモリチップ401の識別子である。
The
メモリチップアドレス502は、メモリマップ501に示すメモリチップ401に対応するアドレスの領域である。なお、図5に示す例では、メモリチップアドレス502に格納されるアドレスは、16進数で示される。また、メモリチップ1から順番に、連続したアドレスが割り当てられているが、任意のアドレスの範囲が各メモリチップ401に割り当てられてもよい。
The
割り当て先503は、メモリチップアドレス502に示すアドレスの割り当て先の識別子である。割り当て先の識別子は、例えば、仮想サーバ140の識別子及び仮想化機構150である。なお、割り当て先が存在しない場合には「未割り当て」が格納される。
The
仮想サーバアドレス504は、メモリチップアドレス502に示すアドレスに対応する割り当て先503に示す割り当て先のアドレスを示す。具体的には、仮想サーバアドレス504は、仮想サーバ140のOSからみたアドレスである。
The
図5に示す例では、メモリマッピングテーブル310の第2行のメモリチップ501、メモリチップアドレス502、割り当て先503及び仮想サーバアドレス504には、それぞれ「1」、「80000000h−BFFFFFFFh」、「仮想サーバ2」、「0h−3FFFFFFFh」が格納されている。これは、メモリチップ「1」のメモリアドレスの領域「80000000h−BFFFFFFFh」は、「仮想サーバ2」のメモリアドレスの領域「0h−3FFFFFFFh」に対応していることを示している。
In the example illustrated in FIG. 5, the
なお、メモリマッピングテーブル310一部の情報は必ずしも必須ではない。また、メモリマッピングテーブル310の形式は、同等の情報を保持するものであれば、図5に示される形式に限定されるものではない。 Note that the information of a part of the memory mapping table 310 is not necessarily essential. Further, the format of the memory mapping table 310 is not limited to the format shown in FIG. 5 as long as it holds equivalent information.
図6は、本発明の第1の実施の形態の電力管理プログラム110及びテーブル群111の構成を示している。
FIG. 6 shows the configuration of the
電力管理プログラム110は、設定サブプログラム601、情報取得サブプログラム602、判定サブプログラム603、変更指示サブプログラム604及び電力制御サブプログラム605を含む。
The
設定サブプログラム601は、仮想サーバ140の設定を行う。情報取得サブプログラム602は、サーバ103から情報を取得する。判定サブプログラム603は、メモリマッピングテーブル310の変更を判定する。変更指示サブプログラム604は、メモリマッピングテーブル310の変更を指示する。電力制御サブプログラム605は、メモリ131の電力の制御を行う。
The
なお、電力管理プログラム110及びその構成要素の一部又は全部は、カスタムプロセッサによってハードウェアとして実装されてもよい。
Note that part or all of the
また、テーブル群111は、仮想サーバ管理テーブル610、メモリ管理テーブル611及び仮想サーバ設定テーブル612を含む。
The
仮想サーバ管理テーブル610は、仮想サーバ140の状態を保持する。なお、仮想サーバ管理テーブル610については、図7を用いて詳細に後述する。
The virtual server management table 610 holds the state of the
メモリ管理テーブル611は、メモリ131の状態を保持する。なお、メモリ管理テーブル611については、図8を用いて詳細に後述する。
The memory management table 611 holds the state of the
仮想サーバ設定テーブル612は、仮想サーバ140の設定の情報を保持する。
The virtual server setting table 612 holds setting information of the
図7は、本発明の第1の実施の形態の仮想サーバ管理テーブル610である。 FIG. 7 is a virtual server management table 610 according to the first embodiment of this invention.
仮想サーバ管理テーブル610は、仮想サーバ701、状態702、メモリ利用容量703及びメモリアクセス情報704を含む。
The virtual server management table 610 includes a
仮想サーバ701は、仮想サーバ140の識別子である。
The
状態702は、仮想サーバ701に示す仮想サーバ140の状態である。例えば、仮想サーバ140が起動中であれば「起動中」であり、停止中であれば「停止中」となる。なお、起動中とは、仮想サーバ140が稼動状態及びサスペンド状態のように、仮想サーバ140の状態がメモリ131に保持されている場合である。また、停止中とは、仮想サーバ140が非稼動状態及びスタンバイ状態のように、仮想サーバ140の状態がメモリに保存されていない場合である。
A
メモリ利用容量703は、仮想サーバ701に示す仮想サーバ140が利用中のメモリの容量である。例えば、状態702が「停止中」である場合には、メモリ利用容量703は「0B」となる。
The
メモリアクセス情報704は、仮想サーバ701の示す仮想サーバ140のメモリアクセスの情報を示す。なお、メモリアクセス情報704は、対象の仮想サーバ140が停止中であれば、値を持たないため、図7に示す例では「−」と示されている。また、メモリアクセス情報704には、「High」及び「Low」の値が格納される。「High」とは、例えば、メモリアクセスの頻度が高い状態であり、「Low」とは、例えば、メモリアクセスの頻度が低い状態である。
なお、状態702がサスペンド状態である場合には、メモリアクセス情報704は、「Low」の状態となる。
When the
図7に示す例では、仮想サーバ管理テーブル610の第1行の仮想サーバ701、状態702、メモリ利用容量703及びメモリアクセス情報704には、それぞれ「1」、「起動中」、「2GB」及び「High」が格納されている。これは、仮想サーバ「1」は、起動中であり、2GBのメモリを利用していて、仮想サーバ「1」に割り当てられたメモリチップ401が通常状態であることを示す。
In the example illustrated in FIG. 7, the
なお、仮想サーバ管理テーブル610の一部の情報は、必ずしも必須ではない。また、仮想サーバ管理テーブル610の形式は同等の情報を保持するものであれば、図7に示される形式に限定されるものではない。 Note that some information in the virtual server management table 610 is not necessarily required. Further, the format of the virtual server management table 610 is not limited to the format shown in FIG. 7 as long as it holds equivalent information.
図8は、本発明の第1の実施の形態のメモリ管理テーブル611である。 FIG. 8 illustrates the memory management table 611 according to the first embodiment of this invention.
メモリ管理テーブル611は、メモリチップ801、容量802、割り当て先803及び状態804を含む。
The memory management table 611 includes a
メモリチップ801は、メモリチップ401の識別子である。
The
容量802は、メモリチップ801に示すメモリチップ401の容量である。
A
割り当て先803は、メモリチップ801に示すメモリチップ401の割り当て先の識別子である。例えば、「1,2」は、仮想サーバ1及び仮想サーバ2が割り当て先であることを示す。また、「仮想化機構」は、割り当て先が仮想化機構150であることを示す。また、「未割り当て」は、割り当て先がないことを示す。
The
状態804は、メモリチップ801に示すメモリチップ401の電力消費状態である。例えば、メモリチップ401が通常状態で稼動している場合には「通常」となる。また、メモリチップ401が省電力状態で稼動する場合は「省電力」となる。なお、省電力状態には、複数の状態のレベルがあり、メモリ131の動作周波数及び電圧を低下させた状態、メモリ131の性能を低下させた状態、及び、メモリ131に供給する電力を停止した状態を含む。また、前述した状態以外のメモリの省電力化状態も含まれる。
A
なお、メモリチップ401に確保されている仮想サーバ140が不要になった場合には、メモリチップ140を停止する場合もある。
Note that when the
なお、メモリ管理テーブル611の一部の情報は必ずしも必須ではない。また、メモリ管理テーブル611の形式は同等の情報を保持するものであれば、図8に示される形式に限定されるものではない。 Note that some information in the memory management table 611 is not necessarily required. Further, the format of the memory management table 611 is not limited to the format shown in FIG. 8 as long as it holds equivalent information.
図9は、本発明の第1の実施の形態の仮想サーバ設定テーブル612である。 FIG. 9 is a virtual server setting table 612 according to the first embodiment of this invention.
仮想サーバ設定テーブル612は、仮想サーバ901、メモリ容量902及び既定状態903を含む。
The virtual server setting table 612 includes a
仮想サーバ901は、仮想サーバ140の識別子である。
The
メモリ容量902は、仮想サーバ901に示す仮想サーバ140が利用する最大メモリ容量である。ここで、最大メモリ容量とは、仮想サーバ901に示す仮想サーバ140が利用する最大のメモリ容量である。
The
既定状態903は、仮想サーバ901に示す仮想サーバ140が利用するメモリチップの既定の状態(初期に設定される状態)である。ここで、「High」である場合には、仮想サーバ140に割り当てられたメモリチップ401は、通常状態を既定の状態とし、「Low」である場合には、省電力状態を既定の状態とする。なお、既定状態903の示す既定状態は、必ずしも「High」及び「Low」の2値である必要はなく、3値以上の値が格納されもよい。また、既定状態903には、数値によって示される情報が格納されてもよい。
The
なお、仮想サーバ設定テーブル612の一部の情報は、必ずしも必須ではない。また、仮想サーバ設定テーブル612の形式は同等の情報を保持するものであれば、図9に示される形式に限定されるものではない。 Note that some information in the virtual server setting table 612 is not necessarily essential. Further, the format of the virtual server setting table 612 is not limited to the format shown in FIG. 9 as long as it holds equivalent information.
図10は、本発明の第1の実施形態の示す設定サブプログラム601の処理で、ユーザの設定情報を取得するために、電力管理プログラム110によって提供されるGUI(Graphical User Interface)の例を示す。
FIG. 10 illustrates an example of a GUI (Graphical User Interface) provided by the
図10に示すGUIは、図2に示される表示装置206又はネットワークを経由した他の表示装置に、ブラウザ及び専用のプログラムのいずれかを用いて仮想サーバ140のメモリ設定の情報を表示する。
The GUI shown in FIG. 10 displays the memory setting information of the
ウインドウ1001は、ブラウザ又は専用プログラムのウインドウを示す。ウインドウ1001には、仮想サーバ140のメモリ設定の情報が表示される。
A
ユーザは、仮想サーバ140の選択枠1010によって、メモリ131に設定する仮想サーバ140の識別子を選択する。メモリ容量枠1010には、ユーザが選択枠1010で選択した仮想サーバ140の最大メモリ容量が入力される。既定状態枠1011には、ユーザが選択枠1010で選択した仮想サーバ140に割り当てられるメモリ131の既定状態が選択される。
The user selects the identifier of the
入力が完了すると、設定ボタン1020をマウス等で操作することによって設定が完了する。これらの入力された情報は、図9に示す仮想サーバ901、メモリ容量902及び既定状態903にそれぞれ格納される。
When the input is completed, the setting is completed by operating the
また、設定をキャンセルする場合には、キャンセルボタン1021をマウス等で操作する。なお、GUIは、前述した一部の情報を必ずしも入力できるようにする必要はない。また、同等の情報を入力できるものであれば、図10に示されるGUIの形式に限定されるものではない。
When canceling the setting, the cancel
図11は、本発明の第1の実施の形態のメモリマッピングサブプログラム301と仮想サーバ140との処理を示すシーケンス図である。
FIG. 11 is a sequence diagram illustrating processing performed by the
まず、ステップ1101では、仮想サーバ140は、メモリアクセス命令を実行する。メモリアクセス命令を発行する主体は、仮想サーバ140上のOS又はドライバ等である。また、命令の種類は、書き込み命令であっても、読み込み命令であってもよい。
First, in
次に、ステップ1102では、メモリマッピングサブプログラム301は、ステップ1101でメモリアクセス命令が発行された後に、メモリアドレスを変換する。メモリアドレス変換処理については、図13を用いて詳細に後述する。
Next, in
次に、ステップ1103では、メモリマッピングサブプログラム301は、ステップ1102で変換されたメモリアドレスにメモリアクセスを行う。
Next, in
次に、ステップ1104では、仮想サーバ140は、ステップ1101で発行されたメモリアクセス命令の結果を受け取る。
Next, in
次に、ステップ1105では、メモリアクセス監視サブプログラム302にメモリアクセス情報を通知する。ここでメモリアクセス情報とは、書き込み及び読み込み等のアクセスの種類及びアクセスする際に利用されるメモリの容量等である。
Next, in
図12は、本発明の第1の実施の形態の図15に示すマッピング変更サブプログラムの処理のステップ1402で作成される一時的マッピングテーブルである。 FIG. 12 is a temporary mapping table created in step 1402 of the mapping change subprogram process shown in FIG. 15 according to the first embodiment of this invention.
一時的マッピングテーブルは、メモリチップ1601、メモリチップアドレス1602、割り当て先1603、仮想サーバアドレス1604及び更新済みアドレス1605を含む。
The temporary mapping table includes a
メモリチップ1601から仮想サーバアドレス1604は、それぞれ図5に示すメモリマッピングテーブル310のメモリチップ501から仮想サーバアドレス504に対応する。なお、割り当て先1603に格納される内容には、メモリ内容の移動元及び移動先を示す情報として、「移動元」及び「移動先」という情報が追加される。
The
更新済みアドレス1605は、メモリの内容の移動が完了した仮想サーバ140のアドレス領域である。
The updated
図13は、本発明の第1の実施の形態のメモリアドレス変換1102の処理のフローチャートである。
FIG. 13 is a flowchart of the process of the
メモリアドレス変換処理は、図11に示すステップ1101で、仮想サーバ140がメモリアクセス命令を発行した後に実行される。
The memory address conversion process is executed after the
まず、ステップ1201では、メモリマッピングサブプログラム301は、メモリ131のマッピングが変更中であるか否かを判定する。なお、マッピングの変更中を示すフラグは、仮想化機構150がメモリ131上に保持しており、この保持されているフラグによってマッピングが変更中であるか否かを判定する。また、このフラグは、図3に示すマッピング変更サブプログラム303によって更新される。マッピングが変更中である場合には、処理はステップ1202に進む。一方、マッピングが変更中でない場合には、処理はステップ1205に進む。
First, in
次に、ステップ1202では、メモリマッピングサブプログラム301は、メモリアクセス命令の種類が、読み込み命令及び書き込み命令のうち、どちらの命令であるかを判定する。読み込み命令である場合には、処理はステップ1204に進む。一方、書き込み命令である場合には、処理はステップ1203に進む。
Next, in
次に、ステップ1203では、メモリマッピングサブプログラム301は、書き込み命令の書き込み先のアドレス領域を、図12に示す一時的メモリマッピングテーブルの更新済みアドレス1605に登録する。
Next, in
ステップ1204では、メモリマッピングサブプログラム301は、読み込み先のアドレスが、図12に示す更新済みアドレス1605に登録されているか否かを判定する。登録されている場合には、処理はステップ1205に進む。一方、登録されていない場合には、ステップ1206に進む。
In
ステップ1205では、メモリマッピングサブプログラム301は、メモリマッピングテーブル310を参照し、メモリアクセス元の仮想サーバ140の識別子を割り当て先503から検索し、メモリアクセス命令のアクセス先のアドレスを仮想サーバアドレス504に示す仮想サーバ140のアドレスから検索し、検索されたレコードに対応するメモリチップ501のメモリチップ401と、メモリチップアドレス502のアドレスとを取り出し、メモリアドレスを変換する。
In
ステップ1206では、メモリマッピングサブプログラム301は、図12に示す一時的メモリマッピングテーブルを参照し、メモリアクセス元の仮想サーバ140の識別子を割り当て先1603から検索し、メモリアクセス命令のアクセス先のアドレスを仮想サーバアドレス1604に示す仮想サーバ140のアドレスから検索し、検索されたレコードに対応するメモリチップ1601のメモリチップ401と、メモリチップアドレス1602のアドレスとを取り出し、メモリアドレスを変換する。なお、割り当て先1603から仮想サーバ140の識別子を検索する際には、「移動元」の仮想サーバ140の識別子を検索する。
In
図14は、本発明の第1の実施の形態のメモリアクセス監視サブプログラム302の処理のフローチャートである。
FIG. 14 is a flow chart for processing of the memory
まず、ステップ1301では、メモリアクセス監視サブプログラム302は、メモリマッピングサブプログラム301からメモリアクセス情報を受け付ける。
First, in step 1301, the memory
次に、ステップ1302では、メモリアクセス監視サブプログラム302は、ステップ1301で受け付けたメモリアクセス情報からメモリ性能情報を計算し、計算された結果を保持する。ここで、メモリ性能情報とは、例えば、前回と今回とのアクセス間隔の情報から算出したメモリアクセス頻度、メモリのスループット、ページング頻度及びページング回数等である。そして、処理はステップ1301に戻る。
Next, in
図15は、本発明の第1の実施の形態のマッピング変更サブプログラム303の処理のフローチャートであり、管理サーバ101からマッピングの変更が指示されることによって開始される。
FIG. 15 is a flowchart of the process of the
まず、ステップ1401では、マッピング変更サブプログラム303は、マッピングが変更中であることを示すフラグを更新し、フラグを立てることによって、マッピング変更中のモードに遷移する。
First, in
次に、ステップ1402では、マッピング変更サブプログラム303は、マッピングを変更する仮想サーバ140の識別子、現在のマッピング先のメモリチップ401のアドレス領域、及び、マッピングの変更先のメモリチップ401のアドレス領域に基づいて、図5に示すメモリマッピングテーブル310からメモリチップ401及び仮想サーバ140に関する情報を取り出し、図12に示す一時的メモリマッピングテーブルを作成する。例えば、「仮想サーバ2」のマッピングを「メモリチップ1」のアドレス領域「80000000h−BFFFFFFFh」から「メモリチップ4」のアドレス領域「300000000h−33FFFFFFFh」に変更する場合、図5に示すメモリチップ501及びメモリチップアドレス502のアドレス領域を取り出し、取り出した情報が図12に示すメモリチップ1601及びメモリチップアドレス1602に格納される。
Next, in step 1402, the
また、図12に示す割り当て先1603には、現在のマッピング先のアドレス領域「80000000h−BFFFFFFFh」に関しては「移動元 仮想サーバ2」が格納され、マッピングの変更先のアドレス領域「300000000h−33FFFFFFFh」に関しては、「移動先 仮想サーバ2」が格納される。
Also, the
また、図12に示す仮想サーバアドレス1604は、図5に示す仮想サーバアドレス504のうち、「仮想サーバ2」のアドレス領域が取り出された「0h−3FFFFFFFh」が格納される。なお、図12に示す更新済みアドレス1605は、この時点では値が格納されない。
Also, the
次に、ステップ1403では、マッピング変更サブプログラム303は、メモリマッピングテーブル310を更新する。ここでは、マッピングを変更する仮想サーバ140の識別子、現在のマッピング先のメモリチップ401のアドレス領域、マッピングの変更先のメモリチップ401のアドレス領域に基づいて、メモリマッピングテーブル310をマッピングの変更後の状態に更新する。なお、マッピングの変更中にメモリマッピングテーブル310から情報を読み取る場合には、メモリマッピングテーブル310と一時的メモリマッピングテーブルとを合わせた状態が取得される。
Next, in
次に、ステップ1404では、マッピング変更サブプログラム303は、メモリ内容の移動を行う。なお、メモリ内容移動処理については、図16を用いて詳細に後述する。
Next, in
次に、ステップ1405では、マッピング変更サブプログラム303は、メモリ131のマッピングを変更する全てのアドレスの内容の移動が完了したか否かを判定する。具体的には、図12に示す更新済みアドレス1605が、仮想サーバアドレス1604に示す仮想サーバのアドレスの全てのアドレス領域と一致するか否かで判定する。アドレスの内容の移動が完了した場合には、処理はステップ1406に進む。一方、アドレスの内容の移動が完了していない場合には、処理はステップ1404を繰り返し実行する。
Next, in
次に、ステップ1406では、マッピング変更サブプログラム303は、マッピング変更中のフラグを更新し、フラグを落とすことによってマッピング変更中のモードを解除する。
Next, in
図16は、本発明の第1の実施の形態のメモリ内容移動1404の処理のフローチャートである。
FIG. 16 is a flow chart for processing of
メモリ内容移動処理は、図15に示すステップ1403で、メモリマッピングテーブルが更新された後に実行される。
The memory content moving process is executed after the memory mapping table is updated in
まず、ステップ1501では、マッピング変更サブプログラム303は、図12に示す更新済みアドレス1605の更新済みアドレスを除いた仮想サーバ140のアドレス領域を取得する。
First, in
次に、ステップ1502では、マッピング変更サブプログラム303は、ステップ1501で取得したアドレス領域に対応するメモリ内容を、移動元のメモリアドレス領域から、移動先のメモリアドレス領域にコピーする。ここで、移動元のメモリアドレス領域及び移動先のメモリアドレス領域は、図12に示す割り当て先1603及びメモリチップアドレス1602から取得する。
Next, in
次に、ステップ1503では、マッピング変更サブプログラム303は、ステップ1502でメモリの内容をコピーしたアドレス領域を、図12に示す更新済みアドレス1605に格納する。
Next, in
次に、ステップ1504では、マッピング変更サブプログラム303は、ステップ1502でコピーしたメモリ内容をコピー元(移動元)から削除する。なお、ステップ1504で、移動元のメモリ内容は、必ずしも削除する必要はない。
Next, in
図17は、本発明の第1の実施の形態のメモリアクセス監視サブプログラム302と情報取得サブプログラム602との処理のシーケンス図である。
FIG. 17 is a sequence diagram of processing by the memory
まず、ステップ1701では、情報取得サブプログラム602は、メモリアクセス監視サブプログラム302にメモリ性能情報を要求する。
First, in
次に、ステップ1702では、メモリアクセス監視サブプログラム302は、情報取得サブプログラム602からメモリ性能情報が要求されると、保持されているメモリ性能情報を情報取得サブプログラム602に通知する。ここで、情報取得サブプログラム602に通知されるメモリ性能情報は、図14に示すステップ1302で計算した値である。
In
次に、ステップ1703では、情報取得サブプログラム602は、メモリアクセス監視サブプログラム302からメモリ性能情報を取得する。
In
次に、ステップ1704では、情報取得サブプログラム602は、ステップ1703で取得したメモリ性能情報に基づいて、仮想サーバ管理テーブル610のメモリアクセス情報704を更新する。具体的には、メモリ性能情報の値が所定の閾値以上である場合には、メモリアクセス情報704に「High」が格納され、所定の閾値以下である場合には、メモリアクセス情報704に「Low」が格納される。
Next, in
閾値は、固定値を保持していてもよい。また、入力装置205等を利用してユーザが設定してもよい。さらに、第一の閾値及び第二の閾値等を含む一つ以上の閾値を保持し、メモリ性能情報の値が第一の閾値以上である場合には、メモリアクセス情報704に「High」を格納し、第二の閾値以下である場合には、メモリアクセス情報704に「Low」を格納することもできる。
The threshold value may hold a fixed value. Alternatively, the user may set using the
なお、本発明の第1の実施の形態では、メモリ性能情報は、アクセス頻度であり、メモリチップ401の状態が省電力状態であっても、メモリアクセスが遅延しないメモリアクセス頻度である場合には、メモリアクセス情報704に「Low」を格納し、メモリアクセスが遅延するメモリアクセス頻度である場合には、メモリアクセス情報704に「High」を格納する。なお、メモリアクセス情報704の示すメモリアクセス情報は、必ずしも「High」及び「Low」の2値である必要はなく、3値以上の値が格納されてもよい。
In the first embodiment of the present invention, the memory performance information is the access frequency, and even when the
次に、ステップ1705では、情報取得サブプログラム602は、判定サブプログラム603を呼び出す。そして、処理はステップ1701に戻る。
Next, in
図18は、本発明の第1の実施の形態の判定サブプログラム603の処理のフローチャートである。
FIG. 18 is a flowchart of the process of the
まず、ステップ1801では、判定サブプログラム603は、仮想サーバ管理テーブル610からメモリアクセス情報704を取得する。
First, in
次に、ステップ1802では、判定サブプログラム603は、メモリ管理テーブル611からメモリ131の状態804を取得する。
Next, in
次に、ステップ1803では、判定サブプログラム603は、仮想サーバ140のマッピングを変更するか否かを判定し、必要である場合には、仮想サーバ140のマッピングを変更する。なお、マッピング変更判定の処理については、図19を用いて詳細に後述する。
Next, in
次に、ステップ1804では、判定サブプログラム603は、メモリ131の状態を変更するか否かを判定し、必要である場合には、メモリ131の状態を変更する。なお、メモリ状態変更判定の処理については、図20を用いて詳細に後述する。
In
図19は、本発明の第1の実施の形態のマッピング変更判定1803の処理のフローチャートである。
FIG. 19 is a flowchart of processing of the
マッピング変更判定1803の処理は、図18に示すステップ1802で、メモリ131の状態が取得された後に実行される。
The process of
まず、ステップ1901では、判定サブプログラム603は、仮想サーバ140が利用するメモリ131の領域をどのメモリチップ401にレイアウトするかを決定する。
First, in
具体的には、以下に示す二つの条件に基づいてレイアウトを決定する:(1)図7に示す仮想サーバ管理テーブル610のメモリアクセス情報704が「High」の仮想サーバ140と「Low」の仮想サーバ140とが同一のメモリチップ401を利用する状態を最小に抑える。(2)現状の仮想サーバ140のメモリ131の割り当てを変更する容量を最小に抑える。
Specifically, the layout is determined based on the following two conditions: (1) The
なお、これらの条件は、ユーザによって新たに追加、変更、及び削除することができる。また、それぞれの条件に優先度を設定することもできる。例えば、前述した条件(1)と(2)とでは、条件(1)が優先されるように優先度を設定する。 Note that these conditions can be newly added, changed, and deleted by the user. Also, priority can be set for each condition. For example, in the conditions (1) and (2) described above, the priority is set so that the condition (1) is prioritized.
また、レイアウトの決定は、仮想サーバ管理テーブル610と、メモリ管理テーブル611を参照して行われる。例えば、図7及び図8に示す例では、「仮想サーバ1」及び「仮想サーバ2」は、それぞれメモリアクセス情報704は、「High」及び「Low」であり、同一の「メモリチップ1」に割り当てられているため、条件(1)に反する。
The layout is determined with reference to the virtual server management table 610 and the memory management table 611. For example, in the examples shown in FIGS. 7 and 8, the
また、「仮想サーバ4」のメモリアクセス情報704は、「Low」であり、「メモリチップ4」に割り当てられている。「メモリチップ4」の容量802は、「4GB」であり、「仮想サーバ2」及び「仮想サーバ4」のメモリ利用容量703は、それぞれ「1GB」及び「3GB」であることから、「仮想サーバ2」の割り当て先のメモリチップ401を「メモリチップ4」に変更しても容量を超えることはない。したがって、「仮想サーバ2」の割り当て先のメモリチップ401を「メモリチップ4」に変更すると、「仮想サーバ1」及び「仮想サーバ2」は、同一のメモリチップ401に割り当てられないため、条件(1)を満たすことができる。
Further, the
次に、ステップ1902では、判定サブプログラム603は、ステップ1901で決定したレイアウトと、現状の仮想サーバ140に割り当てられるメモリチップ401のマッピングとが異なるか否かを判定する。異なる場合には、マッピングの変更が必要と判定し、処理はステップ1903に進む。一方、同じである場合には、処理は終了する。
Next, in
次に、ステップ1903では、判定サブプログラム603は、ステップ1901で決定したレイアウトに変更するため、変更する仮想サーバ140の識別子、現在の割り当て先のメモリアドレス領域、及び、変更先のメモリアドレス領域を引数として変更指示サブプログラム604を呼び出す。そして、処理は終了する。
Next, in
図20は、本発明の第1の実施の形態のメモリ状態変更判定1804の処理のフローチャートであり、図18に示すステップ1803で、マッピングを変更するか否かを判定した後に実行される。
FIG. 20 is a flowchart of the process of the memory
まず、ステップ2001では、判定サブプログラム603は、メモリ管理テーブル611からメモリチップ401のメモリの状態804を取得し、通常状態であるか否かを判定する。通常状態である場合には、処理はステップ2004に進む。一方、通常状態でない場合には、処理はステップ2002に進む。
First, in
次に、ステップ2002では、判定サブプログラム603は、メモリ管理テーブル611からメモリチップの割り当て先803を取得し、仮想サーバ管理テーブル610から、全ての割り当て先803の仮想サーバ140のメモリアクセス情報704を取得する。そして、取得したメモリアクセス情報704のうち、メモリアクセス情報704が「High」の仮想サーバ140が存在するか否かを判定する。一つでもメモリアクセス情報704が「High」の仮想サーバ140が存在する場合には、処理はステップ2003に進む。一方、メモリアクセス情報704が「High」の仮想サーバ140が存在しない場合には、処理は終了する。
Next, in
次に、ステップ2003では、判定サブプログラム603は、電力制御サブプログラム605を呼び出し、メモリチップ401の状態804を通常状態に変更するように指示する。そして、処理は終了する。
Next, in
ステップ2004では、判定サブプログラム603は、メモリ管理テーブル611からメモリチップ401の割り当て先803を取得し、未割り当てのメモリチップ401であるか否かを判定する。未割り当てのメモリチップ401である場合には、処理はステップ2006に進む。一方、未割り当てのメモリチップ401でない場合には、処理はステップ2005に進む。
In
ステップ2005では、判定サブプログラム603は、メモリ管理テーブル611からメモリチップ401の割り当て先803を取得し、仮想サーバ管理テーブル610から、全ての割り当て先803の仮想サーバ140のメモリアクセス情報704を取得する。そして、取得した全ての仮想サーバ140のメモリアクセス情報704が「Low」であるか否かを判定する。取得した全ての仮想サーバ140のメモリアクセス情報704が「Low」である場合には、処理はステップ2006に進む。一方、取得した全ての仮想サーバ140のうち、一つでもメモリアクセス情報704が「Low」である場合には、処理は終了する。
In
ステップ2006では、判定サブプログラム603は、電力制御サブプログラム605を呼び出し、メモリチップ401の状態804を省電力状態に変更するように指示する。なお、図20に示す処理(メモリ状態変更判定1804)は、全てのメモリチップ401について実行される。
In
図21は、本発明の第1の実施の形態の変更指示サブプログラム604の処理のフローチャートである。
FIG. 21 is a flowchart of the process of the
まず、ステップ2101では、変更指示サブプログラム604は、変更する仮想サーバ140の識別子、現在の割り当て先のメモリアドレス領域、及び、変更先のメモリアドレス領域を引数として、マッピング変更サブプログラム303を呼び出す。なお、ステップ2101を実行した直後に、メモリ管理テーブル611にマッピングの変更中であることが分かる情報が付加されてもよい。
First, in
次に、ステップ2102では、変更指示サブプログラム604は、メモリ管理テーブル611を、マッピングを変更した後の状態に更新する。
Next, in
図22は、本発明の第1の実施の形態の電力制御サブプログラム605の処理のフローチャートである。
FIG. 22 is a flowchart of processing of the
まず、ステップ2201では、電力制御サブプログラム605は、状態を変更するメモリチップ401の識別子と、変更後の状態とを引数として、電力制御機構135を呼び出し、メモリチップ401の状態804を変更する。
First, in
次に、ステップ2202では、電力制御サブプログラム605は、メモリ管理テーブル611のメモリ131の状態804を更新する。
Next, in
図23は、本発明の第1の実施の形態の設定サブプログラム601の処理のフローチャートである。
FIG. 23 is a flowchart of the process of the
なお、設定サブプログラム601は、新たに仮想サーバ140を設定した場合、サーバ103のハードウェア構成及びソフトウェア構成を変更した場合、仮想サーバ140の構成を変更した場合、及び、ユーザが設定サブプログラム601を呼び出した場合に実行される。なお、ユーザが設定サブプログラム601を呼び出す手段は、電力管理プログラム110に備わる。
Note that the
ステップ2301では、設定サブプログラム601は、設定情報(仮想サーバ140の構成情報)を取得する。ここで、設定情報を取得する方法は、図10に示したように、電力管理プログラム110によって提供されるGUIを利用して、計算機システムの管理者が入力する方法がある。また、電力管理プログラム110によって提供されるコマンドラインを用いて、ユーザが入力する方法であってもよい。また、管理サーバ101に接続された記憶装置に保存されたファイルから設定情報を取得する方法であってもよい。また、ネットワークを経由して設定情報を取得する方法であってもよい。
In
次に、ステップ2302では、設定サブプログラム601は、ステップ2301で取得した設定情報に基づいて、図9に示す仮想サーバ設定テーブル612を作成する。また、仮想サーバ管理テーブル610のメモリアクセス情報704には、仮想サーバ設定テーブル612の既定状態903が格納される。
Next, in
なお、仮想サーバ管理テーブル610のその他のカラム、及び、メモリ管理テーブル611は、図5に示すメモリマッピングテーブル310から情報を取得して、取得された情報が格納されてもよい。また、GUI、CLI、ファイル、及びネットワークを経由する方法等によって取得された情報が格納されてもよい。 Note that the other columns of the virtual server management table 610 and the memory management table 611 may acquire information from the memory mapping table 310 illustrated in FIG. 5 and store the acquired information. Further, information acquired by a GUI, a CLI, a file, a method via a network, or the like may be stored.
ステップ1803及びステップ1804は、図18に示すステップ1803及び1804と同じであるため説明を省略する。
<実施形態2>
本発明の第2の実施の形態は、第1の実施の形態の仮想化機構150が、仮想サーバ140のCPUの利用状況を監視し、監視されたCPUの利用状況を仮想サーバ140のメモリアクセス情報704に反映する例である。第2の実施の形態によって、仮想サーバ140のメモリアクセス情報704だけでなく、CPUの利用状況も考慮して、仮想サーバ140とメモリチップ401とのマッピングを制御するとともに、メモリチップ401の状態を制御することができる。
<
In the second embodiment of the present invention, the
図24は、本発明の第2の実施の形態の仮想化機構150の構成を示している。第2の実施の形態は、仮想化機構150が、CPU監視サブプログラム304を備える点で異なる。
FIG. 24 illustrates a configuration of the
CPU監視サブプログラム304は、仮想サーバ140のCPUの利用状況を監視する。
The
図25は、本発明の第2の実施の形態の仮想サーバ管理テーブル610である。第2の実施の形態は、CPU利用率705を含む点で異なる。
FIG. 25 is a virtual server management table 610 according to the second embodiment of this invention. The second embodiment is different in that it includes a
CPU利用率705は、仮想サーバ701が示す仮想サーバ140が利用するCPUの利用率である。
The
図26は、本発明の第2の実施の形態のメモリアクセス監視サブプログラム302と、情報取得サブプログラム602と、CPU監視サブプログラム304との処理のシーケンス図である。
FIG. 26 is a sequence diagram of processing of the memory
第2の実施の形態は、CPU監視サブプログラム304のシーケンスが追加されている点と、ステップ2601、2602、2603及び2604が追加されている点で異なる。
The second embodiment is different in that a sequence of the
ステップ1701からステップ1705の処理は、図17に示すステップ1701からステップ1705と同じであるため、説明を省略する。
The processing from
ステップ2601では、情報取得サブプログラム602は、CPU監視サブプログラム304にCPUの利用率を要求する。
In
ステップ2602では、CPU監視サブプログラム304は、ステップ2601で情報取得サブプログラム602からCPUの利用率が要求された後に、CPUの利用率を情報取得サブプログラム602に通知する。なお、CPU監視サブプログラム304は、仮想サーバ140のCPUの利用率を監視し、監視されたCPUの利用率の情報を保持する。
In step 2602, after the CPU usage rate is requested from the
ステップ2603では、情報取得サブプログラム602は、CPU監視サブプログラム304からCPUの利用率を取得する。
In
ステップ2604では、情報取得サブプログラム602は、ステップ2603で取得したCPUの利用率を仮想サーバ管理テーブル610のCPU利用率705に格納する。そして、処理はステップ1705に進む。
In
図27は、本発明の第2の実施の形態の判定サブプログラム603の処理のフローチャートである。
FIG. 27 is a flowchart of the process of the
第2の実施の形態は、ステップ2701、2702、2703、2704及び2705が追加されている点で異なる。 The second embodiment is different in that steps 2701, 2702, 2703, 2704, and 2705 are added.
ステップ2701では、判定サブプログラム603は、仮想サーバ管理テーブル610からメモリアクセス情報704及びCPU利用率705を取得する。
In
ステップ2702では、判定サブプログラム603は、ステップ2701で取得したCPU利用率705が所定の閾値以上であるか否かを判定する。所定の閾値以上である場合には、処理はステップ2703に進む。一方、所定の閾値より小さい場合には、処理はステップ2704に進む。
In
ステップ2703では、判定サブプログラム603は、ステップ2701で取得したメモリアクセス情報704を「High」であると判定する。なお、以降の処理でメモリアクセス情報704を利用する場合には、「High」の値が利用される。
In
ステップ2704では、判定サブプログラム603は、ステップ2701で取得したCPU利用率705が所定の閾値以下であるか否かを判定する。所定の閾値以下である場合には、処理はステップ2705に進む。一方、所定の閾値より大きい場合には、処理はステップ1802に進む。
In
ステップ2705では、判定サブプログラム603は、ステップ2701で取得したメモリアクセス情報704を「Low」であると判定する。なお、以降の処理でメモリアクセス情報704を利用する場合には、「Low」の値が利用される。
In
なお、ステップ2702及びステップ2704で利用する閾値は、判定サブプログラム603にあらかじめ設定されている固定の値を利用する。また、ユーザが入力装置205を介して入力した値を利用してもよい。また、ステップ2702及びステップ2704で利用する閾値はそれぞれ異なってもよい。
Note that the threshold used in
また、ステップ2703及びステップ2705では、ステップ2701で取得したメモリアクセス情報704が2値以上の値を持つ場合には、それぞれの値に応じてさらに「High」又は「Low」と判定するステップを追加してもよい。例えば、メモリアクセス情報704が「High」より高い値として「Very High」であった場合には、ステップ2705では、「Low」でなく「High」と判定するようにしてもよい。このように、CPUの利用率とメモリアクセス頻度との関係に応じて、ステップ2703及びステップ2705で利用するメモリアクセス情報704を補正する方法が判定されてもよい。
Further, in
ステップ1802からステップ1804は、図18に示すステップ1802からステップ1804と同じであるため、説明を省略する。
<実施形態3>
本発明の第3の実施の形態は、第1の実施の形態の仮想化機構150が、スワッピングを行い、仮想サーバ140が利用するメモリ領域をメモリ131上だけでなく、補助記憶装置133にもメモリ領域の配置を可能にする例である。第2の実施の形態によって、仮想サーバ140からアクセスする頻度の低いメモリ領域をメモリ上に配置せず補助記憶装置に配置し、メモリの利用容量を節約することができる。
<
In the third embodiment of the present invention, the
図28は、本発明の第3の実施の形態の仮想化機構150の構成を示している。第3の実施の形態は、仮想化機構150がスワッピングサブプログラム305を備える点で異なる。
FIG. 28 illustrates a configuration of the
スワッピングサブプログラム305は、仮想サーバ140が利用するメモリ領域をメモリ131と補助記憶装置133との間でスワップイン及びスワップアウトする。
The swapping subprogram 305 swaps in and out a memory area used by the
ここで、スワップインとは、補助記憶装置133に確保されているメモリ領域と同じ領域をメモリ131に確保し、補助記憶装置133に確保されているメモリ領域に書き込まれているデータと同じデータを、メモリ131に確保したメモリ領域に書き込み、補助記憶装置133のメモリ領域を開放することである。
Here, the swap-in means that the same area as the memory area secured in the
また、スワップアウトとは、メモリ131に確保されているメモリ領域と同じ領域を補助記憶装置133に確保し、メモリ131に確保されているメモリ領域に書き込まれているデータと同じデータを、補助記憶装置133に確保したメモリ領域に書き込み、メモリ131のメモリ領域を開放することである。
The swap-out means that the same area as the memory area secured in the
図29は、本発明の第3の実施の形態のマッピング変更判定1803の処理のフローチャートである。第3の実施の形態は、ステップ2901が追加されている点で異なる。
FIG. 29 is a flowchart of processing of the
ステップ2901では、各仮想サーバ140が利用するメモリ領域について、メモリ領域の一部又は全部を補助記憶装置133にスワップイン及びスワップアウトを行うか否かを判定し、スワップイン及びスワップアウトを行う必要があれば実施する。スワッピング判定の処理については、図30を用いて詳細に後述する。
In
図30は、本発明の第3の実施の形態のスワッピング判定2901の処理のフローチャートである。
FIG. 30 is a flowchart of processing of swapping
まず、ステップ3001では、判定サブプログラム603は、仮想サーバ140の仮想サーバ管理テーブル610のメモリアクセス情報704を取得し、取得したメモリアクセス情報704が「Low」であるか否かを判定する。メモリアクセス情報704が「Low」である場合には、処理はステップ3002に進む。一方、メモリアクセス情報704が「Low」でない場合には、ステップ3004に進む。
First, in
次に、ステップ3002では、判定サブプログラム603は、仮想サーバ140のメモリアクセス情報704が「Low」である時間を保持し、所定の時間以上「Low」の状態が続くか否かを判定する。所定の時間以上「Low」の状態が続く場合には、処理はステップ3003進む。一方、所定の時間「Low」でない場合には、処理は終了する。
Next, in
次に、ステップ3003では、判定サブプログラム603は、スワッピングサブプログラム305に、仮想サーバ140が利用する一部又は全部のメモリ領域をスワップアウトするように指示する。ここで、メモリ領域の一部をスワップアウトするとは、例えば、仮想サーバ140のOS領域だけをメモリ131上に残し、仮想サーバ140のユーザ領域をスワップアウトすることである。なお、スワップアウトされた情報が記憶される補助記憶装置133が不揮発性のデバイスである場合には、補助記憶装置133の電力供給を停止してもよい。
Next, in
ステップ3004では、判定サブプログラム603は、仮想サーバ140が利用する一部又は全部のメモリ領域がメモリ上にあるか否かを判定する。メモリ領域がメモリ上にある場合には、処理は終了する。一方、メモリ領域がメモリ131上にない場合には、処理はステップ3005に進む。
In
ステップ3005では、判定サブプログラム603は、スワッピングサブプログラム305に、補助記憶装置133に配置されているメモリ領域をスワップインするように指示する。なお、スワッピング判定2901の処理は、全ての仮想サーバ140を対象として行われる。
In
<実施形態4>
本発明の第4の実施の形態は、第1の実施の形態の仮想化機構150が、仮想サーバ140間で利用しているメモリを融通し、サーバ103に搭載するメモリの利用容量以上の領域を仮想サーバ140に割り当てることを可能にする例である。第4の実施の形態によって、仮想サーバ140のメモリ131の割り当てを変更する場合に、変更先のメモリチップ401の容量が不足していても、メモリ131の割り当てを変更することができる。
<
In the fourth embodiment of the present invention, the
図31は、本発明の第4の実施の形態の仮想化機構150の構成を示している。第4の実施の形態は、仮想化機構150がメモリ融通サブプログラム306を備える点で異なる。
FIG. 31 illustrates a configuration of the
メモリ融通サブプログラム306は、第一の仮想サーバ140が利用するメモリの一部を、第一の仮想サーバ140のOS及びアプリケーションに影響を与えずに、第二の仮想サーバ140に融通する。
The
メモリの一部を融通する方法としては、例えば、第一の仮想サーバ140上のOSに特殊ドライバを備え、特殊ドライバがOS領域のメモリを確保することによって、確保したメモリの領域をOSが使用中とみなす方法がある。そして、特殊ドライバが確保したメモリの領域を第二の仮想サーバに融通することができる。
As a method of accommodating a part of the memory, for example, the OS on the first
なお、メモリ融通サブプログラム306は、第1の実施の形態の図19に示すステップ1901で、メモリチップ401の容量が不足したときにメモリを融通するときに呼び出される。また、メモリ融通サブプログラム306は、メモリチップ401の容量に余裕が出た場合には、メモリの融通を解除するために呼び出される。
Note that the
また、メモリの融通と同等の効果を得る別の方法として、第3の実施の形態の図28に示すスワッピングサブプログラム305を利用して、第一の仮想サーバ140のメモリ領域をメモリ上から補助記憶装置133にスワップアウトし、第二の仮想サーバ140にメモリ領域を融通する方法がある。
Further, as another method for obtaining the same effect as the accommodation of the memory, the memory area of the first
<実施形態5>
本発明の第5の実施の形態は、メモリチップ401が通常状態で稼動する時間を、一部又は全てのメモリチップ401で平準化する例である。第5の実施の形態によって、頻繁に利用されるメモリチップ401が一部のメモリチップ401に集中することを避けるため、故障率を低減することができる。
<
The fifth embodiment of the present invention is an example in which the time during which the
図32は、本発明の第5の実施の形態のメモリ管理テーブル611である。第5の実施の形態は、通常稼働時間805が追加されている点で異なる。
FIG. 32 is a memory management table 611 according to the fifth embodiment of this invention. The fifth embodiment is different in that a
通常稼働時間805は、メモリチップ801が示すメモリチップ401が、通常状態で稼動した時間の合計である。例えば、通常状態で300時間稼動した場合には、「300hour」が格納される。
The
第5の実施の形態では、第1の実施の形態の図19に示すステップ1901で、図32に示すメモリ管理テーブル611の通常稼動時間805を参照し、できる限り各メモリチップ401の通常稼働時間805が平準化される条件に基づいて、レイアウトを決定する。
In the fifth embodiment, the
<実施形態6>
本発明の第6の実施の形態では、仮想サーバ140の単位だけでなく、仮想サーバ140上のOS及びプロセスの単位でメモリの割り当てを変更する例である。第6の実施の形態によって、仮想サーバ140の単位よりもさらに細かい粒度でメモリの割り当てを制御することができる。
<
The sixth embodiment of the present invention is an example in which the memory allocation is changed not only in units of the
図33は、本発明の第6の実施の形態のメモリマッピングテーブル310である。第6の実施の形態は、プロセス505が追加されている点で異なる。
FIG. 33 is a memory mapping table 310 according to the sixth embodiment of this invention. The sixth embodiment is different in that a
プロセス505は、割り当て先503の仮想サーバ140上で稼動するOS及びプロセスの識別子である。なお、プロセス505の情報は、ユーザが入力装置205を介して入力される。また、仮想サーバ140上のOSに保持されているプロセステーブルから取得してもよい。また、その他の手段を利用してプロセス505の情報が取得されてもよい。
A
したがって、第6の実施の形態では、他の実施の形態における「仮想サーバ」を「プロセス」として取り扱うことができる。なお、メモリマッピングテーブル310にOS及びプロセスの情報を保持せずに、電力制御プログラム110が同等の情報を保持してもよい。
Therefore, in the sixth embodiment, the “virtual server” in the other embodiments can be handled as a “process”. Note that the
<実施形態7>
本発明の第7の実施の形態は、第1の実施の形態の仮想化機構150が、仮想サーバ140が利用するメモリ領域を複数のメモリチップ401に書き込むことによって冗長化を行うとともに、複数のメモリチップ401をそれぞれ異なる消費電力状態で稼動することができる例である。第7の実施の形態によって、メモリチップ401を冗長化した時に、全てのメモリチップ401を高い消費電力状態で稼動させる必要がなく、一部のメモリチップ401を省電力化することができる。
<Embodiment 7>
In the seventh embodiment of the present invention, the
図34は、本発明の第7の実施の形態の仮想化機構150の構成を示している。第7の実施の形態は、冗長化サブプログラム307を備える点で異なる。
FIG. 34 shows a configuration of the
冗長化サブプログラム307は、仮想サーバ140が利用するメモリ領域を複数のメモリチップ401に書き込む。また、冗長化サブプログラム307は、ある仮想サーバ140のメモリへの書き込みについて、冗長化する第一及び第二のメモリチップ401に同時にメモリ領域を書き込むとともに、一方のメモリチップ401への書き込みに遅延が発生した場合には、残りの書き込みを第三のメモリチップ401に一時的に書き込む。したがって、第一及び第二のメモリチップ401は、メモリチップ401の状態を通常状態と省電力状態とで混在させることができる。
The
図35は、本発明の第7の実施の形態のメモリマッピングテーブル310である。 FIG. 35 is a memory mapping table 310 according to the seventh embodiment of this invention.
第7の実施の形態は、冗長化されている仮想サーバ140、及び、バッファとなる仮想サーバ140であることを示す情報が、割り当て先503に付加されている点で異なる。
The seventh embodiment is different in that information indicating that the
例えば、メモリマッピングテーブル310の第1行及び第12行の割り当て先503の値には、冗長化されている仮想サーバ140であることを示す「仮想サーバ1 (冗長化)」が格納されている。また、メモリマッピングテーブル310の第6行の割り当て先503には、第三のメモリチップ401の領域であることを示す「仮想サーバ1 (バッファ)」が格納されている。
For example, “virtual server 1 (redundant)” indicating that the
図36は、本発明の第7の実施の形態のメモリ管理テーブル611である。 FIG. 36 is a memory management table 611 according to the seventh embodiment of this invention.
第7の実施の形態は、冗長化されている仮想サーバ140、及び、バッファとなる仮想サーバ140であることを示す情報が、割り当て先803に付加されている点で異なる。
The seventh embodiment is different in that information indicating a redundant
例えば、メモリ管理テーブル611の第1行および第6行の割り当て先803には、冗長化されている仮想サーバ140であることを示す「1(冗)」が格納されている。また、メモリ管理テーブル611の第3行の割り当て先803には、第三のメモリチップ401の領域であることを示す「1(バ)」が格納されている。
For example, “1 (redundant)” indicating that the
第7の実施の形態では、第一のメモリチップ401及び第二のメモリチップ401は、それぞれメモリの状態804が異なる。したがって、一方のメモリチップ401を省電力化することができる。なお、第三のメモリチップ401は、通常状態で稼動しなければならない。
In the seventh embodiment, the
<実施形態8>
本発明の第8の実施の形態は、電力管理プログラム110がサーバ103の消費電力を監視し、サーバ103の消費電力が目標値以下になるように制御する例である。第8の実施の形態によって、サーバ103の消費電力を保障することができる。
<Eighth embodiment>
The eighth embodiment of the present invention is an example in which the
図37は、第1の実施の形態の図6に示す設定サブプログラム601において、ユーザが設定する消費電力の目標値を取得するために、電力管理プログラム110によって提供されるGUIの例を示す。
FIG. 37 shows an example of a GUI provided by the
図37に示すGUIは、図2に示される表示装置206又はネットワークを経由した他の表示装置に、ブラウザ及び専用のプログラムのいずれかを用いてサーバ103の消費電力の目標値を表示する。
The GUI shown in FIG. 37 displays the target value of the power consumption of the server 103 on the
ウインドウ3701は、ブラウザ又は専用プログラムのウインドウを示す。ウインドウ3701には、現状の消費電力の値が表示(3710)される。また、グラフとして消費電力の値の履歴も表示される(3711及び3712)。
A
ユーザは、消費電力の目標値を設定する枠(3714)に、目標とする電力を入力する。そして、入力された値は、グラフに反映される(3713)。 The user inputs target power into a frame (3714) for setting a target value of power consumption. The input value is reflected in the graph (3713).
入力が完了すると、設定ボタン3715をマウス等で操作することによって設定を完了する。これらの入力された情報は、電力管理プログラム110によって保持される。
When the input is completed, the setting is completed by operating the
また、設定をキャンセルする場合には、キャンセルボタン1021をマウス等で操作する。なお、GUIは、前述した一部の情報を必ずしも入力できるようにする必要はない。また、同等の情報を入力できるものであれば、図37に示されるGUIの形式に限定されるものではない。
When canceling the setting, the cancel
第8の実施の形態では、第1の実施の形態に示すメモリ状態制御判定1804の処理において、サーバ103の消費電力が図37に示すGUIによって設定された目標値より大きい場合、図20に示すステップ2005で、メモリアクセス情報704の値にかかわらずステップ2006に進み、サーバ103の消費電力が図37に示すGUIによって設定された目標値より小さくなるようにメモリ131の状態を省電力状態に変更する。
In the eighth embodiment, in the processing of the memory
特許請求の範囲に記載した以外の本発明の観点の代表的なものとして、次のものがあげられる。 The following are typical examples of aspects of the present invention other than those described in the claims.
(1)一つ以上の業務サーバと、前記業務サーバを管理する管理サーバと、前記業務サーバと前記管理サーバとを接続するネットワークと、を備える計算機システムで実行されるメモリの消費電力を制御する方法であって、前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御をする電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、前記仮想化機構は、前記仮想サーバと前記メモリチップとの割り当て関係を管理するメモリマッピング部を備え、前記管理サーバは、前記仮想サーバと前記メモリチップとの割り当て関係を保持し、前記方法は、前記管理サーバが、前記仮想サーバのメモリチップへのアクセス情報を取得する情報取得ステップと、前記管理サーバが、前記取得したアクセス情報が所定の目標性能を達成できるか否か、及び、前記仮想サーバと前記メモリチップとの割り当て関係に基づいて、前記メモリチップの消費電力を変更するよう前記業務サーバに指示するステップと、前記業務サーバが、前記管理サーバからの指示に基づいて前記メモリチップの消費電力を変更する電力制御ステップと、を含むことを特徴とする電力制御方法。 (1) Controlling power consumption of a memory executed in a computer system including one or more business servers, a management server that manages the business servers, and a network that connects the business servers and the management server The business server includes one or more memory chips that are units capable of controlling power consumption of a memory, and a power control mechanism that controls switching of power consumption of the memory chip between a power saving state and a normal state And a virtualization mechanism that operates one or more virtual servers, the virtualization mechanism includes a memory mapping unit that manages an allocation relationship between the virtual server and the memory chip, and the management server includes: The allocation relationship between the virtual server and the memory chip is maintained, and the method is such that the management server assigns the virtual server to the memory chip. Information acquisition step for acquiring access information, whether the management server can achieve the predetermined target performance, and the allocation relationship between the virtual server and the memory chip, Instructing the business server to change the power consumption of the memory chip; and the power control step in which the business server changes the power consumption of the memory chip based on an instruction from the management server. A power control method.
(2)前記アクセス情報は、前記メモリチップの消費電力状態を前記省電力状態にした場合に、前記メモリの性能が不足することを示す第1の値、及び、前記メモリの性能が不足しないことを示す第2の値のいずれかを含み、前記電力制御ステップでは、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報が一つでも前記第1の値である場合には、前記メモリチップの消費電力状態を前記通常状態に変更し、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報の全てが前記第2の値である場合には、前記メモリチップの消費電力状態を前記省電力状態に変更することを特徴とする(1)に記載の電力制御方法。 (2) The access information includes a first value indicating that the performance of the memory is insufficient when the power consumption state of the memory chip is set to the power saving state, and the performance of the memory is not insufficient. In the power control step, if at least one of the access information of each virtual server assigned to the memory chip is the first value, the memory chip When the power consumption state of the memory chip is changed to the normal state and all of the access information of the virtual servers allocated to the memory chip is the second value, the power consumption state of the memory chip is reduced. The power control method according to (1), wherein the power control method is changed to a power state.
(3)前記管理サーバは、前記仮想サーバの前記メモリチップへのアクセス情報を設定する設定インタフェイスを備え、前記情報取得ステップでは、前記設定インタフェイスを使用し、前記アクセス情報の既定値を取得することを特徴とする(1)に記載の電力制御方法。 (3) The management server includes a setting interface for setting access information to the memory chip of the virtual server, and the information acquisition step uses the setting interface to acquire a default value of the access information. (1) The power control method according to (1).
(4)前記仮想化機構は、前記アクセス情報を監視するメモリアクセス監視部を備え、前記情報取得ステップでは、前記メモリアクセス監視部から前記アクセス情報を取得することを特徴とする(1)に記載の電力制御方法。 (4) The virtualization mechanism includes a memory access monitoring unit that monitors the access information, and the information acquisition step acquires the access information from the memory access monitoring unit. Power control method.
(5)前記仮想化機構は、前記仮想サーバと前記メモリチップとの割り当て関係を変更するマッピング変更部を備え、前記方法は、さらに、前記管理サーバが、前記取得したアクセス情報に基づいて、前記仮想サーバと前記メモリチップとの割り当て関係を決定する判定ステップと、前記管理サーバが、前記仮想サーバと前記メモリチップとの割り当て関係を、前記決定した割り当て関係に変更する変更指示ステップと、を含むことを特徴とする(4)に記載の電力制御方法。 (5) The virtualization mechanism includes a mapping change unit that changes an allocation relationship between the virtual server and the memory chip, and the method further includes the management server based on the acquired access information. A determination step for determining an allocation relationship between the virtual server and the memory chip, and a change instruction step for the management server to change the allocation relationship between the virtual server and the memory chip to the determined allocation relationship. (4) The power control method according to (4).
(6)前記アクセス情報は、前記メモリチップの消費電力状態を省電力状態にした場合に、前記メモリの性能が不足することを示す第1の値、及び、前記メモリの性能が不足しないことを示す第2の値のいずれかを含み、前記判定ステップでは、前記アクセス情報が同一の値である前記仮想サーバが、同一のメモリチップに割り当てられるように、前記仮想サーバと前記メモリチップとの割り当て関係を決定することを特徴とする(5)に記載の電力制御方法。 (6) The access information includes a first value indicating that the performance of the memory is insufficient when the power consumption state of the memory chip is set to a power saving state, and that the performance of the memory is not insufficient. In the determination step, the virtual server and the memory chip are allocated so that the virtual server having the same value in the access information is allocated to the same memory chip. The power control method according to (5), wherein the relationship is determined.
(7)前記仮想化機構は、前記仮想サーバのプロセッサ利用率を監視するプロセッサ監視部を備え、前記情報取得ステップでは、前記プロセッサ監視部から前記仮想サーバのプロセッサ利用率を取得し、前記判定ステップでは、前記取得したプロセッサ利用率が所定の閾値以上の場合に、前記所定の目標性能を可能な値に前記アクセス情報を補正することを特徴とする(5)に記載の電力制御方法。 (7) The virtualization mechanism includes a processor monitoring unit that monitors a processor usage rate of the virtual server. In the information acquisition step, the processor usage rate of the virtual server is acquired from the processor monitoring unit, and the determination step Then, the power control method according to (5), wherein, when the acquired processor utilization rate is equal to or greater than a predetermined threshold, the access information is corrected to a value capable of achieving the predetermined target performance.
(8)前記業務サーバは、一つ以上の補助記憶装置を備え、前記仮想化機構は、前記メモリチップから前記補助記憶装置に前記仮想サーバが利用するメモリの領域を移動するスワッピング部を備え、前記方法は、さらに、前記管理サーバが、前記アクセス情報が所定の割り当て性能を達成できるか否か、及び、前記仮想サーバとメモリチップとの割り当て関係に基づいて、前記メモリの性能が不足する状態が所定の時間継続したか否かを判定するステップと、前記業務サーバが、前記判定結果に従って、前記メモリの領域の一部又は全部を、前記スワッピング部によって前記補助記憶装置に移動するステップと、を含むことを特徴とする(5)に記載の電力制御方法。 (8) The business server includes one or more auxiliary storage devices, and the virtualization mechanism includes a swapping unit that moves a memory area used by the virtual server from the memory chip to the auxiliary storage device, The method further includes a state where the management server has insufficient performance of the memory based on whether the access information can achieve a predetermined allocation performance and the allocation relationship between the virtual server and the memory chip. A step of determining whether or not a predetermined time has elapsed, and the business server moving a part or all of the memory area to the auxiliary storage device by the swapping unit according to the determination result; (5) The power control method according to (5).
(9)前記仮想サーバは、第1の仮想サーバ及び第2の仮想サーバを含み、前記仮想化機構は、前記第1の仮想サーバが利用するメモリの領域を前記第2の仮想サーバが利用するメモリの領域に割り当てるメモリ融通部を備え、前記判定ステップでは、前記第1の仮想サーバと前記第2の仮想サーバとが同一のメモリチップに割り当てられることによって、前記業務サーバに割り当てられるメモリの領域が、当該メモリチップの容量を超える場合には、前記メモリ融通部によって、第1の仮想サーバに割り当てられたメモリの領域を第2の仮想サーバに割り当てるように、前記仮想サーバと前記メモリチップとの割り当て関係を決定することを特徴とする(5)に記載の電力制御方法。 (9) The virtual server includes a first virtual server and a second virtual server, and the virtualization mechanism uses the memory area used by the first virtual server by the second virtual server. A memory space allocated to a memory area, and in the determining step, the memory area allocated to the business server by allocating the first virtual server and the second virtual server to the same memory chip; However, when the capacity of the memory chip is exceeded, the memory interchange unit allocates the memory area allocated to the first virtual server to the second virtual server by the memory interchange unit. The power control method according to (5), wherein an allocation relationship is determined.
(10)前記管理サーバは、前記各メモリチップが前記通常状態で稼動している時間を記録し、前記判定ステップでは、前記各メモリチップが通常状態で稼動している時間に基づいて、各メモリチップが前記通常状態で稼動している時間が平準化されるように、前記仮想サーバと前記メモリチップとの割り当て関係を決定することを特徴とする(5)に記載の電力制御方法。 (10) The management server records a time during which each memory chip is operating in the normal state, and in the determination step, each memory chip is based on the time during which each memory chip is operating in the normal state. (5) The power control method according to (5), wherein the allocation relationship between the virtual server and the memory chip is determined so that the time during which the chip is operating in the normal state is leveled.
(11)前記方法は、さらに、前記仮想サーバで実行されるプロセスとメモリチップとの割り当て関係を取得するステップを含み、前記管理サーバは、前記取得した仮想サーバで実行されるプロセスとメモリチップとの割り当て関係を保持し、前記判定ステップでは、前記取得したアクセス情報に基づいて、前記プロセスと前記メモリチップとの割り当て関係を決定し、前記変更指示ステップでは、前記プロセスと前記メモリチップとの割り当て関係を、前記決定した割り当て関係に変更することを特徴とする(5)に記載の電力制御方法。 (11) The method further includes a step of acquiring an allocation relationship between a process and a memory chip executed in the virtual server, and the management server includes a process and a memory chip executed in the acquired virtual server. In the determination step, the allocation relationship between the process and the memory chip is determined based on the acquired access information. In the change instruction step, the allocation relationship between the process and the memory chip is determined. The power control method according to (5), wherein a relationship is changed to the determined allocation relationship.
(12)前記メモリチップは、第1のメモリチップ及び第2のメモリチップを含み、前記仮想化機構は、前記仮想サーバが利用するメモリの領域であって、同じデータが書き込まれるメモリの領域を第1のメモリチップと第2のメモリチップとの双方に割り当てる冗長化部を備え、前記電力制御ステップでは、前記第1のメモリチップの消費電力状態を前記通常状態に変更し、第2のメモリチップの消費電力状態を省電力状態に変更することを特徴とする(5)に記載の電力制御方法。 (12) The memory chip includes a first memory chip and a second memory chip, and the virtualization mechanism includes a memory area used by the virtual server and a memory area in which the same data is written. A redundancy unit that is assigned to both the first memory chip and the second memory chip, and in the power control step, the power consumption state of the first memory chip is changed to the normal state, and the second memory The power control method according to (5), wherein the power consumption state of the chip is changed to a power saving state.
(13)前記方法は、さらに、前記管理サーバが、消費電力の目標値を取得する目標値取得ステップを含み、前記電力制御ステップでは、前記取得された消費電力の目標値を満たすように前記メモリチップの消費電力状態を変更することを特徴とする(5)に記載の電力制御方法。 (13) The method further includes a target value acquisition step in which the management server acquires a target value of power consumption, and in the power control step, the memory is configured to satisfy the acquired target value of power consumption. The power control method according to (5), wherein the power consumption state of the chip is changed.
(14)一つ以上の業務サーバと、前記業務サーバを管理する管理サーバと、前記業務サーバと前記管理サーバとを接続するネットワークと、を備える計算機システムであって、前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御をする電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、前記仮想化機構は、前記仮想サーバと前記メモリチップとの割り当て関係を管理するメモリマッピング部を備え、
前記管理サーバは、
前記仮想サーバの前記メモリチップへのアクセス情報を設定する設定インタフェイスを備え、
前記仮想サーバと前記メモリチップとの割り当て関係を保持し、
前記メモリチップの消費電力状態を省電力状態にした場合に、前記メモリの性能が不足することを示す第1の値、及び、前記メモリの性能が不足しないことを示す第2の値のいずれかを含むアクセス情報を前記設定インタフェイスによって取得し、
前記取得したアクセス情報に基づいて、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報が一つでも前記第1の値である場合には、前記メモリチップの消費電力状態を通常状態に変更するよう前記業務サーバに指示し、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報の全てが前記第2の値である場合には、前記メモリチップの消費電力状態を省電力状態に変更するよう前記業務サーバに指示し、前記業務サーバは、前記管理サーバからの指示に基づいて前記メモリチップの消費電力を変更することを特徴とする計算機システム。
(14) A computer system comprising at least one business server, a management server that manages the business server, and a network that connects the business server and the management server, wherein the business server includes a memory One or more memory chips that are units that can control power consumption, a power control mechanism that controls switching of the power consumption of the memory chips between a power saving state and a normal state, and a virtual that operates one or more virtual servers And the virtualization mechanism includes a memory mapping unit that manages an allocation relationship between the virtual server and the memory chip,
The management server
A setting interface for setting access information to the memory chip of the virtual server;
Holding an allocation relationship between the virtual server and the memory chip;
One of a first value indicating that the memory performance is insufficient and a second value indicating that the memory performance is not insufficient when the power consumption state of the memory chip is set to a power saving state. The access information including is acquired by the setting interface,
Based on the acquired access information, when at least one of the access information of each virtual server allocated to the memory chip is the first value, the power consumption state of the memory chip is changed to a normal state. The business server is instructed to change the power consumption state of the memory chip to a power saving state when all of the access information of each virtual server assigned to the memory chip is the second value. A computer system, wherein the business server is instructed to change the power consumption of the memory chip based on an instruction from the management server.
(15)一つ以上の業務サーバと、前記業務サーバを管理する管理サーバと、前記業務サーバと前記管理サーバとを接続するネットワークと、を備える計算機システムに備わる前記業務サーバのメモリの消費電力を制御するプログラムであって、前記管理サーバは、ネットワークに接続されるインタフェイスと、前記インタフェイスに接続されるプロセッサと、前記プロセッサに接続されるメモリと、を備え、前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御をする電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、前記仮想化機構は、前記仮想サーバと前記メモリチップとの割り当て関係を管理するメモリマッピング部を備え、前記メモリは、前記仮想サーバと前記メモリチップとの割り当て関係を保持し、前記プログラムは、前記メモリチップの消費電力状態を省電力状態にした場合に、前記メモリの性能が不足することを示す第1の値、及び、前記メモリの性能が不足しないことを示す第2の値のいずれかを含むアクセス情報を取得し、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報が一つでも前記第1の値である場合には、前記メモリチップの消費電力状態を通常状態に変更するよう前記業務サーバに指示し、前記メモリチップに割り当てられた前記各仮想サーバのアクセス情報の全てが前記第2の値である場合には、前記メモリチップの消費電力状態を省電力状態に変更するよう前記業務サーバに指示する処理を前記管理サーバのプロセッサに実行させるプログラム。 (15) The power consumption of the memory of the business server provided in a computer system including one or more business servers, a management server that manages the business server, and a network that connects the business server and the management server. The management server includes an interface connected to a network, a processor connected to the interface, and a memory connected to the processor. One or more memory chips that are units that can control power consumption, a power control mechanism that controls switching of the power consumption of the memory chips between a power saving state and a normal state, and a virtual that operates one or more virtual servers And the virtualization mechanism manages an allocation relationship between the virtual server and the memory chip. A memory mapping unit, wherein the memory retains an allocation relationship between the virtual server and the memory chip, and the program performs when the power consumption state of the memory chip is set to a power saving state. Access information including any one of a first value indicating that the memory capacity is insufficient and a second value indicating that the performance of the memory is not insufficient is obtained, and access of each virtual server allocated to the memory chip is acquired. If even one piece of information is the first value, the business server is instructed to change the power consumption state of the memory chip to a normal state, and the access of each virtual server assigned to the memory chip When all of the information is the second value, the business server is instructed to change the power consumption state of the memory chip to a power saving state. Program for executing a management processor of the management server.
101 管理サーバ
102 ネットワーク1
103 サーバ
110 電力管理プログラム
111 テーブル群
131 メモリ
132 CPU
133 補助記憶装置
134 I/Oデバイス
135 電力制御機構
140 仮想サーバ
150 仮想化機構
101
103
133 Auxiliary storage device 134 I /
Claims (6)
前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御を実施する電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、
前記仮想化機構は、前記仮想サーバのメモリアドレス空間と前記メモリチップのアドレス空間との対応関係を保持するメモリマッピング情報を備え、
前記管理サーバは、前記仮想サーバと前記メモリチップとの割り当て関係を保持し、
前記方法は、
前記管理サーバが、前記メモリチップのうち前記通常状態のメモリチップを特定するステップと、
前記管理サーバが、前記特定された通常状態のメモリチップのうち、前記仮想サーバに対して未割り当てのメモリチップを特定するステップと、
前記管理サーバが、前記特定された未割り当てのメモリチップの消費電力を前記省電力状態に変更するように前記業務サーバに指示するステップと、
前記業務サーバが、前記管理サーバからの指示に基づいて前記メモリチップの消費電力を変更する電力制御ステップと、を含み、
前記業務サーバは、第1メモリチップと第2メモリチップとを有し、
前記方法は、
前記管理サーバが、前記仮想サーバのうち前記第1メモリチップに割り当てられた仮想サーバを特定するステップと、
前記管理サーバが、前記特定された仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更するように前記仮想化機構に指示するステップと、を含み、
前記仮想化機構が、前記管理サーバから前記仮想サーバの割り当て先の変更指示を受け付け、前記仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更するステップは、
前記仮想サーバのメモリアドレス空間と前記第1メモリチップのメモリアドレス空間との対応関係、前記仮想サーバのメモリアドレス空間と前記第2メモリチップのアドレス空間との対応関係、及び前記第2メモリチップにデータの移動が完了した前記仮想サーバのメモリアドレスが登録される更新済みアドレスを一時的に保持する一時的メモリマッピング情報を生成するステップと、
前記仮想化機構が、前記仮想サーバの割り当て先を前記第2メモリに変更するように、前記メモリマッピング情報を更新するステップと、
前記仮想化機構が、前記第1メモリチップに格納されたデータを前記第2メモリチップに移動するステップと、を含み、
前記方法は、
前記仮想化機構が、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから書き込み命令を受信した場合、前記一時的メモリマッピング情報の前記更新済みアドレスに書き込み先のアドレスを登録し、前記更新後のメモリマッピング情報を参照して、前記書き込み先のアドレスを前記第2メモリチップのメモリアドレスに変換するステップと、
前記仮想化機構が、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから読み込み命令を受信した場合、読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであるか否かを判定するステップと、
前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであると判定された場合、前記仮想化機構が、前記更新後のメモリマッピング情報を参照して、前記読み込み先のアドレスを前記第2メモリチップのメモリアドレスに変換するステップと、
前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスでないと判定された場合、前記仮想化機構が、前記一時的メモリマッピング情報を参照して、前記読み込み先のアドレスを前記第1メモリチップのメモリアドレスに変換するステップと、を含むことを特徴とする電力制御方法。 A method for controlling power consumption of a memory executed in a computer system including one or more business servers, a management server that manages the business servers, and a network that connects the business servers and the management server. ,
The business server includes one or more memory chips that are units that can control power consumption of the memory, a power control mechanism that performs control to switch the power consumption of the memory chip between a power saving state and a normal state, and one A virtualization mechanism for operating the above virtual servers,
The virtualization mechanism includes memory mapping information that holds a correspondence relationship between the memory address space of the virtual server and the address space of the memory chip,
The management server holds an allocation relationship between the virtual server and the memory chip,
The method
The management server identifying the memory chip in the normal state among the memory chips;
The management server specifies a memory chip that is not allocated to the virtual server among the specified normal state memory chips;
The management server instructing the business server to change the power consumption of the identified unallocated memory chip to the power saving state;
The business server includes a power control step of changing power consumption of the memory chip based on an instruction from the management server;
The business server has a first memory chip and a second memory chip,
The method
The management server identifying a virtual server assigned to the first memory chip among the virtual servers;
Instructing the virtualization mechanism to change the allocation destination of the identified virtual server from the first memory chip to the second memory chip,
The virtualization mechanism receives an instruction to change the assignment destination of the virtual server from the management server, and changes the assignment destination of the virtual server from the first memory chip to the second memory chip,
A correspondence relationship between the memory address space of the virtual server and the memory address space of the first memory chip, a correspondence relationship of the memory address space of the virtual server and the address space of the second memory chip, and the second memory chip. Generating temporary memory mapping information that temporarily holds an updated address in which a memory address of the virtual server for which data movement has been completed is registered;
Updating the memory mapping information such that the virtualization mechanism changes the allocation destination of the virtual server to the second memory;
The virtualization mechanism includes moving data stored in the first memory chip to the second memory chip;
The method
When the virtualization mechanism receives a write command from the virtual server while changing the allocation destination of the virtual server, it registers a write destination address in the updated address of the temporary memory mapping information, and updates the update Referring to later memory mapping information, converting the write destination address into a memory address of the second memory chip;
When the virtualization mechanism receives a read command from the virtual server while changing the allocation destination of the virtual server, the address of the read destination is an address registered in the updated address of the temporary memory mapping information. Determining whether there is,
When it is determined that the read destination address is an address registered in the updated address of the temporary memory mapping information, the virtualization mechanism refers to the updated memory mapping information and reads the read Converting a previous address into a memory address of the second memory chip;
When it is determined that the read destination address is not an address registered in the updated address of the temporary memory mapping information, the virtualization mechanism refers to the temporary memory mapping information to read the read destination address. Converting the address into a memory address of the first memory chip .
前記管理サーバが未割り当てのメモリチップを特定するステップでは、前記特定された通常状態のメモリチップのうち、前記OS及び前記プロセスに対して未割り当てのメモリチップを特定することを特徴とする請求項1に記載の電力制御方法。 The step of identifying an unallocated memory chip by the management server identifies an unallocated memory chip for the OS and the process among the identified normal state memory chips. The power control method according to 1.
前記第3メモリチップ及び第5メモリチップは通常状態に設定され、前記第4メモリチップは省電力状態に設定され、 The third memory chip and the fifth memory chip are set in a normal state, the fourth memory chip is set in a power saving state,
前記方法は、前記仮想化機構が、前記仮想サーバからメモリへの書き込みについて、同じデータを前記第3メモリチップと、前記第4メモリチップとに書き込むステップを含み、 The method includes the step of the virtualization mechanism writing the same data to the third memory chip and the fourth memory chip for writing from the virtual server to the memory;
前記書き込みステップでは、前記4メモリチップへの書き込みに遅延が生じた場合、前記第4メモリチップに書き込むデータを前記第5メモリチップに一時的に書き込むことを特徴とする請求項1に記載の電力制御方法。 2. The power according to claim 1, wherein, in the writing step, when there is a delay in writing to the four memory chips, data to be written to the fourth memory chip is temporarily written to the fifth memory chip. Control method.
前記業務サーバは、メモリの消費電力を制御できる単位である一つ以上のメモリチップと、前記メモリチップの消費電力を省電力状態と通常状態とに切り替える制御を実施する電力制御機構と、一つ以上の仮想サーバを稼動させる仮想化機構と、を備え、 The business server includes one or more memory chips that are units that can control power consumption of the memory, a power control mechanism that performs control to switch the power consumption of the memory chip between a power saving state and a normal state, and one A virtualization mechanism for operating the above virtual servers,
前記仮想化機構は、前記仮想サーバのメモリアドレス空間と前記メモリチップのアドレス空間との対応関係を保持するメモリマッピング情報を備え、 The virtualization mechanism includes memory mapping information that holds a correspondence relationship between the memory address space of the virtual server and the address space of the memory chip,
前記管理サーバは、 The management server
前記仮想サーバと前記メモリチップとの割り当て関係を保持し、 Holding an allocation relationship between the virtual server and the memory chip;
前記メモリチップのうち前記通常状態のメモリチップを特定し、 Identifying the memory chip in the normal state among the memory chips,
前記特定された通常状態のメモリチップのうち、前記仮想サーバに対して未割り当てのメモリチップを特定し、 Among the identified normal state memory chips, identify unallocated memory chips for the virtual server,
前記特定された未割り当てのメモリチップの消費電力を前記省電力状態に変更するように前記業務サーバに指示し、 Instructing the business server to change the power consumption of the identified unallocated memory chip to the power saving state,
前記業務サーバは、前記管理サーバからの指示に基づいて前記メモリチップの消費電力を変更し、 The business server changes the power consumption of the memory chip based on an instruction from the management server,
前記業務サーバは、第1メモリチップと第2メモリチップとを有し、 The business server has a first memory chip and a second memory chip,
前記管理サーバは、前記仮想サーバのうち前記第1メモリチップに割り当てられた仮想サーバを特定し、 The management server specifies a virtual server assigned to the first memory chip among the virtual servers,
前記管理サーバが、前記特定された仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更するように前記仮想化機構に指示し、 The management server instructs the virtualization mechanism to change the allocation destination of the identified virtual server from the first memory chip to the second memory chip;
前記仮想化機構は、前記管理サーバから前記仮想サーバの割り当て先の変更指示を受け付け、前記仮想サーバの割り当て先を前記第1メモリチップから前記第2メモリチップに変更する場合、 The virtualization mechanism receives an instruction to change the assignment destination of the virtual server from the management server, and changes the assignment destination of the virtual server from the first memory chip to the second memory chip.
前記仮想サーバのメモリアドレス空間と前記第1メモリチップのメモリアドレス空間との対応関係、前記仮想サーバのメモリアドレス空間と前記第2メモリチップのアドレス空間との対応関係、及び前記第2メモリチップに移動が完了した前記仮想サーバのメモリアドレスが登録される更新済みアドレスを一時的に保持する一時的メモリマッピング情報を生成し、 A correspondence relationship between the memory address space of the virtual server and the memory address space of the first memory chip, a correspondence relationship of the memory address space of the virtual server and the address space of the second memory chip, and the second memory chip. Generating temporary memory mapping information that temporarily holds an updated address in which the memory address of the virtual server that has been moved is registered;
前記仮想化機構は、前記仮想サーバの割り当て先を前記第2メモリに変更するように、前記マッピング情報を更新し、 The virtualization mechanism updates the mapping information so as to change the allocation destination of the virtual server to the second memory,
前記仮想化機構は、前記第1メモリチップに格納されたデータを前記第2メモリチップに移動し、 The virtualization mechanism moves data stored in the first memory chip to the second memory chip;
前記仮想化機構は、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから書き込み命令を受信した場合、前記一時的メモリマッピング情報の前記更新済みアドレスに書き込み先のアドレスを登録し、前記更新後のメモリマッピング情報を参照して、前記書き込み先のアドレスを前記第2メモリチップのメモリアドレスに変換し、 When the virtualization mechanism receives a write command from the virtual server while changing the allocation destination of the virtual server, the virtualization mechanism registers the write destination address in the updated address of the temporary memory mapping information, and updates the update With reference to later memory mapping information, the write destination address is converted to a memory address of the second memory chip,
前記仮想化機構は、前記仮想サーバの割り当て先の変更中に、前記仮想サーバから読み込み命令を受信した場合、読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであるか否かを判定し、 When the virtualization mechanism receives a read command from the virtual server while changing the allocation destination of the virtual server, the address of the read destination is an address registered in the updated address of the temporary memory mapping information. Determine if there is,
前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスであると判定された場合、前記更新後のメモリマッピング情報を参照して、前記読み込み先のアドレスを前記第2メモリチップのメモリアドレスに変換し、 When it is determined that the read destination address is an address registered in the updated address of the temporary memory mapping information, the read destination address is determined by referring to the updated memory mapping information. Convert to memory address of 2 memory chips,
前記読み込み先のアドレスが前記一時的メモリマッピング情報の前記更新済みアドレスに登録されたアドレスでないと判定された場合、前記一時的メモリマッピング情報を参照して、前記読み込み先のアドレスを前記第1メモリチップのメモリアドレスに変換することを特徴とする計算機システム。 When it is determined that the read destination address is not an address registered in the updated address of the temporary memory mapping information, the temporary memory mapping information is referred to and the read destination address is set to the first memory. A computer system which converts to a memory address of a chip.
前記仮想サーバ上で稼働するOS及び前記仮想サーバ上で稼働するプロセスと、前記OS及び前記プロセスに割り当てられたメモリチップとの割り当て関係を保持し、 Holding an allocation relationship between an OS running on the virtual server and a process running on the virtual server, and a memory chip allocated to the OS and the process;
前記管理サーバが未割り当てのメモリチップを特定する場合、前記特定された通常状態のメモリチップのうち、前記OS及び前記プロセスに対して未割り当てのメモリチップを特定することを特徴とする請求項4に記載の計算機システム。 5. When the management server specifies an unallocated memory chip, the memory chip that is not allocated to the OS and the process among the specified normal state memory chips is specified. The computer system described in 1.
前記第3メモリチップ及び第5メモリチップは通常状態に設定され、前記第4メモリチップは省電力状態に設定され、 The third memory chip and the fifth memory chip are set in a normal state, the fourth memory chip is set in a power saving state,
前記仮想化機構は、 The virtualization mechanism is:
前記仮想サーバからメモリへの書き込みについて、同じデータを前記第3メモリチップと、前記第4メモリチップとに書き込み、 For writing from the virtual server to the memory, the same data is written to the third memory chip and the fourth memory chip,
前記4メモリチップへの書き込みに遅延が生じた場合、前記第4メモリチップに書き込むデータを前記第5メモリチップに一時的に書き込むことを特徴とする請求項4に記載の計算機システム。 5. The computer system according to claim 4, wherein when a delay occurs in writing to the four memory chips, data to be written to the fourth memory chip is temporarily written to the fifth memory chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011288133A JP5382471B2 (en) | 2011-12-28 | 2011-12-28 | Power control method, computer system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011288133A JP5382471B2 (en) | 2011-12-28 | 2011-12-28 | Power control method, computer system, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007292959A Division JP4902501B2 (en) | 2007-11-12 | 2007-11-12 | Power control method, computer system, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012074084A JP2012074084A (en) | 2012-04-12 |
JP5382471B2 true JP5382471B2 (en) | 2014-01-08 |
Family
ID=46170090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011288133A Expired - Fee Related JP5382471B2 (en) | 2011-12-28 | 2011-12-28 | Power control method, computer system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5382471B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7394865B2 (en) * | 2019-03-26 | 2023-12-08 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Reassignment of regulator phases within a phase-redundant voltage regulator device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004047051A (en) * | 2002-05-17 | 2004-02-12 | Matsushita Electric Ind Co Ltd | Memory controller, memory control method, and program |
US7007183B2 (en) * | 2002-12-09 | 2006-02-28 | International Business Machines Corporation | Power conservation by turning off power supply to unallocated resources in partitioned data processing systems |
JP2006113767A (en) * | 2004-10-14 | 2006-04-27 | Sony Corp | Information processing system and method, and program |
TW200746161A (en) * | 2005-12-21 | 2007-12-16 | Nxp Bv | Power partitioning memory banks |
-
2011
- 2011-12-28 JP JP2011288133A patent/JP5382471B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012074084A (en) | 2012-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4902501B2 (en) | Power control method, computer system, and program | |
US10552337B2 (en) | Memory management and device | |
US9785381B2 (en) | Computer system and control method for the same | |
US10248322B2 (en) | Memory system | |
JP6403164B2 (en) | Memory system | |
JP2009043030A (en) | Storage system | |
US9141304B2 (en) | Storage device and method for controlling storage device | |
JP2007140728A (en) | Storage device system and storage control method | |
JP2012033001A (en) | Information processing apparatus and information processing method | |
US10817186B2 (en) | Memory system | |
US9395930B2 (en) | Information processing system, control method of information processing system, and recording medium | |
JP6311365B2 (en) | Storage area management device, storage area management method, and storage area management program | |
US20140068214A1 (en) | Information processing apparatus and copy control method | |
US10210035B2 (en) | Computer system and memory dump method | |
JP5382471B2 (en) | Power control method, computer system, and program | |
JP5334048B2 (en) | Memory device and computer | |
JP5597266B2 (en) | Storage system | |
JP6652605B2 (en) | Memory system control method | |
JP2021135760A (en) | Memory system and memory control method | |
US10846023B2 (en) | Storage device and storage area management method for reducing garbage collection processing | |
JP6860722B2 (en) | Memory system control method | |
US20220083272A1 (en) | Information processing apparatus, computer-readable recording medium storing program, and method of processing information | |
JP2003263276A (en) | Disk system and disk access method | |
WO2017163322A1 (en) | Management computer, and management method for computer system | |
JP2019528517A (en) | Method to improve storage latency using low cost hardware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120322 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130219 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130220 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130419 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130903 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130918 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5382471 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |