JP5709735B2 - Virtual computer system - Google Patents

Virtual computer system Download PDF

Info

Publication number
JP5709735B2
JP5709735B2 JP2011268537A JP2011268537A JP5709735B2 JP 5709735 B2 JP5709735 B2 JP 5709735B2 JP 2011268537 A JP2011268537 A JP 2011268537A JP 2011268537 A JP2011268537 A JP 2011268537A JP 5709735 B2 JP5709735 B2 JP 5709735B2
Authority
JP
Japan
Prior art keywords
guest
disk
trace data
driver
lan
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
Application number
JP2011268537A
Other languages
Japanese (ja)
Other versions
JP2013120511A5 (en
JP2013120511A (en
Inventor
政博 浦
政博 浦
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 JP2011268537A priority Critical patent/JP5709735B2/en
Publication of JP2013120511A publication Critical patent/JP2013120511A/en
Publication of JP2013120511A5 publication Critical patent/JP2013120511A5/ja
Application granted granted Critical
Publication of JP5709735B2 publication Critical patent/JP5709735B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

この発明は、I/O性能を測定するためのトレースデータの取得を行う仮想計算機システムに関するものである。   The present invention relates to a virtual machine system that acquires trace data for measuring I / O performance.

従来の仮想計算機システムにおいては、システム全体およびゲストOS毎のI/O性能を測定して、仮想計算機システムの管理運用を容易にしている。(特許文献1参照)   In a conventional virtual machine system, the I / O performance of the entire system and each guest OS is measured to facilitate management and operation of the virtual machine system. (See Patent Document 1)

特開平5−257720号公報(第3〜4頁、図1)JP-A-5-257720 (pages 3 to 4, FIG. 1)

従来の仮想計算機システムでは、ゲストOS毎のI/O性能を測定するのが目的のため、常にI/Oに関するデータを採取し続ける必要がある。そのため、データを採取する処理が性能のボトルネックにつながるという問題点があった。   In the conventional virtual machine system, since the purpose is to measure the I / O performance for each guest OS, it is necessary to always collect data on I / O. Therefore, there is a problem that the process of collecting data leads to a performance bottleneck.

この発明は、上記のような課題を解決するためになされたものであり、I/O性能を測定するためのトレースデータの取得を任意のタイミングで実行する仮想計算機システムを得ることを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a virtual computer system that executes acquisition of trace data for measuring I / O performance at an arbitrary timing. .

この発明に係わる仮想計算機システムにおいては、ディスク装置を有するハードウェア上で、仮想化機能を有するホストOSが動作し、このホストOS上でゲストOSが動作する仮想計算機システムであって、ゲストOSは、ディスク装置へアクセスするためのアクセス要求をホストOSに対して実行するディスクドライバと、このディスクドライバによるディスク装置へのアクセスの開始時刻と終了時刻をトレースデータとして記録するトレースデータ記録部と、トレースデータの取得をディスクドライバへ指示するトレースデータ取得指示部とを有し、ホストOS上の仮想化機能は、ゲストOSからのディスク装置へのアクセス要求を受けて、ディスク装置へアクセスする仮想ディスクドライバと、この仮想ディスクドライバによるディスク装置へのアクセスの開始時刻と終了時刻を記録するトレースデータ記録部とを有するものである。 The virtual machine system according to the present invention is a virtual machine system in which a host OS having a virtualization function operates on hardware having a disk device, and a guest OS operates on the host OS. A disk driver that executes an access request for accessing the disk device to the host OS, a trace data recording unit that records start time and end time of access to the disk device by the disk driver as trace data, and a trace A virtual disk driver that accesses a disk device in response to a request for access to the disk device from the guest OS, the virtualization function on the host OS having a trace data acquisition instruction unit that instructs the disk driver to acquire data And the virtual disk driver Those having a trace data recording unit that records the start and end times of access to the click device.

この発明によれば、ディスク装置を有するハードウェア上で、仮想化機能を有するホストOSが動作し、このホストOS上でゲストOSが動作する仮想計算機システムであって、ゲストOSは、ディスク装置へアクセスするためのアクセス要求をホストOSに対して実行するディスクドライバと、このディスクドライバによるディスク装置へのアクセスの開始時刻と終了時刻をトレースデータとして記録するトレースデータ記録部と、トレースデータの取得をディスクドライバへ指示するトレースデータ取得指示部とを有し、ホストOS上の仮想化機能は、ゲストOSからのディスク装置へのアクセス要求を受けて、ディスク装置へアクセスする仮想ディスクドライバと、この仮想ディスクドライバによるディスク装置へのアクセスの開始時刻と終了時刻を記録するトレースデータ記録部とを有するので、ディスクI/O性能を測定するためのトレースデータを任意のタイミングで取得することができ、性能劣化の原因がハードウェアにあるのかソフトウェアにあるのかを解析することができる。 According to the present invention, a virtual machine system in which a host OS having a virtualization function operates on hardware having a disk device and the guest OS operates on the host OS, the guest OS is transferred to the disk device. A disk driver that executes an access request for access to the host OS, a trace data recording unit that records start time and end time of access to the disk device by the disk driver as trace data, and acquisition of trace data and a trace data acquisition instruction unit that instructs the disk driver, virtualization on a host OS receives an access request to the disk device from a guest OS, the virtual disk driver to access the disk device, the virtual When the disk driver starts accessing the disk device And a trace data recording unit for recording the end time, the trace data for measuring the disk I / O performance can be acquired at an arbitrary timing, and whether the cause of the performance degradation is in the hardware It can be analyzed whether it exists.

この発明の実施の形態1による仮想計算機システムを示す全体構成図である。1 is an overall configuration diagram showing a virtual computer system according to Embodiment 1 of the present invention. この発明の実施の形態1による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual machine system by Embodiment 1 of this invention. この発明の実施の形態2による仮想計算機システムを示す全体構成図である。It is a whole block diagram which shows the virtual computer system by Embodiment 2 of this invention. この発明の実施の形態2による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual computer system by Embodiment 2 of this invention. この発明の実施の形態3による仮想計算機システムを示す全体構成図である。It is a whole block diagram which shows the virtual computer system by Embodiment 3 of this invention. この発明の実施の形態3による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual computer system by Embodiment 3 of this invention. この発明の実施の形態4による仮想計算機システムを示す全体構成図である。It is a whole block diagram which shows the virtual computer system by Embodiment 4 of this invention. この発明の実施の形態4による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual computer system by Embodiment 4 of this invention. この発明の実施の形態5による仮想計算機システムを示す全体構成図である。It is a whole block diagram which shows the virtual computer system by Embodiment 5 of this invention. この発明の実施の形態5による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual computer system by Embodiment 5 of this invention. この発明の実施の形態6による仮想計算機システムを示す全体構成図である。It is a whole block diagram which shows the virtual computer system by Embodiment 6 of this invention. この発明の実施の形態6による仮想計算機システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual computer system by Embodiment 6 of this invention.

実施の形態1.
以下、この発明の実施の形態1を図に基づいて説明する。
図1は、この発明の実施の形態1による仮想計算機システムを示す全体構成図である。
図1において、H/W(ハードウェア)130上にホストOS120が動作し、ホストOS120上でゲストOS110が動作する構成である。
ゲストOS110は、ディスクへアクセスするためのディスクドライバ111と、ディスクドライバ111の指示により、IO性能を測定するためのトレースデータを記録するトレースデータ記録部112と、ユーザから入力されるコマンドに応じて、トレースデータの取得を指示するトレースデータ取得指示部113とを有する。
ホストOS120は、VM(仮想化機能)121上で、ディスクへ実際にアクセスする仮想ディスクドライバ122と、仮想ディスクドライバ122がディスクへアクセスしたときのトレースデータを記録するトレースデータ記録部123とを動作させる。H/W130は、ディスク131を有している。
なお、トレースデータ記録部112とトレースデータ記録部123は、メモリにトレースデータを記録する。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below with reference to the drawings.
FIG. 1 is an overall configuration diagram showing a virtual machine system according to Embodiment 1 of the present invention.
In FIG. 1, the host OS 120 operates on the H / W (hardware) 130 and the guest OS 110 operates on the host OS 120.
The guest OS 110 has a disk driver 111 for accessing the disk, a trace data recording unit 112 that records trace data for measuring IO performance according to an instruction from the disk driver 111, and a command input by the user. A trace data acquisition instruction unit 113 for instructing acquisition of trace data.
On the VM (virtualization function) 121, the host OS 120 operates a virtual disk driver 122 that actually accesses the disk and a trace data recording unit 123 that records trace data when the virtual disk driver 122 accesses the disk. Let The H / W 130 has a disk 131.
Note that the trace data recording unit 112 and the trace data recording unit 123 record the trace data in the memory.

次に、実施の形態1の動作について、図2のフローチャートを用いて説明する。
最初に、ユーザから入力されたコマンドにより、ゲストOS110内のトレースデータ取得指示部113が、ゲストOS110のディスクドライバ111と、ホストOS120内のVM121の仮想ディスクドライバ122とにトレース開始指示を出す(ST201)。
ゲストOS110のディスクI/O処理を受けて、ゲストOS110のディスクドライ
バ111は、トレースデータ記録部112にトレース開始時刻を記録する(ST202)。
Next, the operation of the first embodiment will be described using the flowchart of FIG.
First, in response to a command input by the user, the trace data acquisition instruction unit 113 in the guest OS 110 issues a trace start instruction to the disk driver 111 of the guest OS 110 and the virtual disk driver 122 of the VM 121 in the host OS 120 (ST201). ).
Upon receiving the disk I / O processing of the guest OS 110, the disk driver 111 of the guest OS 110 records the trace start time in the trace data recording unit 112 (ST202).

ゲストOS110のディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲストOS110のディスクI/O処理要求を受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻を記録する(ST203)。
VM121にある仮想ディスクドライバ122は、H/W130内のディスク131にアクセスする(ST204)。
A disk I / O processing request of the guest OS 110 is processed in the virtual disk driver 122 in the VM 121 in the host OS 120. The virtual disk driver 122 receives the disk I / O processing request from the guest OS 110 and records the trace start time in the trace data recording unit 123 in the VM 121 (ST203).
The virtual disk driver 122 in the VM 121 accesses the disk 131 in the H / W 130 (ST204).

H/W130内のディスク131へのアクセス終了後、制御がVM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻を記録する(ST205)。
制御が、ゲストOS110内のディスクドライバ111に戻ったタイミングで、ゲストOS110内のトレースデータ記録部112にトレース終了時刻を記録する(ST206)。
ゲストOS110内のトレースデータ記録部112とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスクI/Oの遅延要因がH/WにあるかVMにあるかを解析する(ST207)。
After the access to the disk 131 in the H / W 130 is completed, the trace end time is recorded in the trace data recording unit 123 in the VM 121 when the control returns to the virtual disk driver 122 in the VM 121 (ST205).
When the control returns to the disk driver 111 in the guest OS 110, the trace end time is recorded in the trace data recording unit 112 in the guest OS 110 (ST206).
From the trace data recorded in the trace data recording unit 112 in the guest OS 110 and the trace data recording unit 123 in the VM 121, it is analyzed whether the delay factor of the disk I / O is in the H / W or the VM (ST207). .

実施の形態1によれば、ゲストOSのトレースデータ取得指示部の指示により任意のタイミングでディスクにおけるIOのトレースデータを取得できるとともに、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、ディスクI/Oが遅延した場合にその原因がH/WにあるかVM(ソフトウェア)にあるかをより簡便に解析することができる。   According to the first embodiment, the IO trace data in the disk can be acquired at an arbitrary timing according to the instruction of the guest OS trace data acquisition instruction unit, and the trace data recording unit is provided in each of the VM and the guest OS. When I / O is delayed, it is possible to more easily analyze whether the cause is in H / W or VM (software).

実施の形態2.
実施の形態1では、ディスクにおけるI/Oのトレースデータを取得する場合について述べたが、実施の形態2は、図3に示すように、I/OにディスクのみでなくLANが追加された場合においても同様に障害原因を解析できるようにしたものである。
以下、この発明の実施の形態2を図に基づいて説明する。
図3は、この発明の実施の形態2による仮想計算機システムを示す全体構成図である。
図3において、110〜113、120〜123、130、131は図1におけるものと同一のものである。図3では、ゲストOS110にLANへアクセスするためのLANドライバ114を設け、VM121にLANへアクセスするための仮想LANドライバ124を設け、H/W130にLAN132を設けている。
Embodiment 2. FIG.
In the first embodiment, the case of obtaining I / O trace data in a disk has been described. In the second embodiment, as shown in FIG. 3, not only the disk but also a LAN is added to the I / O. Similarly, the cause of failure can be analyzed.
The second embodiment of the present invention will be described below with reference to the drawings.
FIG. 3 is an overall configuration diagram showing a virtual computer system according to Embodiment 2 of the present invention.
In FIG. 3, reference numerals 110 to 113, 120 to 123, 130, and 131 are the same as those in FIG. In FIG. 3, a LAN driver 114 for accessing the LAN is provided in the guest OS 110, a virtual LAN driver 124 for accessing the LAN is provided in the VM 121, and a LAN 132 is provided in the H / W 130.

次に、実施の形態2の動作について、図4のフローチャートを用いて説明する。
最初にゲストOS110内のトレースデータ取得指示部113がゲストOS110のディスクドライバ111、LANドライバ114、VM121の仮想ディスクドライバ122、仮想LANドライバ124にトレース開始指示を出す(ST401)。
ゲストOS110からのI/O処理要求が、ディスクに対するものかLANに対するものかにより動作が異なる(ST402)。
Next, the operation of the second embodiment will be described using the flowchart of FIG.
First, the trace data acquisition instruction unit 113 in the guest OS 110 issues a trace start instruction to the disk driver 111 of the guest OS 110, the LAN driver 114, the virtual disk driver 122 of the VM 121, and the virtual LAN driver 124 (ST401).
The operation differs depending on whether the I / O processing request from the guest OS 110 is for a disk or LAN (ST402).

ゲストOS110からのI/O処理要求がディスクの場合、ゲストOS110のディスクI/O処理を受けて、ゲストOS110のディスクドライバ111は、トレースデータ記録部112にトレース開始時刻を記録する(ST403)。   When the I / O processing request from the guest OS 110 is a disk, the disk driver 111 of the guest OS 110 receives the disk I / O processing of the guest OS 110 and records the trace start time in the trace data recording unit 112 (ST403).

ゲストOS110のディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲスト
OS110のディスクI/O処理要求を受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻を記録する(ST404)。
VM121にある仮想ディスクドライバ122は、H/W130内のディスク131にアクセスする(ST405)。
A disk I / O processing request of the guest OS 110 is processed in the virtual disk driver 122 in the VM 121 in the host OS 120. The virtual disk driver 122 receives the disk I / O processing request from the guest OS 110 and records the trace start time in the trace data recording unit 123 in the VM 121 (ST404).
The virtual disk driver 122 in the VM 121 accesses the disk 131 in the H / W 130 (ST405).

H/W130内のディスク131へのアクセス終了後、制御がVM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻を記録する(ST406)。
制御が、ゲストOS110内のディスクドライバ111に戻ったタイミングで、ゲストOS110内のトレースデータ記録部112にトレース終了時刻を記録する(ST407)。
After the access to the disk 131 in the H / W 130 is completed, the trace end time is recorded in the trace data recording unit 123 in the VM 121 when the control returns to the virtual disk driver 122 in the VM 121 (ST406).
When the control returns to the disk driver 111 in the guest OS 110, the trace end time is recorded in the trace data recording unit 112 in the guest OS 110 (ST407).

次に、ステップST402で、ゲストOS110からのI/O処理要求がLANの場合の動作を記述する。
ゲストOS110のLANI/O処理を受けて、ゲストOS110のLANドライバ 114はトレースデータ記録部112にトレース開始時刻を記録する(ST408)。
ゲストOS110のLANI/O処理要求は、ホストOS120内のVM121にある仮想LANドライバ124内で処理される。仮想LANドライバ124は、ゲストOS110のLANI/O処理要求を受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻を記録する(ST409)。
Next, an operation when the I / O processing request from the guest OS 110 is LAN is described in step ST402.
Upon receiving the LAN I / O process of the guest OS 110, the LAN driver 114 of the guest OS 110 records the trace start time in the trace data recording unit 112 (ST408).
The LAN I / O processing request of the guest OS 110 is processed in the virtual LAN driver 124 in the VM 121 in the host OS 120. The virtual LAN driver 124 receives the LAN I / O processing request from the guest OS 110, and at the same time, records the trace start time in the trace data recording unit 123 in the VM 121 (ST409).

VM121にある仮想LANドライバ124は、H/W130内のLAN132にアクセスする(ST410)。
H/W130内のLAN132へのアクセス終了後、制御がVM121内の仮想LANドライバ124に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻を記録する(ST411)。
制御が、ゲストOS110内のLANドライバ114に戻ったタイミングで、ゲストOS110内のトレースデータ記録部112にトレース終了時刻を記録する(ST412)。
The virtual LAN driver 124 in the VM 121 accesses the LAN 132 in the H / W 130 (ST410).
After the access to the LAN 132 in the H / W 130 is completed, the trace end time is recorded in the trace data recording unit 123 in the VM 121 at the timing when the control returns to the virtual LAN driver 124 in the VM 121 (ST411).
When the control returns to the LAN driver 114 in the guest OS 110, the trace end time is recorded in the trace data recording unit 112 in the guest OS 110 (ST412).

ゲストOS110内のトレースデータ記録部112とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスクI/OまたはLAN I/Oの遅延要因がH/WにあるかVMにあるかを解析する(ST413)。   From the trace data recorded in the trace data recording unit 112 in the guest OS 110 and the trace data recording unit 123 in the VM 121, it is determined whether the delay factor of disk I / O or LAN I / O is in H / W or VM. Analyze (ST413).

実施の形態2によれば、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、LANI/Oが遅延した場合にも、その原因がH/WにあるかVMにあるかをより簡便に解析することができる。   According to the second embodiment, by providing a trace data recording unit in each of the VM and the guest OS, it is easier to determine whether the cause is in the H / W or the VM even when the LAN I / O is delayed. Can be analyzed.

実施の形態3.
実施の形態1では、ディスクにおけるI/Oのトレースデータを取得する場合について述べたが、実施の形態3は、図5に示すように、ゲストOSが2台存在する場合において同様に障害原因を解析するようにしたものである。
以下、この発明の実施の形態3を図に基づいて説明する。
図5は、この発明の実施の形態3による仮想計算機システムを示す全体構成図である。
図5において、110〜113、120〜123、130、131は図1におけるものと同一のものである。図5では、2台目のゲストOS2(210)が示され、ゲストOS2(210)は、ディスクドライバ211と、トレースデータ記録部212と、トレースデータ取得指示部213を有している。
Embodiment 3 FIG.
In the first embodiment, the case of acquiring I / O trace data on a disk has been described. However, in the third embodiment, as shown in FIG. It is to be analyzed.
The third embodiment of the present invention will be described below with reference to the drawings.
FIG. 5 is an overall configuration diagram showing a virtual machine system according to Embodiment 3 of the present invention.
In FIG. 5, reference numerals 110 to 113, 120 to 123, 130, and 131 are the same as those in FIG. In FIG. 5, a second guest OS 2 (210) is shown, and the guest OS 2 (210) has a disk driver 211, a trace data recording unit 212, and a trace data acquisition instruction unit 213.

次に、実施の形態3の動作について、図6のフローチャートを用いて説明する。
最初にゲストOS1(110)内のトレースデータ取得指示部113が、ゲストOS1(110)のディスクドライバ111、ゲストOS2(210)のディスクドライバ211、VM121の仮想ディスクドライバ122にトレース開始指示を出す(ST601)。
なお、このトレースデータ取得指示は、ゲストOS2(210)からも同様にトレース開始指示を出すことが可能で、この場合、ゲストOS2(210)内のトレースデータ取得指示部213からゲストOS1(110)のディスクドライバ111、ゲストOS2(210)のディスクドライバ211、VM121の仮想ディスクドライバ122にトレース開始指示を出すことになる。
この指示を受けて、ディスクドライバ111、ディスクドライバ211がそれぞれIO処理要求を出し、それぞれについてトレースデータの取得が行われる。
Next, the operation of the third embodiment will be described using the flowchart of FIG.
First, the trace data acquisition instruction unit 113 in the guest OS1 (110) issues a trace start instruction to the disk driver 111 of the guest OS1 (110), the disk driver 211 of the guest OS2 (210), and the virtual disk driver 122 of the VM 121 ( ST601).
The trace data acquisition instruction can be issued from the guest OS2 (210) in the same manner, and in this case, the guest OS1 (110) is sent from the trace data acquisition instruction unit 213 in the guest OS2 (210). Trace start instructions are issued to the disk driver 111, the disk driver 211 of the guest OS 2 (210), and the virtual disk driver 122 of the VM 121.
In response to this instruction, the disk driver 111 and the disk driver 211 each issue an IO processing request, and trace data is acquired for each.

ゲストOS1(110)のディスクI/O処理を受けて、ゲストOS1(110)のディスクドライバ111は、トレースデータ記録部112にトレース開始時刻を記録する。
ゲストOS2(210)のディスクI/O処理を受けて、ゲストOS2(210)のディスクドライバ211は、トレースデータ記録部212にトレース開始時刻を記録する(ST602)。
ゲストOS1(110)とゲストOS2(210)からそれぞれ出されるディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲストOS1(110)とゲストOS2(210)からそれぞれのディスクI/O処理要求を受けるごとに、受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻、要求元ゲストOSを記録する(ST603)。
Upon receiving the disk I / O processing of the guest OS1 (110), the disk driver 111 of the guest OS1 (110) records the trace start time in the trace data recording unit 112.
Upon receiving the disk I / O processing of the guest OS2 (210), the disk driver 211 of the guest OS2 (210) records the trace start time in the trace data recording unit 212 (ST602).
Disk I / O processing requests issued from the guest OS 1 (110) and the guest OS 2 (210) are processed in the virtual disk driver 122 in the VM 121 in the host OS 120. The virtual disk driver 122 receives the respective disk I / O processing requests from the guest OS1 (110) and guest OS2 (210), and simultaneously receives the request from the guest OS1 (110) and the guest OS2 (210) in the trace data recording unit 123 in the VM 121. The OS is recorded (ST603).

VM121にある仮想ディスクドライバ122は、H/W130内のディスク131にアクセスする(ST604)。この処理は、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。
H/W130内のディスク131へのアクセス終了後、制御がVM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻、要求元ゲストOSを記録する(ST605)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。
The virtual disk driver 122 in the VM 121 accesses the disk 131 in the H / W 130 (ST604). This process is performed for each request from the guest OS 1 (110) and the guest OS 2 (210).
After the access to the disk 131 in the H / W 130 is completed, when the control returns to the virtual disk driver 122 in the VM 121, the trace end time and the requesting guest OS are recorded in the trace data recording unit 123 in the VM 121 (ST605). ). This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

制御が、ゲストOS1(110)のディスクドライバ111またはゲストOS2(210)のディスクドライバ211内に戻ったタイミングで、ゲストOS1(110)内のトレースデータ記録部112またはゲストOS2(210)のトレースデータ記録部212にトレース終了時刻を記録する(ST606)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。   When the control returns to the disk driver 111 of the guest OS1 (110) or the disk driver 211 of the guest OS2 (210), the trace data recording unit 112 in the guest OS1 (110) or the trace data of the guest OS2 (210) Trace end time is recorded in recording section 212 (ST606). This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

ゲストOS1(110)内のトレースデータ記録部112、ゲストOS2(210)内のトレースデータ記録部212とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスクI/Oの遅延要因がH/WにあるかVMにあるかを解析する(ST607)。   From the trace data recorded in the trace data recording unit 112 in the guest OS1 (110), the trace data recording unit 212 in the guest OS2 (210) and the trace data recording unit 123 in the VM 121, the delay factor of the disk I / O is Whether it is in H / W or VM is analyzed (ST607).

実施の形態3によれば、ゲストOSが2台の場合でも、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、ディスクI/Oが遅延した場合にその原因がH/WにあるかVMにあるかをより簡便に解析することができる。   According to the third embodiment, even when there are two guest OSes, whether the cause of the disk I / O is delayed due to the provision of the trace data recording unit in each of the VM and the guest OS is H / W It is possible to more easily analyze whether a VM exists.

実施の形態4.
実施の形態1では、ディスクにおけるI/Oのトレースデータを取得する場合について
述べたが、実施の形態4は、図7に示すように、ディスクが2台存在する場合において、同様に障害原因を解析するようにしたものである。
以下、この発明の実施の形態4を図7に基づいて説明する。
図7は、この発明の実施の形態4による仮想計算機システムを示す全体構成図である。
図7において、110〜113、120〜123、130、131は図1におけるものと同一のものである。図7では、H/W130にディスク1(131)とディスク2(133)を設けている。
Embodiment 4 FIG.
In the first embodiment, the case of acquiring I / O trace data in a disk has been described. However, in the fourth embodiment, as shown in FIG. It is to be analyzed.
The fourth embodiment of the present invention will be described below with reference to FIG.
FIG. 7 is an overall configuration diagram showing a virtual machine system according to Embodiment 4 of the present invention.
In FIG. 7, reference numerals 110 to 113, 120 to 123, 130, and 131 are the same as those in FIG. In FIG. 7, the disk 1 (131) and the disk 2 (133) are provided in the H / W 130.

次に、実施の形態4の動作について、図8のフローチャートを用いて説明する。
最初に、ゲストOS110内のトレースデータ取得指示部113がゲストOS110のディスクドライバ111、VM121の仮想ディスクドライバ122にトレース開始指示を出す(ST801)。
ゲストOS110のディスクI/O処理を受けて、ゲストOS110のディスクドライバ111は、トレースデータ記録部112にトレース開始時刻を記録する(ST802)。
Next, the operation of the fourth embodiment will be described using the flowchart of FIG.
First, the trace data acquisition instruction unit 113 in the guest OS 110 issues a trace start instruction to the disk driver 111 of the guest OS 110 and the virtual disk driver 122 of the VM 121 (ST801).
Upon receiving the disk I / O processing of the guest OS 110, the disk driver 111 of the guest OS 110 records the trace start time in the trace data recording unit 112 (ST802).

ゲストOS110のディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲストOS110のディスクI/O処理要求を受けると同時にアクセスの対象ディスクを決めて、VM121内のトレースデータ記録部123にトレース開始時刻、対象ディスクを記録する(ST803)。
VM121にある仮想ディスクドライバ122は、H/W130内のディスク1(131)及びディスク2(133)のいずれかの対象ディスクにアクセスする(ST804)。
A disk I / O processing request of the guest OS 110 is processed in the virtual disk driver 122 in the VM 121 in the host OS 120. Upon receiving the disk I / O processing request from the guest OS 110, the virtual disk driver 122 determines an access target disk, and records the trace start time and the target disk in the trace data recording unit 123 in the VM 121 (ST803).
The virtual disk driver 122 in the VM 121 accesses one of the target disks of the disk 1 (131) and the disk 2 (133) in the H / W 130 (ST804).

H/W130内のディスク1(131)またはディスク2(133)へのアクセス終了後、制御が、VM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻、対象ディスクを記録する(ST805)。   After the access to the disk 1 (131) or the disk 2 (133) in the H / W 130 is completed, the trace end time is stored in the trace data recording unit 123 in the VM 121 when the control returns to the virtual disk driver 122 in the VM 121. Then, the target disc is recorded (ST805).

制御が、ゲストOS110内のディスクドライバ111に戻ったタイミングで、ゲストOS110内のトレースデータ記録部112にトレース終了時刻、対象ディスクを記録する(ST806)。   When the control returns to the disk driver 111 in the guest OS 110, the trace end time and the target disk are recorded in the trace data recording unit 112 in the guest OS 110 (ST806).

ゲストOS110内のトレースデータ記録部112とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスクI/Oの遅延要因が、H/WにあるかVMにあるかを解析する(ST807)。   From the trace data recorded in the trace data recording unit 112 in the guest OS 110 and the trace data recording unit 123 in the VM 121, it is analyzed whether the delay factor of the disk I / O is in the H / W or the VM (ST807). ).

実施の形態4によれば、ディスクが2台の場合でも、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、ディスクI/Oが遅延した場合にその原因がH/WにあるかVMにあるかをより簡便に解析することができる。   According to the fourth embodiment, even when there are two disks, by providing a trace data recording unit in each of the VM and guest OS, if the disk I / O is delayed, whether the cause is in the H / W VM Can be analyzed more easily.

実施の形態5.
実施の形態1では、ディスクにおけるI/Oのトレースデータを取得する場合について述べたが、実施の形態5は、図9に示すように、ディスクおよびLANが1台ずつ、かつゲストOSが2台存在する場合においても同様に障害原因を解析するようにしたものである。
以下、この発明の実施の形態5を図に基づいて説明する。
図9は、この発明の実施の形態5による仮想計算機システムを示す全体構成図である。
図9において、110〜114、120〜124、130〜132は図3におけるもの
と、210〜213は図5におけるものとそれぞれ同一のものである。図9では、2台目のゲストOS2(210)にLANドライバ214を設けている。
Embodiment 5 FIG.
In the first embodiment, the case of acquiring I / O trace data in a disk has been described. In the fifth embodiment, as shown in FIG. 9, one disk and one LAN and two guest OSs are provided. Even if it exists, the cause of the failure is analyzed in the same manner.
Embodiment 5 of the present invention will be described below with reference to the drawings.
FIG. 9 is an overall configuration diagram showing a virtual machine system according to Embodiment 5 of the present invention.
9, 110 to 114, 120 to 124, and 130 to 132 are the same as those in FIG. 3, and 210 to 213 are the same as those in FIG. In FIG. 9, a LAN driver 214 is provided in the second guest OS 2 (210).

次に、実施の形態5の動作について、図10のフローチャートを用いて説明する。
最初にゲストOS1(110)内のトレースデータ取得指示部113がゲストOS1(110)のディスクドライバ111、LANドライバ114、ゲストOS2(210)のディスクドライバ211、LANドライバ214、VM121の仮想ディスクドライバ122、仮想LANドライバ124にトレース開始指示を出す(ST1001)。
なお、このトレースデータ取得指示は、ゲストOS2(210)のトレースデータ取得指示部213からも同様にトレース開始指示を出すことが可能で、ゲストOS2(210)内のトレースデータ取得指示部213からゲストOS1(110)のディスクドライバ111、LANドライバ114、ゲストOS2(210)のディスクドライバ211、LANドライバ214、VM121の仮想ディスクドライバ122、仮想LANドライバ124にトレース開始指示を出すことになる。
この指示を受けて、ディスクドライバ111、LANドライバ114、ディスクドライバ211、LANドライバ214がそれぞれIO処理要求を出し、それぞれについてトレースデータの取得が行われる。
Next, the operation of the fifth embodiment will be described using the flowchart of FIG.
First, the trace data acquisition instructing unit 113 in the guest OS 1 (110) executes the disk driver 111 and LAN driver 114 of the guest OS 1 (110), the disk driver 211 of the guest OS 2 (210), the LAN driver 214, and the virtual disk driver 122 of the VM 121. Then, a trace start instruction is issued to the virtual LAN driver 124 (ST1001).
This trace data acquisition instruction can also be issued from the trace data acquisition instruction unit 213 of the guest OS2 (210) in the same manner, and the trace data acquisition instruction unit 213 in the guest OS2 (210) A trace start instruction is issued to the disk driver 111 of the OS 1 (110), the LAN driver 114, the disk driver 211 of the guest OS 2 (210), the LAN driver 214, the virtual disk driver 122 of the VM 121, and the virtual LAN driver 124.
In response to this instruction, the disk driver 111, the LAN driver 114, the disk driver 211, and the LAN driver 214 each issue an IO processing request, and trace data is acquired for each.

ゲストOS1(110)またはゲストOS2(210)からのI/O処理要求がディスクかLANかにより動作が異なる(ST1002)。   The operation differs depending on whether the I / O processing request from the guest OS1 (110) or guest OS2 (210) is a disk or a LAN (ST1002).

ゲストOS1(110)またはゲストOS2(210)からのI/O処理要求が、ディスクの場合、ゲストOS1(110)のディスクI/O処理を受けて、ゲストOS1(110)のディスクドライバ111は、トレースデータ記録部112にトレース開始時刻を記録する。
ゲストOS2(210)のディスクI/O処理を受けて、ゲストOS2(210)のディスクドライバ211は、トレースデータ記録部212にトレース開始時刻を記録する(ST1003)。
ゲストOS1(110)とゲストOS2(210)からそれぞれ出されるディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲストOS1(110)とゲストOS2(210)からそれぞれのディスクI/O処理要求を受けるごとに、受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻、要求元ゲストOSを記録する(ST1004)。
When the I / O processing request from the guest OS1 (110) or the guest OS2 (210) is a disk, the disk driver 111 of the guest OS1 (110) receives the disk I / O processing of the guest OS1 (110), The trace start time is recorded in the trace data recording unit 112.
Upon receiving the disk I / O processing of the guest OS 2 (210), the disk driver 211 of the guest OS 2 (210) records the trace start time in the trace data recording unit 212 (ST1003).
Disk I / O processing requests issued from the guest OS 1 (110) and the guest OS 2 (210) are processed in the virtual disk driver 122 in the VM 121 in the host OS 120. The virtual disk driver 122 receives the respective disk I / O processing requests from the guest OS1 (110) and guest OS2 (210), and simultaneously receives the request from the guest OS1 (110) and the guest OS2 (210) in the trace data recording unit 123 in the VM 121. The OS is recorded (ST1004).

VM121にある仮想ディスクドライバ122は、H/W130内のディスク131にアクセスする(ST1005)。この処理は、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。
H/W130内のディスク131へのアクセス終了後、制御がVM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻、要求元ゲストOSを記録する(ST1006)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。
The virtual disk driver 122 in the VM 121 accesses the disk 131 in the H / W 130 (ST1005). This process is performed for each request from the guest OS 1 (110) and the guest OS 2 (210).
After the access to the disk 131 in the H / W 130 is completed, when the control returns to the virtual disk driver 122 in the VM 121, the trace end time and the requesting guest OS are recorded in the trace data recording unit 123 in the VM 121 (ST1006). ). This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

制御が、ゲストOS1(110)のディスクドライバ111またはゲストOS2(210)のディスクドライバ211内に戻ったタイミングで、ゲストOS1(110)内のトレースデータ記録部112またはゲストOS2(210)のトレースデータ記録部212にトレース終了時刻を記録する(ST1007)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。   When the control returns to the disk driver 111 of the guest OS1 (110) or the disk driver 211 of the guest OS2 (210), the trace data recording unit 112 in the guest OS1 (110) or the trace data of the guest OS2 (210) Trace end time is recorded in recording section 212 (ST1007). This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

ステップST1002で、ゲストOS1(110)からのI/O処理要求がLANの場合には、ゲストOS1(110)のLANI/O処理を受けて、ゲストOS1(110)のLANドライバ114は、ゲストOS1(110)のトレースデータ記録部112にトレース開始時刻を記録する。
ゲストOS2(210)のLANI/O処理を受けて、ゲストOS2(210)のLANドライバ214は、ゲストOS2(210)のトレースデータ記録部212にトレース開始時刻を記録する(ST1008)。
If the I / O processing request from the guest OS1 (110) is LAN in step ST1002, the LAN driver 114 of the guest OS1 (110) receives the LAN I / O processing of the guest OS1 (110) and the guest OS1 (110) receives the LAN I / O processing. The trace start time is recorded in the trace data recording unit 112 of (110).
Upon receiving the LAN I / O processing of the guest OS2 (210), the LAN driver 214 of the guest OS2 (210) records the trace start time in the trace data recording unit 212 of the guest OS2 (210) (ST1008).

ゲストOS1(110)とゲストOS2(210)からそれぞれ出されるLANI/O処理要求は、ホストOS120内のVM121にある仮想LANドライバ124内で処理される。仮想LANドライバ124は、ゲストOS1(110)とゲストOS2(210)からそれぞれのLANI/O処理要求を受けごとに、受けると同時にVM121内のトレースデータ記録部123にトレース開始時刻、要求元ゲストOSを記録する(ST1009)。   LAN I / O processing requests issued from the guest OS 1 (110) and the guest OS 2 (210) are processed in the virtual LAN driver 124 in the VM 121 in the host OS 120. The virtual LAN driver 124 receives the respective LAN I / O processing requests from the guest OS 1 (110) and the guest OS 2 (210), and at the same time receives the trace start time and the requesting guest OS in the trace data recording unit 123 in the VM 121. Is recorded (ST1009).

VM121にある仮想LANドライバ124は、H/W130内のLAN132にアクセスする(ST1010)。この処理は、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。   The virtual LAN driver 124 in the VM 121 accesses the LAN 132 in the H / W 130 (ST1010). This process is performed for each request from the guest OS 1 (110) and the guest OS 2 (210).

H/W130内のLAN132へのアクセス終了後、制御が、VM121内の仮想LANドライバ124に戻ったタイミングで、VM121のトレースデータ記録部123にトレース終了時刻、要求元ゲストOSを記録する(ST1011)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。   After the access to the LAN 132 in the H / W 130 is completed, when the control returns to the virtual LAN driver 124 in the VM 121, the trace end time and the requesting guest OS are recorded in the trace data recording unit 123 of the VM 121 (ST1011). . This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

制御が、ゲストOS1(110)内のLANドライバ114またはゲストOS2(210)内のLANドライバ214に戻ったタイミングで、ゲストOS1(110)のトレースデータ記録部112またはゲストOS2(210)のトレースデータ記録部212にトレース終了時刻を記録する(ST1012)。この処理も、ゲストOS1(110)とゲストOS2(210)からの要求に対して、それぞれに実施される。   When the control returns to the LAN driver 114 in the guest OS1 (110) or the LAN driver 214 in the guest OS2 (210), the trace data recording unit 112 of the guest OS1 (110) or the trace data of the guest OS2 (210) Trace end time is recorded in recording section 212 (ST1012). This process is also performed for each request from the guest OS1 (110) and the guest OS2 (210).

ゲストOS1(110)内のトレースデータ記録部112、ゲストOS2(210)内のトレースデータ記録部212とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスクI/OまたはLANI/Oの遅延要因がH/WにあるかVMにあるかを解析する(ST1013)。   From the trace data recorded in the trace data recording unit 112 in the guest OS1 (110), the trace data recording unit 212 in the guest OS2 (210), and the trace data recording unit 123 in the VM 121, disk I / O or LAN I / O It is analyzed whether the delay factor is in H / W or VM (ST1013).

実施の形態5によれば、ゲストOSが2台であっても、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、LANI/Oが遅延した場合にも、その原因がH/WにあるかVMにあるかをより簡便に解析することができる。   According to the fifth embodiment, even when there are two guest OSes, even if LAN I / O is delayed by providing a trace data recording unit in each of the VM and guest OS, the cause is H / W. It can be more easily analyzed whether it is in the VM or in the VM.

実施の形態6.
実施の形態1では、ディスクにおけるI/Oのトレースデータを取得する場合について述べたが、実施の形態6は、図11に示すように、ディスクが2台で、それぞれのディスクの速度差が大きい場合に、その速度差をなくすI/O調停部を設けることで、障害がディスクの速度差に起因するかどうかを容易に解析できるようにしたものである。
以下、この発明の実施の形態6を図に基づいて説明する。
図11は、この発明の実施の形態6による仮想計算機システムを示す全体構成図である。
図11において、110〜113、120〜123、130、131、133は図7におけるものと同一のものである。図11では、ディスク1(131)とディスク2(133)に速度差がある場合で、ホストOS120に、ディスクの速度差をなくすI/O調整部125を設けている。
Embodiment 6 FIG.
In the first embodiment, the case of acquiring I / O trace data on a disk has been described. In the sixth embodiment, as shown in FIG. 11, there are two disks, and the speed difference between the disks is large. In this case, by providing an I / O arbitration unit that eliminates the speed difference, it is possible to easily analyze whether or not a failure is caused by a disk speed difference.
Embodiment 6 of the present invention will be described below with reference to the drawings.
FIG. 11 is an overall configuration diagram showing a virtual machine system according to Embodiment 6 of the present invention.
In FIG. 11, reference numerals 110 to 113, 120 to 123, 130, 131, and 133 are the same as those in FIG. In FIG. 11, when there is a speed difference between the disk 1 (131) and the disk 2 (133), the host OS 120 is provided with an I / O adjustment unit 125 that eliminates the disk speed difference.

次に、実施の形態6の動作について、図12のフローチャートを用いて説明する。
最初にゲストOS110内のトレースデータ取得指示部113がゲストOS110のディスクドライバ111、VM121の仮想ディスクドライバ122にトレース開始指示を出す(ST1201)。
ゲストOS110のディスクI/O処理を受けて、ゲストOS110のディスクドライバ111はトレースデータ記録部112にトレース開始時刻を記録する(ST1202)。
Next, the operation of the sixth embodiment will be described using the flowchart of FIG.
First, the trace data acquisition instruction unit 113 in the guest OS 110 issues a trace start instruction to the disk driver 111 of the guest OS 110 and the virtual disk driver 122 of the VM 121 (ST1201).
Upon receiving the disk I / O processing of the guest OS 110, the disk driver 111 of the guest OS 110 records the trace start time in the trace data recording unit 112 (ST1202).

ゲストOS110のディスクI/O処理要求は、ホストOS120内のVM121にある仮想ディスクドライバ122内で処理される。仮想ディスクドライバ122は、ゲストOS110のディスクI/O処理要求を受けると同時にアクセスの対象ディスクを決めて、VM121内のトレースデータ記録部123にトレース開始時刻を記録する(ST1203)。   A disk I / O processing request of the guest OS 110 is processed in the virtual disk driver 122 in the VM 121 in the host OS 120. The virtual disk driver 122 receives the disk I / O processing request from the guest OS 110, determines the access target disk, and records the trace start time in the trace data recording unit 123 in the VM 121 (ST1203).

VM121にある仮想ディスクドライバ122は、H/W130内のディスク1(131)及びディスク2(133)のいずれかの対象ディスクにアクセスする(ST1204)。   The virtual disk driver 122 in the VM 121 accesses one of the target disks of the disk 1 (131) and the disk 2 (133) in the H / W 130 (ST1204).

H/W130内のディスク1(131)またはディスク2(133)へのアクセス終了後、制御が、VM121内の仮想ディスクドライバ122に戻ったタイミングで、VM121内のトレースデータ記録部123にトレース終了時刻、対象ディスクを記録する(ST1205)。   After the access to the disk 1 (131) or the disk 2 (133) in the H / W 130 is completed, the trace end time is stored in the trace data recording unit 123 in the VM 121 when the control returns to the virtual disk driver 122 in the VM 121. Then, the target disc is recorded (ST1205).

制御が、ゲストOS110内のディスクドライバ111に戻ったタイミングで、ゲストOS110内のトレースデータ記録部112にトレース終了時刻、対象ディスクを記録する(ST1206)。   When the control returns to the disk driver 111 in the guest OS 110, the trace end time and the target disk are recorded in the trace data recording unit 112 in the guest OS 110 (ST1206).

ゲストOS110内のトレースデータ記録部112とVM121内にあるトレースデータ記録部123に記録したトレースデータから、ディスク毎の性能に差があるかどうかを判定する(ST1207)。   It is determined from the trace data recorded in the trace data recording unit 112 in the guest OS 110 and the trace data recording unit 123 in the VM 121 whether there is a difference in performance for each disk (ST1207).

ディスク毎の性能に差がある場合は、VM120内のI/O調停部125が速度の速いディスクに対してアクセスした際のゲストOS110への応答を、ディレイを入れてわざと遅らせ、速度が遅いディスクの性能と同じになるよう調整する。その後、調整によって障害現象が解消するかどうかを判定する(ST1208)。   If there is a difference in the performance of each disk, the response to the guest OS 110 when the I / O arbitration unit 125 in the VM 120 accesses the high-speed disk is intentionally delayed with a delay, and the low-speed disk Adjust to be the same as the performance. Thereafter, it is determined whether or not the failure phenomenon is resolved by the adjustment (ST1208).

実施の形態5によれば、速度差のあるディスクが2台の場合でも、VM、ゲストOSそれぞれにトレースデータ記録部を設けることによって、ディスクI/Oが遅延した場合にその原因がH/WにあるかVMにあるか、並びに障害がディスクの速度差に起因するかどうかを容易に解析することができる。   According to the fifth embodiment, even when there are two disks with a speed difference, the cause of the disk I / O delay is caused by providing a trace data recording unit in each of the VM and guest OS. And whether it is in the VM and whether the failure is due to a disk speed difference.

なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。   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.

110 ゲストOS
111 ディスクドライバ
112 トレースデータ記録部
113 トレースデータ取得指示部
114 LANドライバ
120 ホストOS
121 VM
122 仮想ディスクドライバ
123 トレースデータ記録部
124 仮想LANドライバ
125 I/O調停部
130 H/W
131 ディスク
132 LAN
133 ディスク
210 ゲストOS
211 ディスクドライバ
212 トレースデータ記録部
213 トレースデータ取得指示部
214 LANドライバ
110 Guest OS
111 Disk Driver 112 Trace Data Recording Unit 113 Trace Data Acquisition Instruction Unit 114 LAN Driver 120 Host OS
121 VM
122 Virtual disk driver 123 Trace data recording unit 124 Virtual LAN driver 125 I / O arbitration unit 130 H / W
131 Disk 132 LAN
133 Disk 210 Guest OS
211 Disk driver 212 Trace data recording unit 213 Trace data acquisition instruction unit 214 LAN driver

Claims (6)

ディスク装置を有するハードウェア上で、仮想化機能を有するホストOSが動作し、このホストOS上でゲストOSが動作する仮想計算機システムであって、
上記ゲストOSは、上記ディスク装置へアクセスするためのアクセス要求を上記ホストOSに対して実行するディスクドライバと、
このディスクドライバによる上記ディスク装置へのアクセスの開始時刻と終了時刻をトレースデータとして記録するトレースデータ記録部と、
上記トレースデータの取得を上記ディスクドライバへ指示するトレースデータ取得指示部とを有し、
上記ホストOS上の上記仮想化機能は、上記ゲストOSからの上記ディスク装置へのアクセス要求を受けて、上記ディスク装置へアクセスする仮想ディスクドライバと、
この仮想ディスクドライバによる上記ディスク装置へのアクセスの開始時刻と終了時刻を記録するトレースデータ記録部とを有することを特徴とする仮想計算機システム。
A virtual computer system in which a host OS having a virtualization function operates on hardware having a disk device, and a guest OS operates on the host OS,
The guest OS includes a disk driver that executes an access request for accessing the disk device to the host OS,
A trace data recording unit for recording a start time and an end time of access to the disk device by the disk driver as trace data;
A trace data acquisition instruction unit for instructing the disk driver to acquire the trace data;
The virtualization function on the host OS includes a virtual disk driver that receives an access request to the disk device from the guest OS and accesses the disk device;
A virtual computer system comprising: a trace data recording unit for recording a start time and an end time of access to the disk device by the virtual disk driver.
上記ハードウェアはLANを有し、
上記ゲストOSは、上記トレースデータ取得指示部からの上記トレースデータの取得の指示を受けて、上記LANへアクセスするためのアクセス要求を上記ホストOSに対して実行するLANドライバを有し、
このLANドライバによる上記LANへのアクセスの開始時刻と終了時刻をトレースデータとして上記トレースデータ記録部に記録し、
上記ホストOS上の上記仮想化機能は、上記ゲストOSからの上記LANへのアクセス要求を受けて、上記LANへアクセスする仮想LANドライバを有し、
上記トレースデータ記録部は、上記仮想LANドライバによる上記LANへのアクセスの開始時刻と終了時刻をトレースデータとして記録することを特徴とする請求項1記載の仮想計算機システム。
The hardware has a LAN,
The guest OS has a LAN driver that receives an instruction to acquire the trace data from the trace data acquisition instruction unit and executes an access request for accessing the LAN to the host OS.
Recording the start time and end time of access to the LAN by the LAN driver as trace data in the trace data recording unit,
The virtualization function on the host OS has a virtual LAN driver that receives the access request to the LAN from the guest OS and accesses the LAN,
2. The virtual computer system according to claim 1, wherein the trace data recording unit records a start time and an end time of access to the LAN by the virtual LAN driver as trace data.
上記ホストOS上で2つの上記ゲストOSが動作し、
いずれかのゲストOSの上記トレースデータ取得指示部からの上記トレースデータの取得の指示を受けて、上記2つのゲストOSの上記ディスクドライバが上記ディスク装置へのアクセス要求を実行し、
上記仮想ディスクドライバは、上記2つのゲストOSからの上記ディスク装置へのアクセス要求を受けるつど、上記ディスク装置へアクセスすることを特徴とする請求項1記載の仮想計算機システム。
Two guest OSs run on the host OS,
Upon receipt of the trace data acquisition instruction from the trace data acquisition instruction unit of any guest OS, the disk drivers of the two guest OS execute an access request to the disk device,
2. The virtual computer system according to claim 1, wherein the virtual disk driver accesses the disk device each time it receives an access request to the disk device from the two guest OSs.
上記ハードウェアは、上記ディスク装置を複数有し、
上記仮想ディスクドライバは、上記複数のディスク装置の内の一つのディスク装置を選択してアクセスすることを特徴とする請求項1〜請求項3のいずれか一項記載の仮想計算機システム。
The hardware has a plurality of the disk devices,
The virtual computer system according to claim 1, wherein the virtual disk driver selects and accesses one of the plurality of disk devices.
上記ホストOS上で2つの上記ゲストOSが動作し、
いずれかのゲストOSの上記トレースデータ取得指示部からの上記トレースデータの取得の指示を受けて、上記2つのゲストOSの上記ディスクドライバ及び上記LANドライバがそれぞれ上記ディスク装置または上記LANへのアクセス要求を実行し、
上記仮想ディスクドライバ及び上記仮想LANドライバは、上記2つのゲストOSからの上記ディスク装置及び上記LANへのアクセス要求を受けるつど、上記ディスク装置または上記LANへアクセスすることを特徴とする請求項2記載の仮想計算機システム。
Two guest OSs run on the host OS,
Upon receiving the trace data acquisition instruction from the trace data acquisition instruction unit of any guest OS, the disk driver and the LAN driver of the two guest OSs respectively request access to the disk device or the LAN. Run
3. The virtual disk driver and the virtual LAN driver each access the disk device or the LAN each time an access request to the disk device and the LAN from the two guest OSs is received. Virtual computer system.
上記ホストOS上の上記仮想化機能は、上記複数のディスク装置のI/O性能に差がある場合に、同じI/O性能になるように調整するI/O調整部を有することを特徴とする請求項4記載の仮想計算機システム。   The virtualization function on the host OS has an I / O adjustment unit that adjusts the same I / O performance when there is a difference in I / O performance of the plurality of disk devices. The virtual computer system according to claim 4.
JP2011268537A 2011-12-08 2011-12-08 Virtual computer system Expired - Fee Related JP5709735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011268537A JP5709735B2 (en) 2011-12-08 2011-12-08 Virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011268537A JP5709735B2 (en) 2011-12-08 2011-12-08 Virtual computer system

Publications (3)

Publication Number Publication Date
JP2013120511A JP2013120511A (en) 2013-06-17
JP2013120511A5 JP2013120511A5 (en) 2014-06-05
JP5709735B2 true JP5709735B2 (en) 2015-04-30

Family

ID=48773121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011268537A Expired - Fee Related JP5709735B2 (en) 2011-12-08 2011-12-08 Virtual computer system

Country Status (1)

Country Link
JP (1) JP5709735B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619748A (en) * 1992-07-01 1994-01-28 Hitachi Ltd Trace method for hardware resource information
JP5353227B2 (en) * 2008-12-24 2013-11-27 富士通株式会社 Information processing apparatus having performance measurement program, performance measurement method, and performance measurement function.
WO2010089808A1 (en) * 2009-02-09 2010-08-12 富士通株式会社 Virtual computer allocation method, allocation program, and information processing device having a virtual computer environment
EP2531917B1 (en) * 2010-02-04 2019-11-27 Telefonaktiebolaget LM Ericsson (publ) Network performance monitor for virtual machines

Also Published As

Publication number Publication date
JP2013120511A (en) 2013-06-17

Similar Documents

Publication Publication Date Title
JP6871957B2 (en) Emulated endpoint configuration
Chun et al. Augmented smartphone applications through clone cloud execution.
US9244715B2 (en) Virtualization processing method and apparatuses, and computer system
US9940123B1 (en) Updating device code through a bus
TWI400652B (en) Dual operating system parallel processing methods, recording media and computer program products
US9235451B2 (en) Browser kernel switching method
JP5695404B2 (en) Method, system, and computer program for managing remote deployment of virtual machines in a network environment
JP2008527496A (en) Intelligent storage engine for disk drive operation with reduced local bus traffic
US20100070678A1 (en) Saving and Restoring State Information for Virtualized Computer Systems
US10002000B2 (en) Trace-assisted startup optimization from a virtual disk
JP5763907B2 (en) Information processing system with lock tracing function
JP4970479B2 (en) Information processing system
WO2013044775A1 (en) Method, system and program for browser to switch ie core
US8631423B1 (en) Translating input/output calls in a mixed virtualization environment
CN103514084B (en) The method of testing of reflection computer equipment hard-disk read-write energy efficiency
US7793265B2 (en) Method, apparatus and computer program product for optimizing file accesses for an application executing in a virtual container
JP6083714B2 (en) Method, system, and computer program for memory sharing by processors
JP5709735B2 (en) Virtual computer system
JP2008287317A (en) Information processor and system startup method
US20140372745A1 (en) Booting a server using a remote read-only memory image
US9047264B2 (en) Low pin count controller
JP5609333B2 (en) Startup processing method, information processing apparatus, startup processing program, and computer-readable recording medium recording the program
JP5551828B2 (en) Replay architecture execution with probeless trace collection
Zhang et al. Live memory acquisition through firewire
WO2017031847A1 (en) Method and apparatus for installing operating system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140422

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150106

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: 20150203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150303

R151 Written notification of patent or utility model registration

Ref document number: 5709735

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees