[go: up one dir, main page]

JP2013114369A - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP2013114369A
JP2013114369A JP2011258549A JP2011258549A JP2013114369A JP 2013114369 A JP2013114369 A JP 2013114369A JP 2011258549 A JP2011258549 A JP 2011258549A JP 2011258549 A JP2011258549 A JP 2011258549A JP 2013114369 A JP2013114369 A JP 2013114369A
Authority
JP
Japan
Prior art keywords
hypervisor
hard disk
buffer
memory
disk device
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.)
Pending
Application number
JP2011258549A
Other languages
Japanese (ja)
Inventor
Hideyuki Aze
英之 畔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011258549A priority Critical patent/JP2013114369A/en
Publication of JP2013114369A publication Critical patent/JP2013114369A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an information processing device that improves IO performance without adjusting an old generation S/W to up-to-date H/W when implementing the old generation S/W on the up-to-date H/W.SOLUTION: In an information processing device, a prefetch capability 102 that operates independently from OS 100 operating on a hypervisor 101 is provided with the hypervisor 101 operating on a CPU 103. The prefetch capability 102 prefetches data in an HDD 106 and stores it in a prefetch buffer 105 of a memory 104. In response to an access request from the OS 100 to the HDD 106, if data is stored in the prefetch buffer 105, the data is read from the prefetch buffer 105 to notify to the OS 100.

Description

この発明は、旧世代のS/W(ソフトウェア)を最新H/W(ハードウェア)に搭載する場合に、仮想化技術を用いてIO性能を改善する情報処理装置に関するものである。   The present invention relates to an information processing apparatus that uses a virtualization technology to improve IO performance when an older generation S / W (software) is installed in the latest H / W (hardware).

従来より、旧世代のS/Wを最新H/Wに搭載する場合に、S/Wを改造せず互換性を維持して動作させる方法として、仮想化技術(ハイパーバイザ)を使用する方法が知られている(特許文献1)。
ハイパーバイザにより、旧世代S/Wが動作可能なH/W構成をエミュレーションして旧世代H/Wに見せることで、旧世代S/Wを改造することなく、ハイパーバイザが提供する仮想的なH/W上で動作できるようになる。
Conventionally, when an old generation S / W is installed in the latest H / W, a method of using a virtualization technology (hypervisor) as a method of maintaining compatibility without modifying the S / W is known. Known (Patent Document 1).
By emulating the H / W configuration in which the old generation S / W can operate with the hypervisor and showing it to the old generation H / W, the virtual visor provided by the hypervisor can be provided without modifying the old generation S / W. It becomes possible to operate on H / W.

特開2010−204962号公報(第13〜14頁、図3)JP 2010-204962 A (pages 13-14, FIG. 3)

ハイパーバイザ上で旧世代S/Wを動作させると、ハイパーバイザによるH/Wのエミュレーションが必要になるため、旧世代S/Wの動作する時間に加えて、ハイパーバイザの処理時間が追加され、本来のH/W性能と比較してIO性能が低下していた。
また、H/Wは高速に動作が可能なのに、旧世代S/Wがそれに適したアクセスをしないため、旧世代S/Wの処理がボトルネックとなり、H/W性能を十分に活かしきれずにIO性能が低下するケースがあった。
When the old generation S / W is operated on the hypervisor, H / W emulation by the hypervisor is required. In addition to the operation time of the old generation S / W, the processing time of the hypervisor is added. Compared to the original H / W performance, the IO performance was reduced.
Also, although H / W can operate at high speed, the old generation S / W does not have access suitable for it, so the processing of the old generation S / W becomes a bottleneck and the H / W performance cannot be fully utilized. There was a case where IO performance deteriorated.

この発明は、上述のような課題を解決するためになされたものであり、旧世代のS/Wを最新H/Wに搭載する場合に、仮想H/Wを形成することなく、IO性能を改善する情報処理装置を得ることを目的にする。   The present invention has been made to solve the above-described problems. When an older generation S / W is installed in the latest H / W, the IO performance can be improved without forming a virtual H / W. It aims at obtaining the information processing apparatus which improves.

この発明に係わる情報処理装置においては、CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、及びこのハイパーバイザ上で動作するOSを備え、ハイパーバイザは、OSとは独立して動作し、ハードディスク装置の所定領域のデータを先読みし、メモリ上に設けられた先読み用バッファに記憶させる先読み手段を有し、先読み手段は、OSからのハードディスク装置へのアクセス要求が、ハードディスク装置の所定領域に対するものである場合には、先読み用バッファに対してアクセスを実行するものである。   The information processing apparatus according to the present invention includes a hypervisor that operates on hardware including a CPU, a memory, and a hard disk device, and an OS that operates on the hypervisor, and the hypervisor operates independently of the OS. Pre-reading means for pre-reading data in a predetermined area of the hard disk device and storing the data in a pre-reading buffer provided on the memory. If the access is to an area, the prefetch buffer is accessed.

この発明によれば、CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、及びこのハイパーバイザ上で動作するOSを備え、ハイパーバイザは、OSとは独立して動作し、ハードディスク装置の所定領域のデータを先読みし、メモリ上に設けられた先読み用バッファに記憶させる先読み手段を有し、先読み手段は、OSからのハードディスク装置へのアクセス要求が、ハードディスク装置の所定領域に対するものである場合には、先読み用バッファに対してアクセスを実行するので、旧世代のS/Wであっても、仮想H/Wを形成することなく、IO性能を改善することができる。   According to the present invention, a hypervisor that operates on hardware including a CPU, a memory, and a hard disk device, and an OS that operates on the hypervisor, the hypervisor operates independently of the OS, and the hard disk device is provided. Pre-reading means for pre-reading data in a predetermined area and storing the data in a pre-reading buffer provided on the memory. The pre-reading means is for a request for access to the hard disk device from the OS to the predetermined area of the hard disk device. In some cases, access to the prefetching buffer is executed, so that the IO performance can be improved without forming a virtual H / W even with an older generation S / W.

この発明の実施の形態1による情報処理装置を示す構成図である。It is a block diagram which shows the information processing apparatus by Embodiment 1 of this invention. この発明の実施の形態1による情報処理装置の動作を示す説明図である。It is explanatory drawing which shows operation | movement of the information processing apparatus by Embodiment 1 of this invention. この発明の実施の形態2による情報処理装置の構成と動作を示す説明図である。It is explanatory drawing which shows the structure and operation | movement of the information processing apparatus by Embodiment 2 of this invention. この発明の実施の形態3による情報処理装置を示す構成図である。It is a block diagram which shows the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態3による情報処理装置におけるアクセス頻度管理機能の内部動作を示すフローチャートである。It is a flowchart which shows the internal operation | movement of the access frequency management function in the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態4による情報処理装置を示す構成図である。It is a block diagram which shows the information processing apparatus by Embodiment 4 of this invention. この発明の実施の形態5による情報処理装置を示す構成図である。It is a block diagram which shows the information processing apparatus by Embodiment 5 of this invention.

実施の形態1.
以下、この発明の実施の形態1を、図に基づいて説明する。
図1は、この発明の実施の形態1による情報処理装置を示す構成図である。
図1において、最新H/WであるCPU103上にハイパーバイザ101を搭載し、ハイパーバイザ101上で、旧世代のOS100を動作させるというS/W構成をとる。OS100は、メモリ104やHDD106(ハードディスク装置)のH/W資源には直接アクセスせず、ハイパーバイザ101を経由してアクセスする。
ハイパーバイザ101は、OS100のIO要求とは独立して、HDD106にアクセスする先読み機能102(先読み手段)を有する。メモリ104には、先読み機能102が使用する専用のメモリ空間として、先読み用バッファ105の空間を割り当てる。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to the drawings.
1 is a block diagram showing an information processing apparatus according to Embodiment 1 of the present invention.
In FIG. 1, an S / W configuration is adopted in which a hypervisor 101 is mounted on a CPU 103 that is the latest H / W, and an old generation OS 100 is operated on the hypervisor 101. The OS 100 does not directly access the H / W resources of the memory 104 or the HDD 106 (hard disk device), but accesses it via the hypervisor 101.
The hypervisor 101 has a prefetch function 102 (prefetch means) that accesses the HDD 106 independently of the IO request of the OS 100. A space of the prefetch buffer 105 is allocated to the memory 104 as a dedicated memory space used by the prefetch function 102.

図2は、この発明の実施の形態1による情報処理装置の動作を示す説明図である。
図2において、100〜106は図1におけるものと同一のものである。a〜hは処理の流れを示している。
FIG. 2 is an explanatory diagram showing the operation of the information processing apparatus according to Embodiment 1 of the present invention.
In FIG. 2, reference numerals 100 to 106 are the same as those in FIG. a to h show the flow of processing.

次に、実施の形態1の動作について、図2に基づいて説明する。
通常、OS100からHDD106に対するIO要求は、ハイパーバイザ101を経由してHDD106にアクセスし(a)、その結果をOS100に通知する(b)。
この時、OS100からのIO要求が、連続した領域(所定領域)に対して続いた場合や、ある一定の領域内に集中した場合は、ハイパーバイザ101では、次のOS100からのIO要求はその周辺の領域(所定領域)へのアクセスである可能性が高いと判断し、先読み機能102を動作させる。
先読み機能102は、OS100からのIO要求がない空き時間を利用して、HDD106にアクセスし(c)、OS100からのアクセスが集中している周辺の領域のデータを、先読み用バッファ105に蓄積しておく(d)。
Next, the operation of the first embodiment will be described with reference to FIG.
Normally, an IO request from the OS 100 to the HDD 106 accesses the HDD 106 via the hypervisor 101 (a) and notifies the OS 100 of the result (b).
At this time, if the IO request from the OS 100 continues to a continuous area (predetermined area) or concentrates in a certain area, the hypervisor 101 determines that the next IO request from the OS 100 is It is determined that there is a high possibility of access to a peripheral area (predetermined area), and the prefetch function 102 is operated.
The prefetch function 102 accesses the HDD 106 using a free time when there is no IO request from the OS 100 (c), and accumulates data in a peripheral area where access from the OS 100 is concentrated in the prefetch buffer 105. (D).

OS100から先読み用バッファ105に蓄積済みの領域に対するIO要求(読出し)があった場合は(e)、先読み機能102は、先読み用バッファ105から該当するデータを読出し、結果をOSに通知する(f)。
また、OS100からのIO要求が書込みの場合は、先読み用バッファ105のみ更新して(g)、OS100に完了を通知する。その後、先読み機能102では、IOの空き時間を利用して、先読み用バッファ105に保存したデータを、HDD106に書き込む(h)。
When there is an IO request (read) from the OS 100 to an area accumulated in the prefetch buffer 105 (e), the prefetch function 102 reads the corresponding data from the prefetch buffer 105 and notifies the OS of the result (f) ).
If the IO request from the OS 100 is a write, only the prefetch buffer 105 is updated (g), and the OS 100 is notified of completion. Thereafter, the prefetch function 102 writes the data saved in the prefetch buffer 105 to the HDD 106 using the IO free time (h).

これにより、OS100からのIO要求の一部は、HDD106にアクセスすることなく完了するため、OS100はIOの待ち時間無しで高速に動作できる。
また、先読み機能102は、OS100の処理の空き時間を利用して、OS100のIO要求とは関係なく、HDD106にアクセスするため、本来のH/W性能を発揮して先読み用バッファ105にデータを蓄積することができる。
Thus, a part of the IO request from the OS 100 is completed without accessing the HDD 106, so the OS 100 can operate at high speed without waiting for the IO.
In addition, the prefetch function 102 uses the idle time of the processing of the OS 100 to access the HDD 106 regardless of the IO request of the OS 100, so that the original H / W performance is exhibited and data is stored in the prefetch buffer 105. Can be accumulated.

実施の形態1によれば、OSとHDDとの間に介在するハイパーバイザにより、HDDのデータを先読みする構成にしたので、旧世代のOSであっても、高速に動作することができる。   According to the first embodiment, since the data in the HDD is pre-read by the hypervisor interposed between the OS and the HDD, even an old generation OS can operate at high speed.

実施の形態2.
以下、この発明の実施の形態2を、図に基づいて説明する。
図3は、この発明の実施の形態2による情報処理装置の構成と動作を示す説明図である。
図3において、100、101、103、104、106は図1におけるものと同一のものである。図3では、ハイパーバイザ101に、図1の先読み機能102の代わりに、ミラーリング機能301(ミラーリング手段)を搭載する。また、メモリ104にHDD用バッファ302(ハードディスク装置用バッファ)を設ける。HDD106の中で、OS100が実際に必要とするOS使用領域303のサイズが、メモリ302のサイズに比べて小さい時に、この使用形態をとることができる。
ミラーリング機能301は、HDD用バッファ302の内容が、OS使用領域303と同じ内容となるように同期をとる、ミラーリング処理を行う。
Embodiment 2. FIG.
The second embodiment of the present invention will be described below with reference to the drawings.
FIG. 3 is an explanatory diagram showing the configuration and operation of the information processing apparatus according to Embodiment 2 of the present invention.
In FIG. 3, reference numerals 100, 101, 103, 104, and 106 are the same as those in FIG. In FIG. 3, the hypervisor 101 is equipped with a mirroring function 301 (mirroring means) instead of the prefetch function 102 of FIG. The memory 104 is provided with an HDD buffer 302 (hard disk device buffer). When the size of the OS usage area 303 actually required by the OS 100 in the HDD 106 is smaller than the size of the memory 302, this usage mode can be adopted.
The mirroring function 301 performs a mirroring process that synchronizes so that the content of the HDD buffer 302 is the same as that of the OS use area 303.

次に、実施の形態2の動作について、図3に基づいて説明する。
ミラーリング機能301の動作は、基本的に図1における先読み機能102と同等である。ミラーリング機能301は、OS100からのIO要求のない空き時間を利用して、HDD用バッファ302にアクセスし(j)、OS使用領域303との内容の同期を保つように、メモリ104やHDD106の読出し・書込みを行う(k)。そして、OS100からのIO要求があった場合は(m)、全てHDD用バッファ302に対してアクセスを行う(n)。
Next, the operation of the second embodiment will be described with reference to FIG.
The operation of the mirroring function 301 is basically the same as that of the prefetch function 102 in FIG. The mirroring function 301 accesses the HDD buffer 302 using free time without an IO request from the OS 100 (j), and reads the memory 104 and the HDD 106 so as to keep the contents synchronized with the OS use area 303. Write (k). When there is an IO request from the OS 100 (m), all accesses are made to the HDD buffer 302 (n).

実施の形態2の利点は、OS100からのIO要求は、全てHDD用バッファ302に対してのみ行われるため、OS100のIO待ち時間が完全になくなることである。
その上、ハイパーバイザ101では、先読み用バッファ(図1の105)にIO対象のデータが蓄積されているかどうかを判定する処理が不要になるため、ハイパーバイザ101の処理が軽減される。そのため、OS100のIO要求に占める、ハイパーバイザ101の処理時間も短縮することが可能となる。
The advantage of the second embodiment is that since all IO requests from the OS 100 are made only to the HDD buffer 302, the IO waiting time of the OS 100 is completely eliminated.
In addition, in the hypervisor 101, the process of determining whether or not the IO target data is accumulated in the prefetch buffer (105 in FIG. 1) becomes unnecessary, and thus the process of the hypervisor 101 is reduced. Therefore, the processing time of the hypervisor 101 occupying the IO request of the OS 100 can be shortened.

実施の形態2によれば、HDDのOS使用領域と、メモリのHDD用バッファとの内容の同期をとることにより、OSのHDDへのアクセスを無くし、したがってOSのIO待ち時間を無くし、かつハイパーバイザの処理を軽減することができる。   According to the second embodiment, by synchronizing the contents of the OS usage area of the HDD and the HDD buffer of the memory, access to the HDD of the OS is eliminated, thus eliminating the IO waiting time of the OS, and The processing of the visor can be reduced.

実施の形態3.
以下、この発明の実施の形態3を、図に基づいて説明する。
図4は、この発明の実施の形態3による情報処理装置を示す構成図である。
図4において、100、101、103、104、106は図1におけるものと同一のものである。図4では、ハイパーバイザ101に、図1における先読み機能102の代わりに、アクセス頻度管理機能401(アクセス頻度管理手段)を設けている。メモリ104には、HDD106をキャッシュするためのバッファ403と、HDD106の一定領域毎のアクセス頻度を記憶するためのアクセス頻度管理テーブル402の空間を割り当てる。
アクセス頻度管理機能401は、HDD106を一定領域毎に区切って、OS100からのアクセス頻度を、アクセス頻度管理テーブル402に記憶させ、アクセス回数が多い領域や、直近でアクセスが増加した領域を、優先的にバッファ403に蓄積する機能を有する。
Embodiment 3 FIG.
Embodiment 3 of the present invention will be described below with reference to the drawings.
FIG. 4 is a block diagram showing an information processing apparatus according to Embodiment 3 of the present invention.
In FIG. 4, reference numerals 100, 101, 103, 104, and 106 are the same as those in FIG. In FIG. 4, the hypervisor 101 is provided with an access frequency management function 401 (access frequency management means) instead of the prefetch function 102 in FIG. The memory 104 is allocated with a space for a buffer 403 for caching the HDD 106 and an access frequency management table 402 for storing the access frequency for each fixed area of the HDD 106.
The access frequency management function 401 divides the HDD 106 into fixed areas and stores the access frequency from the OS 100 in the access frequency management table 402. The access frequency management function 401 gives priority to areas with a high number of accesses or areas that have recently been accessed. Has a function of storing in the buffer 403.

次に、アクセス頻度管理機能401の動作について、図5のフローチャートに基づいて説明する。
OS100からのIO要求があると(ステップ501)、アクセス頻度管理テーブル402を読出し(ステップ502)、IO対象の領域がアクセス頻度の高い領域かどうかを判定する(ステップ503)。高頻度でなければ、HDD106に直接アクセスし(ステップ504)、その結果をOS100に通知する(ステップ505)。OS100は、この時点でIO処理が終了する。
その後、アクセス頻度管理機能401は、今回のIO要求に基づいてアクセス頻度管理テーブル402を更新し(ステップ506)、もし今回のIO処理を行ったことで高頻度と判定されるようになったら(ステップ507)、該当の領域をバッファ403に追加する(ステップ508)。ステップ507の判定で、高頻度と判定されなければ、そのまま処理を終了する(ステップ514)。
Next, the operation of the access frequency management function 401 will be described based on the flowchart of FIG.
When there is an IO request from the OS 100 (step 501), the access frequency management table 402 is read (step 502), and it is determined whether the IO target area is an area with high access frequency (step 503). If the frequency is not high, the HDD 106 is directly accessed (step 504), and the result is notified to the OS 100 (step 505). The OS 100 ends the IO processing at this point.
Thereafter, the access frequency management function 401 updates the access frequency management table 402 based on the current IO request (step 506), and if it is determined that the frequency is high as a result of the current IO processing ( Step 507), the corresponding area is added to the buffer 403 (Step 508). If it is not determined in step 507 that the frequency is high, the processing is terminated as it is (step 514).

また、ステップ503で、高頻度の領域に対するIO要求であると判定した場合は、バッファ403にアクセスし(ステップ509)、その結果をOS100に通知する(ステップ510)。OS100は、この時点でIO処理が終了する。
その後、アクセス頻度管理機能401では、今回のIO要求が書込みだった場合(ステップ511)、バッファ403の内容に従ってHDD106を更新する(ステップ512)。最後にアクセス頻度管理テーブル402を更新し(ステップ513)、処理を終了する(ステップ514)。
If it is determined in step 503 that the request is an IO request for a high-frequency area, the buffer 403 is accessed (step 509), and the result is notified to the OS 100 (step 510). The OS 100 ends the IO processing at this point.
After that, the access frequency management function 401 updates the HDD 106 according to the contents of the buffer 403 when the current IO request is a write (step 511) (step 512). Finally, the access frequency management table 402 is updated (step 513), and the process ends (step 514).

実施の形態3も、実施の形態1と同様、OS100からのIO要求の一部がHDD106にアクセスせずに完了するため、OS100はIOの待ち時間無しで高速に動作できる。
また、実施の形態1と異なり、OS100からのIO要求に関係しないHDD106アクセスを行わないため、実施の形態1よりもハイパーバイザ101の動作が軽くなる。
In the third embodiment, as in the first embodiment, since a part of the IO request from the OS 100 is completed without accessing the HDD 106, the OS 100 can operate at high speed without IO waiting time.
Unlike the first embodiment, the HDD 106 access not related to the IO request from the OS 100 is not performed, so that the operation of the hypervisor 101 is lighter than that of the first embodiment.

実施の形態3によれば、メモリにHDDをキャッシュするためのバッファを設け、HDDの高頻度のアクセス領域に対するIO要求をバッファに対して行うようにすることで、OSの動作と、ハイパーバイザの動作を早くすることができる。   According to the third embodiment, the buffer for caching the HDD is provided in the memory, and the IO operation for the high-frequency access area of the HDD is made to the buffer, so that the operation of the OS and the hypervisor The operation can be made faster.

実施の形態4.
以下に、この発明の実施の形態4を、図に基づいて説明する。
図6は、この発明の実施の形態4による情報処理装置を示す構成図である。
図6において、100〜104、106は図1におけるものと、401〜403は図4におけるものとそれぞれ同一のものである。
Embodiment 4 FIG.
Embodiment 4 of the present invention will be described below with reference to the drawings.
FIG. 6 is a block diagram showing an information processing apparatus according to Embodiment 4 of the present invention.
6, 100 to 104 and 106 are the same as those in FIG. 1, and 401 to 403 are the same as those in FIG.

実施の形態4は、実施の形態1と、実施の形態3の機能を組み合わせたものである。
ハイパーバイザ101に、先読み機能102(先読み手段)とアクセス頻度管理機能401(アクセス頻度管理手段)の両方の機能を持たせる。実施の形態4では、先読み機能102が、アクセス頻度管理テーブル402を参照して、アクセス頻度の高い領域をバッファ403に蓄積しておくようにする。
アクセス頻度管理機能401は、実施の形態3と同様に、OS100からのIO要求によるアクセスの統計を取り、アクセス頻度管理テーブル402に蓄積する。
アクセス頻度管理機能401は、OS100からのIO要求に対しては、実施の形態3と同様に動作し、高頻度の領域に対するIO要求であれば、バッファ403に対するアクセスを実行する。
The fourth embodiment is a combination of the functions of the first embodiment and the third embodiment.
The hypervisor 101 is provided with both functions of a prefetch function 102 (prefetch means) and an access frequency management function 401 (access frequency management means). In the fourth embodiment, the prefetch function 102 refers to the access frequency management table 402 so as to accumulate an area with high access frequency in the buffer 403.
As in the third embodiment, the access frequency management function 401 collects access statistics according to IO requests from the OS 100 and stores them in the access frequency management table 402.
The access frequency management function 401 operates in the same manner as in the third embodiment in response to an IO request from the OS 100, and executes an access to the buffer 403 if the IO request is for a high-frequency area.

実施の形態4によれば、これにより、普段からアクセスの多い領域が優先してバッファに蓄積されるようになるため、より先読みの効果を期待できるようになる。   According to the fourth embodiment, this makes it possible to expect the effect of prefetching because areas that are normally accessed frequently are preferentially stored in the buffer.

実施の形態5.
以下に、この発明の実施の形態5を、図に基づいて説明する。
図7は、この発明の実施の形態5による情報処理装置を示す構成図である。
図7において、101、104、106は図1におけるものと同一のものである。図7では、CPUはマルチコアCPU705であり、コア1(706)とコア2(707)を有している。これに対応して、ハイパーバイザ101上で、複数のOS1(701)とOS2(702)が動作する構成である。
また、コア1(706)とコア2(707)に対応して、ハイパーバイザ101には、先読み機能1(703)(先読み手段)と先読み機能2(704)(先読み手段)が設けられ、メモリ104には、先読み用バッファ1(708)と先読み用バッファ2(709)が設けられている。
なお、各先読み機能1、2と、各先読み用バッファ1、2は、実施の形態1と同様のものである。
Embodiment 5 FIG.
The fifth embodiment of the present invention will be described below with reference to the drawings.
FIG. 7 is a block diagram showing an information processing apparatus according to Embodiment 5 of the present invention.
7, 101, 104, and 106 are the same as those in FIG. In FIG. 7, the CPU is a multi-core CPU 705, which has a core 1 (706) and a core 2 (707). Corresponding to this, a plurality of OS1 (701) and OS2 (702) operate on the hypervisor 101.
Corresponding to the core 1 (706) and the core 2 (707), the hypervisor 101 is provided with a prefetch function 1 (703) (prefetch means) and a prefetch function 2 (704) (prefetch means). 104 includes a prefetch buffer 1 (708) and a prefetch buffer 2 (709).
The prefetch functions 1 and 2 and the prefetch buffers 1 and 2 are the same as those in the first embodiment.

実施の形態5は、実施の形態1を、マルチコアCPU705に対応して拡張したものである。
各コア1(706)、コア2(707)にそれぞれ別のOS1(701)、OS2(702)を割り当てる非対称型マルチプロセッシング方式では、各OS1、2(701、702)がアクセスするHDD106の領域には相関がほとんど無いことから、各OS1、2(701、702)に対応して、それぞれ別の先読み機能1(703)、先読み機能2(704)と、先読み用バッファ1(708)、先読み用バッファ2(709)を設けている。
実施の形態5におけるOS1(701)、先読み機能1(703)、コア1(706)、先読み用バッファ1(708)のグループと、OS2(702)、先読み機能2(704)、コア2(707)、先読み用バッファ2(709)のグループのそれぞれは、実施の形態1におけるものと同様に動作する。
In the fifth embodiment, the first embodiment is expanded corresponding to the multi-core CPU 705.
In the asymmetric multiprocessing system in which different OS1 (701) and OS2 (702) are assigned to each core 1 (706) and core 2 (707), the area of the HDD 106 accessed by each OS1, 2 (701, 702) is accessed. Since there is almost no correlation, different prefetch functions 1 (703), prefetch functions 2 (704), prefetch buffers 1 (708), and prefetch corresponding to each OS 1 and 2 (701, 702). A buffer 2 (709) is provided.
The group of OS1 (701), prefetch function 1 (703), core 1 (706), prefetch buffer 1 (708), and OS2 (702), prefetch function 2 (704), core 2 (707) in the fifth embodiment ), Each group of the prefetch buffer 2 (709) operates in the same manner as in the first embodiment.

実施の形態5によれば、これにより、ハイパーバイザは、コア数に応じた特別な改造を行うことなく、マルチコアCPUに対応可能で、かつそれぞれのコア上で動作するOSに対して、実施の形態1と同様の効果を期待できる。   According to the fifth embodiment, this allows the hypervisor to support the multi-core CPU without performing special modification according to the number of cores, and to implement the implementation on the OS operating on each core. The same effect as in the form 1 can be expected.

なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。   It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

100 OS
101 ハイパーバイザ
102 先読み機能
103 CPU
104 メモリ
105 先読み用バッファ
106 HDD
301 ミラーリング機能
302 HDD用バッファ
303 OS使用領域
401 アクセス頻度管理機能
402 アクセス頻度管理テーブル
403 バッファ
701 OS1
702 OS2
703 先読み機能1
704 先読み機能2
705 マルチコアCPU
706 コア1
707 コア2
708 先読み用バッファ1
709 先読み用バッファ2
100 OS
101 Hypervisor 102 Prefetch Function 103 CPU
104 Memory 105 Prefetch Buffer 106 HDD
301 Mirroring Function 302 HDD Buffer 303 OS Usage Area 401 Access Frequency Management Function 402 Access Frequency Management Table 403 Buffer 701 OS1
702 OS2
703 Prefetch function 1
704 Prefetch function 2
705 Multi-core CPU
706 Core 1
707 Core 2
708 Prefetch buffer 1
709 Prefetch buffer 2

Claims (5)

CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、
及びこのハイパーバイザ上で動作するOSを備え、
上記ハイパーバイザは、
上記OSとは独立して動作し、上記ハードディスク装置の所定領域のデータを先読みし、上記メモリ上に設けられた先読み用バッファに記憶させる先読み手段を有し、
上記先読み手段は、上記OSからの上記ハードディスク装置へのアクセス要求が、上記ハードディスク装置の所定領域に対するものである場合には、上記先読み用バッファに対してアクセスを実行することを特徴とする情報処理装置。
A hypervisor that operates on hardware having a CPU, memory, and hard disk drive;
And an OS operating on this hypervisor,
The hypervisor is
Pre-reading means that operates independently of the OS, pre-reads data in a predetermined area of the hard disk device, and stores the data in a pre-read buffer provided on the memory;
The prefetch means executes an access to the prefetch buffer when a request for access to the hard disk device from the OS is for a predetermined area of the hard disk device. apparatus.
CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、
及びこのハイパーバイザ上で動作するOSを備え、
上記ハイパーバイザは、
上記ハードディスク装置の上記OSが使用するOS使用領域と、上記メモリに設けられたハードディスク装置用バッファとを同じ内容にするミラーリング手段を有し、
上記ミラーリング手段は、上記OSからの上記ハードディスク装置へのアクセス要求を、上記ハードディスク装置用バッファに対して実行することを特徴とする情報処理装置。
A hypervisor that operates on hardware having a CPU, memory, and hard disk drive;
And an OS operating on this hypervisor,
The hypervisor is
Mirroring means for making the OS use area used by the OS of the hard disk device the same as the hard disk device buffer provided in the memory;
The information processing apparatus, wherein the mirroring unit executes an access request from the OS to the hard disk device for the hard disk device buffer.
CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、
及びこのハイパーバイザ上で動作するOSを備え、
上記ハイパーバイザは、
上記ハードディスク装置の領域を区切り、各領域ごとの上記OSからのアクセス頻度を上記メモリに設けられたアクセス頻度管理テーブルに記憶させるとともに、上記ハードディスク装置の上記アクセス頻度の高い領域のデータを優先的に上記メモリに設けられたバッファに記憶させるアクセス頻度管理手段を有し、
上記アクセス頻度管理手段は、上記OSから上記ハードディスク装置へのアクセス要求が、アクセス頻度の高い領域に対するものである場合には、上記バッファに対してアクセスを実行することを特徴とする情報処理装置。
A hypervisor that operates on hardware having a CPU, memory, and hard disk drive;
And an OS operating on this hypervisor,
The hypervisor is
The hard disk device area is divided, and the access frequency from the OS for each area is stored in the access frequency management table provided in the memory, and data in the high access frequency area of the hard disk device is preferentially stored. Having access frequency management means for storing in a buffer provided in the memory,
The access frequency management means executes an access to the buffer when an access request from the OS to the hard disk device is for an area with a high access frequency.
CPUとメモリとハードディスク装置を有するハードウェア上で動作するハイパーバイザ、
及びこのハイパーバイザ上で動作するOSを備え、
上記ハイパーバイザは、
上記ハードディスク装置の領域を区切り、各領域ごとに上記OSからのアクセス頻度を上記メモリに設けられたアクセス頻度管理テーブルに記憶させるアクセス頻度管理手段と、
上記OSとは独立して動作し、上記アクセス頻度管理テーブルを参照して、上記ハードディスク装置の上記アクセス頻度の高い領域のデータを優先的に先読みし、上記メモリに設けられたバッファに記憶させる先読み手段とを有し、
上記アクセス頻度管理手段は、上記OSから上記ハードディスク装置へのアクセス要求が、アクセス頻度の高い領域に対するものである場合には、上記バッファに対してアクセスを実行することを特徴とする情報処理装置。
A hypervisor that operates on hardware having a CPU, memory, and hard disk drive;
And an OS operating on this hypervisor,
The hypervisor is
An access frequency management means for dividing an area of the hard disk device and storing an access frequency from the OS for each area in an access frequency management table provided in the memory;
Prefetching that operates independently of the OS, prefetches data in the frequently accessed area of the hard disk device with reference to the access frequency management table, and stores the prefetched data in a buffer provided in the memory Means,
The access frequency management means executes an access to the buffer when an access request from the OS to the hard disk device is for an area with a high access frequency.
上記ハードウェアは、マルチコアCPUを搭載し、
上記ハイパーバイザは、コアごとに上記先読み手段を有し、
上記メモリには、上記コアごとに上記先読み用バッファが設けられていることを特徴とする請求項1記載の情報処理装置。
The above hardware is equipped with a multi-core CPU,
The hypervisor has the prefetching means for each core,
2. The information processing apparatus according to claim 1, wherein the memory includes the prefetch buffer for each core.
JP2011258549A 2011-11-28 2011-11-28 Information processing device Pending JP2013114369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011258549A JP2013114369A (en) 2011-11-28 2011-11-28 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011258549A JP2013114369A (en) 2011-11-28 2011-11-28 Information processing device

Publications (1)

Publication Number Publication Date
JP2013114369A true JP2013114369A (en) 2013-06-10

Family

ID=48709883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011258549A Pending JP2013114369A (en) 2011-11-28 2011-11-28 Information processing device

Country Status (1)

Country Link
JP (1) JP2013114369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017507401A (en) * 2014-01-06 2017-03-16 ジョンソン コントロールズ テクノロジー カンパニーJohnson Controls Technology Company Vehicle having multiple user interface operating domains

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11191037A (en) * 1997-12-26 1999-07-13 Hitachi Ltd Data storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11191037A (en) * 1997-12-26 1999-07-13 Hitachi Ltd Data storage device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CSND200800302011; 北嶋伸安: '「サーバーの仮想化を実現するOracle VMの真の実力とは DBの開発/運用にも威力を発揮!」' 月刊 DB Magazine 第18巻第2号(通巻239号), 20080601, p.120-129, 株式会社翔泳社 *
CSNH200900206002; 湯原雅信: '「仮想化マシン技術の展望」' FUJITSU VOL.60,NO.3,通巻352号, 20090512, p.221-227, 富士通株式会社 *
JPN6015011001; 北嶋伸安: '「サーバーの仮想化を実現するOracle VMの真の実力とは DBの開発/運用にも威力を発揮!」' 月刊 DB Magazine 第18巻第2号(通巻239号), 20080601, p.120-129, 株式会社翔泳社 *
JPN6015011002; 湯原雅信: '「仮想化マシン技術の展望」' FUJITSU VOL.60,NO.3,通巻352号, 20090512, p.221-227, 富士通株式会社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017507401A (en) * 2014-01-06 2017-03-16 ジョンソン コントロールズ テクノロジー カンパニーJohnson Controls Technology Company Vehicle having multiple user interface operating domains

Similar Documents

Publication Publication Date Title
CN110597451B (en) Method for realizing virtualized cache and physical machine
JP5951582B2 (en) Hypervisor I/O staging on external cache device
US8874877B2 (en) Method and apparatus for preparing a cache replacement catalog
US8176220B2 (en) Processor-bus-connected flash storage nodes with caching to support concurrent DMA accesses from multiple processors
US20080235477A1 (en) Coherent data mover
CN101763226B (en) Cache method for virtual storage devices
JP5536658B2 (en) Buffer memory device, memory system, and data transfer method
EP3594807A1 (en) Virtual disk file format conversion method and device
US10628327B2 (en) Optimizing page table manipulations
WO2013044829A1 (en) Data readahead method and device for non-uniform memory access
WO2014075428A1 (en) Method and device for replacing data in cache module
TWI828307B (en) Computing system for memory management opportunities and memory swapping tasks and method of managing the same
CN103677900B (en) A kind of method and apparatus of computer equipment system Acceleration of starting
JP5428617B2 (en) Processor and arithmetic processing method
JP2000172562A (en) Information processor
CN102736988A (en) Memory management device, memory management method, and control program
WO2013075627A1 (en) Method, device and server for caching data
JP2013114369A (en) Information processing device
CN103207763B (en) Based on the front end caching method of xen virtual disk device
JP4792065B2 (en) Data storage method
Kim et al. I/O access frequency-aware cache method on KVM/QEMU
CN102520884B (en) Pre-reading method for mechanical hard disk in Linux
No et al. MultiCache: Multilayered Cache Implementation for I/O Virtualization
CN106445633A (en) Method and system for improving performance of virtual machine through NVRAM
RU2504000C1 (en) Method of copying data in cache memory and apparatus for realising said method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140410

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150324