[go: up one dir, main page]

JP2011197804A - Program, method and apparatus for analyzing load - Google Patents

Program, method and apparatus for analyzing load Download PDF

Info

Publication number
JP2011197804A
JP2011197804A JP2010061407A JP2010061407A JP2011197804A JP 2011197804 A JP2011197804 A JP 2011197804A JP 2010061407 A JP2010061407 A JP 2010061407A JP 2010061407 A JP2010061407 A JP 2010061407A JP 2011197804 A JP2011197804 A JP 2011197804A
Authority
JP
Japan
Prior art keywords
load
storage
logical volume
access
unit
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.)
Ceased
Application number
JP2010061407A
Other languages
Japanese (ja)
Inventor
Kazuichi Oe
和一 大江
Tatsuo Kumano
達夫 熊野
Yasuo Noguchi
泰生 野口
Kazutaka Ogiwara
一隆 荻原
Masatoshi Tamura
雅寿 田村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010061407A priority Critical patent/JP2011197804A/en
Publication of JP2011197804A publication Critical patent/JP2011197804A/en
Ceased legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

【課題】ストレージ装置が許容できる最大負荷に対する現実の負荷の割合を正確に計算することができるようにする。
【解決手段】最大負荷算出手段1aは、ストレージ装置2に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、ストレージ装置2で単位時間当たりに処理可能な最大アクセス要求数を算出し、算出した最大アクセス要求数を最大負荷記憶手段1bに格納する。負荷指標算出手段1cは、最大負荷記憶手段1bに格納された最大アクセス要求数に対する所定期間内のアクセス要求数の割合を算出し、ストレージ装置2の所定期間における負荷を示す負荷指標として出力する。
【選択図】図1
A ratio of an actual load to a maximum load allowable by a storage apparatus can be accurately calculated.
A maximum load calculating means (1a) calculates the maximum number of access requests that can be processed per unit time in a storage apparatus (2) based on an average response time per access request within a predetermined period to the storage apparatus (2). The calculated maximum access request count is stored in the maximum load storage means 1b. The load index calculation unit 1c calculates the ratio of the number of access requests within a predetermined period to the maximum number of access requests stored in the maximum load storage unit 1b, and outputs it as a load index indicating the load in the predetermined period of the storage apparatus 2.
[Selection] Figure 1

Description

本発明は、ストレージ装置の負荷を解析する負荷解析プログラム、負荷解析方法、および負荷解析装置に関する。   The present invention relates to a load analysis program, a load analysis method, and a load analysis device that analyze a load of a storage device.

現在、コンピュータを用いたデータ処理が広く行われるようになり、データを保存・利用するためのストレージ技術が一層重要となっている。近年では、データ保存の高信頼化やデータ利用の高速化を図るため、マルチノードストレージシステムが構築されている。   Currently, data processing using a computer is widely performed, and storage technology for storing and using data is becoming more important. In recent years, multi-node storage systems have been constructed in order to increase the reliability of data storage and speed up the use of data.

マルチノードストレージシステムでは、複数のディスクノードとアクセスノードとがネットワークを介して接続される。ディスクノードはストレージ装置を備えており、ストレージ装置にデータを記憶させる。アクセスノードは、ディスクノードに接続されたストレージ装置に記憶されたデータにアクセスする。このときアクセスノードは、複数のディスクノードのストレージ装置にデータを分散して格納することができる。これにより、複数のディスクノードに負荷が分散されてシステムの高速化を図れる。また、アクセスノードは、データを冗長化して複数のストレージ装置に配置することもできる。これにより、データ保存の高信頼化を図れる。   In a multi-node storage system, a plurality of disk nodes and access nodes are connected via a network. The disk node includes a storage device and stores data in the storage device. The access node accesses data stored in the storage device connected to the disk node. At this time, the access node can distribute and store data in the storage devices of a plurality of disk nodes. As a result, the load is distributed to a plurality of disk nodes, and the speed of the system can be increased. The access node can also be arranged in a plurality of storage devices by making data redundant. Thereby, high reliability of data storage can be achieved.

なお、マルチノードストレージシステムでは、例えば、複数のディスクノードのストレージ装置に跨って1つの論理的な記憶領域(論理ボリューム)を設けることができる。論理ボリュームを複数設け、提供するサービスごとに使い分けることもできる。このようにすると、複数のサービスでマルチノードストレージシステムの利点を享受できる。   In a multi-node storage system, for example, one logical storage area (logical volume) can be provided across storage devices of a plurality of disk nodes. A plurality of logical volumes can be provided and used for each service provided. In this way, the advantages of the multi-node storage system can be enjoyed with a plurality of services.

ところで、システムの運用管理において、システムを構成するノードで発生する負荷の監視が行われる場合がある。負荷の監視により、負荷の集中しているディスクノードや処理能力に余裕があるディスクノードを特定することができる。負荷の監視結果に基づき、システム全体のチューニング、ハードウェア資源の拡充および機能の追加などを、的確に行うことができる。   Incidentally, in the operation management of the system, there is a case where the load generated in the nodes constituting the system is monitored. By monitoring the load, it is possible to identify a disk node where the load is concentrated or a disk node with a sufficient processing capacity. Based on the load monitoring result, the entire system can be tuned, hardware resources can be expanded, and functions can be added.

例えば、ホストコンピュータと磁気ディスク装置との間の接続を行う磁気ディスク結合装置で、磁気ディスク装置の負荷を計測する技術がある。磁気ディスク装置の負荷を計測すると、例えば、負荷が基準値を超えた磁気ディスク装置について過負荷と判断することができる。   For example, there is a technique for measuring the load on a magnetic disk device using a magnetic disk coupling device that connects a host computer and a magnetic disk device. When the load on the magnetic disk device is measured, for example, a magnetic disk device whose load exceeds a reference value can be determined to be overloaded.

またマルチノードストレージシステムでは、例えば、データ格納量と全記憶装置の最大記憶可能容量との比などのシステム全体の使用率をモニタし、使用率に応じた指標値に基づいて、分散配置を実行する技術がある。これにより、使用容量の平準化等が可能となる。   In a multi-node storage system, for example, the usage rate of the entire system, such as the ratio between the amount of data stored and the maximum storage capacity of all storage devices, is monitored, and distributed allocation is performed based on index values according to the usage rate There is technology to do. This makes it possible to equalize the used capacity.

特開2002−312126号公報Japanese Patent Laid-Open No. 2002-312126 特開2005−050303号公報JP 2005-050303 A

しかし、従来のストレージ装置の負荷の計算方法では、ストレージ装置が許容できる最大負荷に対する現在の負荷の度合いを正確に判断できない場合がある。例えば、ストレージ装置の最大負荷は、アクセスの種類(リードまたはライト)、アクセス対象のデータサイズ、アクセス対象の記憶領域などで変動する。そのため、ストレージ装置の所定の使用状況を想定して最大負荷を決めてしまうと、想定された使用状況と異なる使用状況となったときに、負荷指標の値が不正確となる。   However, in the conventional storage apparatus load calculation method, the current load degree with respect to the maximum load allowable by the storage apparatus may not be accurately determined. For example, the maximum load of the storage apparatus varies depending on the type of access (read or write), the data size to be accessed, the storage area to be accessed, and the like. Therefore, if the maximum load is determined assuming a predetermined usage situation of the storage device, the value of the load index becomes inaccurate when the usage situation is different from the assumed usage situation.

特にホットスポットと言われる数GB程度の範囲にアクセスが集中する場合がある。この場合、ストレージ装置に十分な容量のキャッシュメモリが搭載されていれば、キャッシュヒット率が高くなり、ストレージ装置で単位時間当たりに処理可能なアクセス要求数が多くなる。すなわち、ストレージ装置で許容できる最大負荷が大きくなる。その結果、所定の使用状況に基づく最大負荷を基準に計算された負荷指標の値と、実際の負荷状況とが大きく乖離してしまう。   In particular, access may be concentrated in a range of about several GB called a hot spot. In this case, if a sufficient amount of cache memory is installed in the storage apparatus, the cache hit rate increases, and the number of access requests that can be processed per unit time by the storage apparatus increases. That is, the maximum load allowable in the storage apparatus is increased. As a result, the value of the load index calculated on the basis of the maximum load based on the predetermined use situation and the actual load situation are greatly deviated.

本発明はこのような点に鑑みてなされたものであり、ストレージ装置が許容できる最大負荷に対する現実の負荷の割合を正確に計算することができる負荷解析プログラム、負荷解析方法、および負荷解析装置を提供することを目的とする。   The present invention has been made in view of the above points, and provides a load analysis program, a load analysis method, and a load analysis device capable of accurately calculating a ratio of an actual load to a maximum load allowable by a storage apparatus. The purpose is to provide.

上記課題を解決するために、ストレージ装置の負荷を解析する負荷解析プログラムが提供される。この負荷解析プログラムは、コンピュータに以下の処理を実行させる。
コンピュータは、ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出する。次にコンピュータは、最大アクセス要求数を最大負荷記憶手段に格納する。そしてコンピュータは、最大負荷記憶手段に格納された最大アクセス要求数に対する所定期間内のアクセス要求数の割合を、ストレージ装置の所定期間における負荷を示す負荷指標として出力する。
In order to solve the above problems, a load analysis program for analyzing the load of a storage apparatus is provided. This load analysis program causes the computer to execute the following processing.
The computer calculates the maximum number of access requests that can be processed per unit time in the storage apparatus based on the average response time per access request for the storage apparatus within a predetermined period. Next, the computer stores the maximum access request number in the maximum load storage means. Then, the computer outputs the ratio of the number of access requests within a predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating the load during the predetermined period of the storage apparatus.

また上記課題を解決するために、上記負荷解析プログラムを実行するコンピュータを同様の処理を行う負荷解析方法が提供される。さらに上記課題を解決するために、負荷解析プログラムに基づいてコンピュータ上で実現される機能と同様の機能を有する負荷解析装置が提供される。   In order to solve the above problem, a load analysis method is provided in which a computer executing the load analysis program performs similar processing. Furthermore, in order to solve the above-described problems, a load analysis apparatus having functions similar to functions realized on a computer based on a load analysis program is provided.

ストレージ装置が許容できる所定期間ごとの最大負荷に基づいて、所定期間ごとの負荷を正確に計算することができる。   Based on the maximum load for each predetermined period allowable by the storage apparatus, the load for each predetermined period can be accurately calculated.

第1の実施の形態の機能を示すブロック図である。It is a block diagram which shows the function of 1st Embodiment. マルチノードストレージシステムの構成を示す図である。It is a figure which shows the structure of a multi-node storage system. 管理ノードのハードウェアの一構成例を示す図である。It is a figure which shows one structural example of the hardware of a management node. 論理ボリュームの構成例を示す図である。It is a figure which shows the structural example of a logical volume. 第2の実施の形態に係るシステムの機能を示すブロック図である。It is a block diagram which shows the function of the system which concerns on 2nd Embodiment. アクセス情報記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of an access information storage part. アクセスノードから送信されるアクセス要求パケットの一例を示す図である。It is a figure which shows an example of the access request packet transmitted from an access node. ストレージ負荷計測部の内部機能を示すブロック図である。It is a block diagram which shows the internal function of a storage load measurement part. ストレージ装置の負荷計測処理の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of the load measurement process of a storage apparatus. ストレージ負荷記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of a storage load memory | storage part. 論理ボリューム負荷計測部の内部機能を示すブロック図である。It is a block diagram which shows the internal function of a logical volume load measurement part. 論理ボリューム判別情報記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of a logical volume discrimination | determination information storage part. 論理ボリュームごとのストレージ装置に与える負荷の計測処理の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of the measurement process of the load given to the storage apparatus for every logical volume. 論理ボリューム負荷記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of a logical volume load memory | storage part. 負荷情報記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of a load information storage part. 負荷解析処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a load analysis process. 解析結果記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of an analysis result memory | storage part. 解析結果の表示例を示す図である。It is a figure which shows the example of a display of an analysis result. 誤判定が回避される例を示す図である。It is a figure which shows the example in which a misjudgment is avoided. 第3の実施の形態に係るシステムの機能を示すブロック図である。It is a block diagram which shows the function of the system which concerns on 3rd Embodiment. 第4の実施の形態に係るシステムの機能を示すブロック図である。It is a block diagram which shows the function of the system which concerns on 4th Embodiment. 論理ボリューム負荷記憶部のデータ構造例を示す図である。It is a figure which shows the example of a data structure of a logical volume load memory | storage part.

以下、本実施の形態について図面を参照して説明する。
〔第1の実施の形態〕
図1は、第1の実施の形態の機能を示すブロック図である。第1の実施の形態では、負荷解析装置1によって、アクセス装置3からストレージ装置2へのアクセスに基づくストレージ装置2の負荷を解析する。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram illustrating functions of the first embodiment. In the first embodiment, the load analysis device 1 analyzes the load of the storage device 2 based on access from the access device 3 to the storage device 2.

負荷解析装置1は、例えばアクセス装置3とストレージ装置2との通信路から、アクセス装置3からストレージ装置2へのアクセス要求と、そのアクセス要求に対する応答とを検出する。負荷解析装置1は、検出したアクセス要求と、そのアクセス要求に対する応答とに基づいて、ストレージ装置2の負荷を解析する。そのために負荷解析装置1は、最大負荷算出手段1a、最大負荷記憶手段1b、負荷指標算出手段1c、割り当て情報記憶手段1d、論理ボリューム影響度算出手段1e、および解析結果記憶手段1fを有している。   For example, the load analysis device 1 detects an access request from the access device 3 to the storage device 2 and a response to the access request from the communication path between the access device 3 and the storage device 2. The load analysis device 1 analyzes the load of the storage device 2 based on the detected access request and a response to the access request. For this purpose, the load analysis apparatus 1 includes a maximum load calculation unit 1a, a maximum load storage unit 1b, a load index calculation unit 1c, an allocation information storage unit 1d, a logical volume influence calculation unit 1e, and an analysis result storage unit 1f. Yes.

最大負荷算出手段1aは、ストレージ装置2に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、ストレージ装置2で単位時間当たりに処理可能な最大アクセス要求数を算出する。例えば最大負荷算出手段1aは、所定の単位時間を平均応答時間で除算した値を、最大アクセス要求数とする。単位時間が1秒であり、平均応答時間が秒単位で表されていれば、平均応答時間の逆数が最大アクセス要求数となる。最大負荷算出手段1aは、算出した最大アクセス要求数を最大負荷記憶手段1bに格納する。   The maximum load calculating unit 1a calculates the maximum number of access requests that can be processed per unit time in the storage apparatus 2 based on the average response time per access request within a predetermined period to the storage apparatus 2. For example, the maximum load calculating unit 1a sets a value obtained by dividing a predetermined unit time by an average response time as the maximum access request number. If the unit time is 1 second and the average response time is expressed in seconds, the reciprocal of the average response time is the maximum access request number. The maximum load calculation unit 1a stores the calculated maximum access request number in the maximum load storage unit 1b.

なお平均応答時間は、例えば所定期間内でのストレージ装置2に対する各アクセス要求に対するストレージ装置2での実行時間の累計値を、ストレージ装置2に対する所定期間内のアクセス要求数で除算することで算出される。平均応答時間は、ネットワーク経由で送受信されるアクセス要求と、そのアクセス要求に対する応答との組から、最大負荷算出手段1aが算出することが可能である。ただし、ストレージ装置2に対してより近い部分から検出したアクセス要求と応答との組に基づいて平均応答時間を算出することで、より正確な平均応答時間を得ることができる。例えば、ストレージ装置2に直接(ネットワークを介さずに)接続された装置において、アクセス要求と応答との組を検出すればよい。その場合、アクセス要求と応答との組を検出した装置において所定期間ごとの平均応答時間を算出し、算出された平均応答時間を負荷解析装置1に送信するようにしてもよい。   The average response time is calculated, for example, by dividing the cumulative value of execution times in the storage apparatus 2 for each access request to the storage apparatus 2 within a predetermined period by the number of access requests for the storage apparatus 2 within the predetermined period. The The average response time can be calculated by the maximum load calculating means 1a from a set of an access request transmitted / received via the network and a response to the access request. However, a more accurate average response time can be obtained by calculating the average response time based on a set of access request and response detected from a portion closer to the storage apparatus 2. For example, a pair of an access request and a response may be detected in a device that is directly connected to the storage device 2 (not via a network). In this case, the average response time for each predetermined period may be calculated in the device that has detected the combination of the access request and the response, and the calculated average response time may be transmitted to the load analysis device 1.

最大負荷記憶手段1bは、最大アクセス要求数を記憶する。例えば負荷解析装置1の主記憶装置や補助記憶装置の記憶領域の一部が、最大負荷記憶手段1bとして使用される。
負荷指標算出手段1cは、最大負荷記憶手段1bに格納された最大アクセス要求数に対する所定期間内のアクセス要求数の割合を算出し、ストレージ装置2の所定期間における負荷を示す負荷指標として出力する。例えば、負荷指標算出手段1cは、算出した負荷指標を解析結果記憶手段1fに格納する。
The maximum load storage unit 1b stores the maximum access request number. For example, a part of the storage area of the main storage device or auxiliary storage device of the load analysis device 1 is used as the maximum load storage means 1b.
The load index calculation unit 1c calculates the ratio of the number of access requests within a predetermined period to the maximum number of access requests stored in the maximum load storage unit 1b, and outputs it as a load index indicating the load in the predetermined period of the storage apparatus 2. For example, the load index calculation unit 1c stores the calculated load index in the analysis result storage unit 1f.

割り当て情報記憶手段1dは、ストレージ装置2内の記憶領域と、記憶領域が割り当てられた論理ボリュームとの対応関係を記憶する。例えば負荷解析装置1の主記憶装置や補助記憶装置の記憶領域の一部が、割り当て情報記憶手段1dとして使用される。   The allocation information storage unit 1d stores a correspondence relationship between the storage area in the storage device 2 and the logical volume to which the storage area is allocated. For example, a part of the storage area of the main storage device or auxiliary storage device of the load analysis device 1 is used as the allocation information storage means 1d.

論理ボリューム影響度算出手段1eは、割り当て情報記憶手段1dを参照し、アクセス要求のアクセス対象となった記憶領域が割り当てられた論理ボリュームの内訳を計算する。そして論理ボリューム影響度算出手段1eは、論理ボリュームごとの内訳に応じて、負荷指標で示されるストレージ装置2の所定期間における負荷に対する論理ボリュームごとの影響度を算出する。論理ボリューム影響度算出手段1eは、算出した各論理ボリュームの影響度を、その論理ボリュームの負荷指標として解析結果記憶手段1fに格納することができる。   The logical volume influence calculation unit 1e refers to the allocation information storage unit 1d and calculates the breakdown of the logical volume to which the storage area that is the access target of the access request is allocated. Then, the logical volume influence degree calculating means 1e calculates the influence degree for each logical volume with respect to the load in the predetermined period of the storage apparatus 2 indicated by the load index according to the breakdown for each logical volume. The logical volume influence degree calculation means 1e can store the calculated influence degree of each logical volume in the analysis result storage means 1f as a load index of the logical volume.

なお、論理ボリュームごとの影響度の算出は、例えば次のような手順で行われる。すなわち論理ボリューム影響度算出手段1eは、各論理ボリュームに割り当てられたストレージ装置2内の記憶領域をアクセス先とする所定期間内のアクセス要求の実行時間を論理ボリュームごとに累積した累積実行時間を算出する。そして論理ボリューム影響度算出手段1eは、論理ボリュームごとの累積実行時間に応じて負荷指標の値を各論理ボリュームに比例配分し、配分された値を各論理ボリュームの影響度とする。   Note that the degree of influence for each logical volume is calculated in the following procedure, for example. In other words, the logical volume influence calculation unit 1e calculates the accumulated execution time obtained by accumulating the execution time of the access request within a predetermined period with the storage area in the storage device 2 assigned to each logical volume as the access destination for each logical volume. To do. Then, the logical volume influence calculation means 1e proportionally distributes the load index value to each logical volume according to the accumulated execution time for each logical volume, and uses the distributed value as the influence degree of each logical volume.

このような負荷解析装置1によれば、所定時間ごとの平均応答時間に基づいて、最大負荷算出手段1aにより、その所定時間における最大アクセス要求数が算出される。この最大アクセス要求数は、平均応答時間が短いほど大きな値となり、平均応答時間が長いほど小さな値となる。そして、負荷指標算出手段1cにより、最大アクセス要求数に対する所定時間におけるアクセス要求の割合が、負荷指標として算出される。   According to such a load analyzing apparatus 1, the maximum access request number in the predetermined time is calculated by the maximum load calculating means 1a based on the average response time for every predetermined time. This maximum access request number becomes larger as the average response time is shorter, and becomes smaller as the average response time is longer. Then, the load index calculation means 1c calculates the ratio of access requests in a predetermined time with respect to the maximum number of access requests as a load index.

このようにして算出された負荷指標は、解析対象となった所定時間内のアクセスの状況を反映した値となる。すなわち、平均応答時間は、アクセスの種類(リードまたはライト)、アクセス対象データサイズの分布(例えば、0.5KBから512KBまでの割合)、アクセス要求が発生した記憶領域の範囲などに応じて変化することが実験により確かめられている。例えばストレージ装置2内の特定の記憶領域に集中してアクセス要求が出された場合、ストレージ装置2ではキャッシュメモリを活用し、アクセス要求に対して短時間で応答可能となる。第1の実施の形態によれば、発生したアクセスの状況に応じて最大アクセス要求数が随時算出される。その結果、ストレージ装置2全体の負荷指標の値を、より実際に発生した負荷に近づけることができる。   The load index calculated in this way is a value that reflects the state of access within a predetermined time that is the analysis target. That is, the average response time varies depending on the type of access (read or write), the distribution of the data size to be accessed (for example, the ratio from 0.5 KB to 512 KB), the range of the storage area where the access request has occurred, and the like. This has been confirmed by experiments. For example, when an access request is issued concentrated on a specific storage area in the storage apparatus 2, the storage apparatus 2 can respond to the access request in a short time by using a cache memory. According to the first embodiment, the maximum number of access requests is calculated at any time according to the state of access that has occurred. As a result, the load index value of the entire storage apparatus 2 can be made closer to the load actually generated.

しかも、第1の実施の形態では、論理ボリュームごとの内訳については、実行されたアクセス要求数ではなく、累積実行時間で比例配分することができる。これにより、特にホットスポット発生時などに、ストレージ装置2への負荷の影響度が高い論理ボリュームを正確に求めることが可能となる。すなわち、実行されたアクセス要求数で負荷指標を比例配分すると、ホットスポットと呼ばれる特定の記憶領域に集中して多数のアクセスが行われた論理ボリュームが、ストレージ装置2へ大きな負荷を与えていると判断される可能性がある。しかし、ホットスポットへのアクセスが非常に短時間で完了できるのであれば、その論理ボリュームに関するアクセスの累積実行時間は、他の論理ボリュームの累積実行時間よりも少ない場合もあり得る。累積実行時間が短ければ、それだけストレージ装置2に与える負荷も少ないと考えることができる。そのため、ストレージ装置2に対して最も大きな負荷を与えている論理ボリュームは、ホットスポットへの大量のアクセスを行っている論理ボリューム以外の論理ボリュームであると考えられる。   Moreover, in the first embodiment, the breakdown for each logical volume can be proportionally distributed not by the number of access requests executed but by the cumulative execution time. This makes it possible to accurately obtain a logical volume that has a high degree of influence of the load on the storage apparatus 2 especially when a hot spot occurs. That is, when the load index is proportionally distributed according to the number of access requests executed, a logical volume that is accessed in a large number in a specific storage area called a hot spot gives a large load to the storage apparatus 2. May be judged. However, if access to the hot spot can be completed in a very short time, the cumulative execution time of access for the logical volume may be less than the cumulative execution time of other logical volumes. If the cumulative execution time is short, it can be considered that the load applied to the storage apparatus 2 is small accordingly. Therefore, the logical volume that gives the largest load to the storage apparatus 2 is considered to be a logical volume other than the logical volume that is accessing a large amount of hot spots.

論理ボリュームごとの累積実行時間に基づいて負荷指標を比例配分し、各論理ボリュームの影響度とすれば、実際にストレージ装置2に大きな負荷をかけている論理ボリュームほど影響度が高くなる。すなわち、アクセス要求数ではなく、累積実行時間で比較することで、ストレージ装置2に対する負荷の原因となっている論理ボリュームを適切に判断することが可能となる。   If the load index is proportionally distributed based on the accumulated execution time for each logical volume and the influence degree of each logical volume is set, the influence degree becomes higher as the logical volume actually applies a large load to the storage apparatus 2. That is, it is possible to appropriately determine the logical volume causing the load on the storage apparatus 2 by comparing not the number of access requests but the accumulated execution time.

〔第2の実施の形態〕
第2の実施の形態は、マルチノードストレージシステムにおける各ディスクノードで管理されるストレージ装置の負荷を計算するものである。以下に、第2の実施の形態の詳細を説明する。
[Second Embodiment]
In the second embodiment, the load of the storage device managed by each disk node in the multi-node storage system is calculated. Details of the second embodiment will be described below.

図2は、マルチノードストレージシステムの構成を示す図である。マルチノードストレージシステムは、同一内容の複数のデータをネットワークで接続された複数のディスクノードに分散して配置することで、信頼性と処理性能とを向上させたストレージシステムである。このマルチノードストレージシステムは、管理ノード100、ディスクノード200,300,400、コントロールノード500およびアクセスノード600,700,800を有する。管理ノード100、ディスクノード200,300,400、コントロールノード500およびアクセスノード600,700,800は、スイッチ装置10を介して相互にデータ通信可能に接続される。また、端末装置51,52がネットワーク50を介してアクセスノード600,700,800に接続されている。   FIG. 2 is a diagram showing the configuration of the multi-node storage system. A multi-node storage system is a storage system in which reliability and processing performance are improved by distributing a plurality of pieces of data having the same content to a plurality of disk nodes connected via a network. This multi-node storage system has a management node 100, disk nodes 200, 300, 400, a control node 500, and access nodes 600, 700, 800. The management node 100, the disk nodes 200, 300, and 400, the control node 500, and the access nodes 600, 700, and 800 are connected to each other via the switch device 10 so that data communication is possible. Terminal devices 51 and 52 are connected to access nodes 600, 700, and 800 via a network 50.

管理ノード100は、マルチノードストレージシステムの管理者が操作する運用管理用の端末装置である。管理者は、管理ノード100を用いて、ディスクノード200,300,400、コントロールノード500およびアクセスノード600,700,800の利用状況を監視することができる。また、管理者は、管理ノード100を操作して、ディスクノード200,300,400、コントロールノード500およびアクセスノード600,700,800にアクセスし、運用に必要な各種設定を行うことができる。   The management node 100 is an operation management terminal device operated by an administrator of the multi-node storage system. Using the management node 100, the administrator can monitor the usage status of the disk nodes 200, 300, 400, the control node 500 and the access nodes 600, 700, 800. In addition, the administrator can operate the management node 100 to access the disk nodes 200, 300, 400, the control node 500, and the access nodes 600, 700, 800, and perform various settings necessary for operation.

ディスクノード200,300,400には、それぞれストレージ装置210,310,410が接続されている。ストレージ装置210,310,410は、例えば、内蔵する複数のHDD(Hard disk Drive)を用いたRAID(Redundant Arrays of Independent Disks)システムである。ディスクノード200,300,400は、ストレージ装置210,310,410に格納されたデータをスイッチ装置10経由でアクセスノード600,700,800に提供する。   Storage devices 210, 310, and 410 are connected to the disk nodes 200, 300, and 400, respectively. The storage apparatuses 210, 310, and 410 are, for example, RAID (Redundant Arrays of Independent Disks) systems that use a plurality of built-in HDDs (Hard disk Drives). The disk nodes 200, 300, and 400 provide the data stored in the storage devices 210, 310, and 410 to the access nodes 600, 700, and 800 via the switch device 10.

コントロールノード500は、ディスクノード200,300,400を管理する。具体的には、コントロールノード500は、データの配置状況を示す論理ボリュームを保持している。コントロールノード500は、ディスクノード200,300,400からデータの管理に関する情報を取得し、必要に応じて論理ボリュームを更新する。また、コントロールノード500は、論理ボリュームが更新されると、その影響を受けるディスクノードに対して更新内容を通知する。論理ボリュームの詳細は、後述する。   The control node 500 manages the disk nodes 200, 300, and 400. Specifically, the control node 500 holds a logical volume indicating the data arrangement status. The control node 500 acquires information related to data management from the disk nodes 200, 300, and 400, and updates the logical volume as necessary. In addition, when the logical volume is updated, the control node 500 notifies the disk node affected by the updated content. Details of the logical volume will be described later.

アクセスノード600,700,800は、端末装置51,52に対して、ディスクノード200,300,400が管理するデータを利用した情報処理のサービスを提供する。すなわち、アクセスノード600は、端末装置51,52からの要求に応答して所定のプログラムを実行し、必要に応じてディスクノード200,300,400にアクセスする。ここで、アクセスノード600,700,800は、コントロールノード500から論理ボリュームを取得し、取得した論理ボリュームに基づいてアクセスすべきディスクノードを特定する。   The access nodes 600, 700, and 800 provide information processing services using data managed by the disk nodes 200, 300, and 400 to the terminal devices 51 and 52. That is, the access node 600 executes a predetermined program in response to a request from the terminal devices 51 and 52, and accesses the disk nodes 200, 300, and 400 as necessary. Here, the access nodes 600, 700, and 800 acquire a logical volume from the control node 500, and specify a disk node to be accessed based on the acquired logical volume.

図3は、管理ノードのハードウェアの一構成例を示す図である。管理ノード100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス109を介してRAM(Random Access Memory)102と複数の周辺機器が接続されている。   FIG. 3 is a diagram illustrating a configuration example of hardware of the management node. The management node 100 is entirely controlled by a CPU (Central Processing Unit) 101. A RAM (Random Access Memory) 102 and a plurality of peripheral devices are connected to the CPU 101 via a bus 109.

RAM102は、管理ノード100の主記憶装置として使用される。RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。   The RAM 102 is used as a main storage device of the management node 100. The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101.

バス109に接続されている周辺機器としては、ハードディスクドライブ(HDD:Hard Disk Drive)103、グラフィック処理装置104、入力インタフェース105、光学ドライブ装置106、および通信インタフェース107がある。   Peripheral devices connected to the bus 109 include a hard disk drive (HDD) 103, a graphic processing device 104, an input interface 105, an optical drive device 106, and a communication interface 107.

HDD103は、内蔵したディスクに対して、磁気的にデータの書き込みおよび読み出しを行う。HDD103は、管理ノード100の二次記憶装置として使用される。HDD103には、OSのプログラム、アプリケーションプログラム、および各種データが格納される。なお、二次記憶装置としては、フラッシュメモリなどの半導体記憶装置を使用することもできる。   The HDD 103 magnetically writes and reads data to and from the built-in disk. The HDD 103 is used as a secondary storage device of the management node 100. The HDD 103 stores an OS program, application programs, and various data. Note that a semiconductor storage device such as a flash memory can also be used as the secondary storage device.

グラフィック処理装置104には、モニタ11が接続されている。グラフィック処理装置104は、CPU101からの命令に従って、画像をモニタ11の画面に表示させる。モニタ11としては、CRT(Cathode Ray Tube)を用いた表示装置や液晶表示装置などがある。   A monitor 11 is connected to the graphic processing device 104. The graphic processing device 104 displays an image on the screen of the monitor 11 in accordance with a command from the CPU 101. Examples of the monitor 11 include a display device using a CRT (Cathode Ray Tube) and a liquid crystal display device.

入力インタフェース105には、キーボード12とマウス13とが接続されている。入力インタフェース105は、キーボード12やマウス13から送られてくる信号をCPU101に送信する。なお、マウス13は、ポインティングデバイスの一例であり、他のポインティングデバイスを使用することもできる。他のポインティングデバイスとしては、タッチパネル、タブレット、タッチパッド、トラックボールなどがある。   A keyboard 12 and a mouse 13 are connected to the input interface 105. The input interface 105 transmits a signal sent from the keyboard 12 or the mouse 13 to the CPU 101. The mouse 13 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.

光学ドライブ装置106は、レーザ光などを利用して、光ディスク14に記録されたデータの読み取りを行う。光ディスク14は、光の反射によって読み取り可能なようにデータが記録された可搬型の記録媒体である。光ディスク14には、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などがある。   The optical drive device 106 reads data recorded on the optical disk 14 using laser light or the like. The optical disk 14 is a portable recording medium on which data is recorded so that it can be read by reflection of light. The optical disk 14 includes a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), and the like.

通信インタフェース107は、スイッチ装置10に接続されている。通信インタフェース107は、スイッチ装置10を介して、管理ノード100、アクセスノード600,700,800、コントロールノード500などとの間でデータの送受信を行う。   The communication interface 107 is connected to the switch device 10. The communication interface 107 transmits / receives data to / from the management node 100, the access nodes 600, 700, 800, the control node 500, and the like via the switch device 10.

以上のようなハードウェア構成によって、本実施の形態の処理機能を実現することができる。なお、図3には管理ノード100のハードウェア構成を示したが、ディスクノード200,300,400、コントロールノード500、およびアクセスノード600,700,800も同様のハードウェア構成で実現することができる。ただし、ディスクノード200,300,400は、ストレージ装置210,310,410を接続するためのストレージインタフェースを更に有している。   With the hardware configuration as described above, the processing functions of the present embodiment can be realized. Although FIG. 3 shows the hardware configuration of the management node 100, the disk nodes 200, 300, 400, the control node 500, and the access nodes 600, 700, 800 can also be realized with the same hardware configuration. . However, the disk nodes 200, 300, and 400 further have a storage interface for connecting the storage apparatuses 210, 310, and 410.

次に、マルチノードストレージシステムで提供される論理ボリュームについて説明する。論理ボリュームは、ディスクノード200,300,400によって分散管理されているデータを、アクセスノード600,700,800から容易に利用できるようにするための仮想的なボリュームである。   Next, logical volumes provided in the multi-node storage system will be described. The logical volume is a virtual volume for making it possible to easily use data managed by the disk nodes 200, 300, and 400 from the access nodes 600, 700, and 800.

図4は、論理ボリュームの構成例を示す図である。第2の実施の形態では、マルチノードストレージシステムは3つの論理ボリューム910,920,930を有する。
論理ボリューム910には、“LVOL0”という論理ボリュームIDが付与されている。論理ボリューム910は、6つのセグメント911〜916に分割されて、管理されている。セグメント911〜916には、それぞれ論理ボリュームID“LVOL0”に対して、“0”〜“5”というセグメントIDが付与されている。
FIG. 4 is a diagram illustrating a configuration example of a logical volume. In the second embodiment, the multi-node storage system has three logical volumes 910, 920, and 930.
A logical volume ID “LVOL0” is assigned to the logical volume 910. The logical volume 910 is divided into six segments 911 to 916 and managed. Segment IDs “0” to “5” are assigned to the segments 911 to 916, respectively, with respect to the logical volume ID “LVOL0”.

論理ボリューム920には、“LVOL1”という論理ボリュームIDが付与されている。論理ボリューム920は、6つのセグメント921〜926に分割されて、管理されている。セグメント921〜926には、それぞれ論理ボリュームID“LVOL1”に対して、“0”〜“5”というセグメントIDが付与されている。   The logical volume 920 is assigned a logical volume ID of “LVOL1”. The logical volume 920 is divided into six segments 921 to 926 and managed. Segment IDs “0” to “5” are assigned to the segments 921 to 926, respectively, with respect to the logical volume ID “LVOL1”.

論理ボリューム930には、“LVOL2”という論理ボリュームIDが付与されている。論理ボリューム930は、6つのセグメント931〜936に分割されて、管理されている。セグメント931〜936には、それぞれ論理ボリュームID“LVOL2”に対して、“0”〜“5”というセグメントIDが付与されている。   A logical volume ID “LVOL2” is assigned to the logical volume 930. The logical volume 930 is divided into six segments 931 to 936 and managed. Segment IDs “0” to “5” are assigned to the segments 931 to 936, respectively, with respect to the logical volume ID “LVOL2”.

各論理ボリューム910,920,930に含まれるセグメントは、同じ記憶容量である。例えば各セグメントは、1GBの仮想的な記憶領域である。
また、ディスクノード200には、“SN−A”というディスクノードIDが付与されている。ディスクノード300には、“SN−B”というディスクノードIDが付与されている。ディスクノード400には、“SN−C”というディスクノードIDが付与されている。ストレージ装置210,310,410では、その物理的な記憶領域が6つのスライスに分割されて、管理されている。
The segments included in each logical volume 910, 920, 930 have the same storage capacity. For example, each segment is a 1 GB virtual storage area.
The disk node 200 is assigned a disk node ID of “SN-A”. A disk node ID “SN-B” is assigned to the disk node 300. The disk node 400 is assigned a disk node ID “SN-C”. In the storage apparatuses 210, 310, and 410, the physical storage area is divided into six slices and managed.

ストレージ装置210内の記憶領域は、6つのスライス211〜216に分割されている。スライス211〜216には、ディスクノードID“SN−A”に対して“0”〜“5”というスライスIDが付与されている。   The storage area in the storage device 210 is divided into six slices 211 to 216. The slices 211 to 216 are assigned slice IDs “0” to “5” to the disk node ID “SN-A”.

ストレージ装置310内の記憶領域は、6つのスライス311〜316に分割されている。スライス311〜316には、ディスクノードID“SN−B”に対して“0”〜“5”というスライスIDが付与されている。   The storage area in the storage device 310 is divided into six slices 311 to 316. In slices 311 to 316, slice IDs “0” to “5” are assigned to the disk node ID “SN-B”.

ストレージ装置410内の記憶領域は、6つのスライス411〜416に分割されている。スライス411〜416には、ディスクノードID“SN−C”に対して“0”〜“5”というスライスIDが付与されている。   The storage area in the storage device 410 is divided into six slices 411 to 416. Slice IDs “0” to “5” are assigned to the disk nodes ID “SN-C” in the slices 411 to 416.

ストレージ装置210,310,410に含まれる各スライスの記憶容量は、論理ボリューム910,920,930の各セグメントの記憶容量と同じである。例えばセグメントの記憶容量が1GBであれば、各スライスの記憶容量も1GBである。   The storage capacity of each slice included in the storage devices 210, 310, and 410 is the same as the storage capacity of each segment of the logical volumes 910, 920, and 930. For example, if the storage capacity of a segment is 1 GB, the storage capacity of each slice is also 1 GB.

論理ボリューム910,920,930の各セグメントには、ストレージ装置210,310,410のスライスが割り当てられる。論理ボリューム910,920,930のセグメントのデータは、そのセグメントに割り当てられたスライスに格納される。   Slices of the storage apparatuses 210, 310, and 410 are allocated to the segments of the logical volumes 910, 920, and 930, respectively. The data of the segments of the logical volumes 910, 920, and 930 are stored in the slices assigned to the segments.

例えば図4では、セグメント911には、スライス211が割り当てられている。セグメント912には、スライス311が割り当てられている。セグメント913には、スライス411が割り当てられている。セグメント914には、スライス212が割り当てられている。セグメント915には、スライス312が割り当てられている。セグメント916には、スライス412が割り当てられている。   For example, in FIG. 4, the slice 211 is assigned to the segment 911. A slice 311 is assigned to the segment 912. A slice 411 is assigned to the segment 913. A slice 212 is assigned to the segment 914. A slice 312 is assigned to the segment 915. A slice 412 is assigned to the segment 916.

このように論理ボリューム910のセグメント911〜916には、ストレージ装置210,310,410のスライスID“0”、“1”のスライスが割り当てられている。各セグメント911〜916内を指定したデータアクセスは、該当するセグメントに割り当てられたスライスに対して実行される。これにより、論理ボリューム910のデータがストレージ装置210,310,410に分散配置される。   As described above, the slices with the slice IDs “0” and “1” of the storage apparatuses 210, 310, and 410 are assigned to the segments 911 to 916 of the logical volume 910. Data access specifying the inside of each segment 911 to 916 is executed for the slice assigned to the corresponding segment. As a result, the data of the logical volume 910 is distributed and arranged in the storage apparatuses 210, 310 and 410.

また、論理ボリューム920のセグメント921〜926には、ストレージ装置210,310,410のスライスID“2”、“3”のスライスが割り当てられている。各セグメント921〜926内を指定したデータアクセスは、該当するセグメントに割り当てられたスライスに対して実行される。これにより、論理ボリューム920のデータがストレージ装置210,310,410に分散配置される。   In addition, the slices “2” and “3” of the storage apparatuses 210, 310, and 410 are assigned to the segments 921 to 926 of the logical volume 920. Data access designating the inside of each segment 921 to 926 is executed for the slice assigned to the corresponding segment. As a result, the data of the logical volume 920 is distributed and arranged in the storage apparatuses 210, 310, and 410.

また、論理ボリューム930のセグメント931〜936には、ストレージ装置210,310,410のスライスID“4”、“5”のスライスが割り当てられている。各セグメント931〜936内を指定したデータアクセスは、該当するセグメントに割り当てられたスライスに対して実行される。これにより、論理ボリューム930のデータがストレージ装置210,310,410に分散配置される。   Also, slices “4” and “5” of the storage devices 210, 310, and 410 are allocated to the segments 931 to 936 of the logical volume 930. Data access specifying the inside of each segment 931-936 is performed with respect to the slice allocated to the applicable segment. As a result, the data of the logical volume 930 is distributed and arranged in the storage apparatuses 210, 310 and 410.

なお、論理ボリュームは、データの用途やアクセス元の権限などに応じて複数作成することができる。ここでは、論理ボリューム910は、アクセスノード600のみからのアクセスが可能である。論理ボリューム920は、アクセスノード700のみからのアクセスが可能である。論理ボリューム930は、アクセスノード800のみからのアクセスが可能である。論理ボリュームに割り当てられていないスライスは、アクセスノード600,700,800から認識することができない。例えば、アクセスノード600は、ストレージ装置210のスライスのうち論理ボリューム910のセグメント911,914に割り当てられたスライス211,212以外は認識することができない。このため、論理ボリュームを使い分けることはセキュリティの向上にも寄与する。   Note that a plurality of logical volumes can be created according to the use of data and the authority of the access source. Here, the logical volume 910 can be accessed only from the access node 600. The logical volume 920 can be accessed only from the access node 700. The logical volume 930 can be accessed only from the access node 800. A slice that is not allocated to a logical volume cannot be recognized from the access nodes 600, 700, and 800. For example, the access node 600 cannot recognize slices other than the slices 211 and 212 assigned to the segments 911 and 914 of the logical volume 910 among the slices of the storage apparatus 210. For this reason, using different logical volumes also contributes to improving security.

このような論理ボリューム910,920,930の各セグメントに割り当てられたスライスに関する情報は、コントロールノード500で管理される。例えば、コントロールノード500は、論理ボリューム作成時に、各ディスクノード200,300,400で管理されているストレージ装置210,310,410内の空きスライスを、作成する論理ボリュームのセグメントに割り当てる。コントロールノード500は、セグメントとスライスとの割当関係を示すアクセス情報を、作成した論理ボリュームを使用するアクセスノードに送信する。アクセスノードは受信したアクセス情報に基づいて、端末装置から出されたアクセス要求の対象となるセグメントに割り当てられたスライスを判断する。   Information regarding slices assigned to the segments of the logical volumes 910, 920, and 930 is managed by the control node 500. For example, when creating a logical volume, the control node 500 allocates an empty slice in the storage devices 210, 310, 410 managed by the respective disk nodes 200, 300, 400 to a segment of the logical volume to be created. The control node 500 transmits access information indicating the allocation relationship between segments and slices to the access node that uses the created logical volume. Based on the received access information, the access node determines the slice assigned to the segment that is the target of the access request issued from the terminal device.

またコントロールノード500は、作成した論理ボリュームのセグメントに割り当てられたスライスを管理するディスクノードに対しても、その論理ボリュームのアクセス情報を送信する。アクセス情報を受け取ったディスクノードは、そのアクセス情報に基づいて、自身の管理するストレージ装置内のスライスの割り当て先となるセグメントを認識する。   The control node 500 also transmits access information of the logical volume to the disk node that manages the slice allocated to the segment of the created logical volume. The disk node that has received the access information recognizes the segment to which the slice in the storage device managed by the disk node is assigned based on the access information.

次に、マルチノードストレージシステムにおいてストレージ装置の負荷を計測するための機能について説明する。
図5は、第2の実施の形態に係るシステムの機能を示すブロック図である。図5には、ディスクノード200に接続されたストレージ装置210の負荷を計測するための機能が示されている。
Next, a function for measuring the load on the storage device in the multi-node storage system will be described.
FIG. 5 is a block diagram illustrating functions of a system according to the second embodiment. FIG. 5 shows a function for measuring the load on the storage apparatus 210 connected to the disk node 200.

アクセスノード600は、アクセス情報記憶部610とデータアクセス制御部620とを有している。
アクセス情報記憶部610は、アクセスノード600においてアクセス環境を提供する論理ボリューム(論理ボリュームID:LVOL0)のアクセス情報を記憶する。例えばアクセスノード600内のRAMやHDDの記憶領域の一部がアクセス情報記憶部610として使用される。
The access node 600 includes an access information storage unit 610 and a data access control unit 620.
The access information storage unit 610 stores access information of a logical volume (logical volume ID: LVOL0) that provides an access environment in the access node 600. For example, a part of the storage area of the RAM or HDD in the access node 600 is used as the access information storage unit 610.

データアクセス制御部620は、端末装置51,52からの論理ボリューム内のデータへのアクセス要求に応じて、該当するデータを管理しているディスクノードへデータのアクセス要求を送信する。そして、データアクセス制御部620は、ディスクノードへのアクセス結果を、アクセス要求を出力した端末装置に応答する。この際、データアクセス制御部620は、アクセス情報記憶部610を参照して、アクセス対象のデータを含むスライスのスライスID、およびそのスライスを管理しているディスクノードのディスクノードIDを判断する。   In response to the access request to the data in the logical volume from the terminal devices 51 and 52, the data access control unit 620 transmits the data access request to the disk node that manages the corresponding data. Then, the data access control unit 620 responds the access result to the disk node to the terminal device that has output the access request. At this time, the data access control unit 620 refers to the access information storage unit 610 to determine the slice ID of the slice including the data to be accessed and the disk node ID of the disk node that manages the slice.

ディスクノード200は、ディスクドライバ220、論理ボリューム管理部230、および負荷情報送信部240を有している。
ディスクドライバ220は、ストレージ装置210を制御する。ディスクドライバ220は、ディスクノード200のOSにおけるカーネル200a内で実行される。カーネル200aとは、CPU、メモリ、周辺機器の制御など、OSの基本機能を実現する部分である。ディスクドライバ220は、ディスクアクセス部221、ストレージ負荷計測部222、およびストレージ負荷記憶部223を有している。
The disk node 200 includes a disk driver 220, a logical volume management unit 230, and a load information transmission unit 240.
The disk driver 220 controls the storage device 210. The disk driver 220 is executed in the kernel 200 a in the OS of the disk node 200. The kernel 200a is a part that realizes basic functions of the OS, such as control of a CPU, memory, and peripheral devices. The disk driver 220 includes a disk access unit 221, a storage load measurement unit 222, and a storage load storage unit 223.

ディスクアクセス部221は、カーネル200a外のアプリケーション機能からのストレージ装置210へのアクセス要求に応答し、ストレージ装置210へのIOのアクセスを実行する。この際、ディスクアクセス部221は、アクセス要求の受信、およびそのアクセス要求に応じたストレージ装置210からのアクセス結果の応答の受信を、ストレージ負荷計測部222に通知する。例えばディスクアクセス部221は、アクセス要求を受信すると、そのアクセス要求を識別するためのリクエストIDとアクセス要求の種別(要求種別)とをストレージ負荷計測部222に通知する。要求種別は、アクセス要求がライト要求なのかリード要求なのかを示す情報である。またディスクアクセス部221は、アクセス要求に対応する応答を受信すると、その応答に対応するアクセス要求のリクエストIDをストレージ負荷計測部222に通知する。   The disk access unit 221 executes an IO access to the storage apparatus 210 in response to an access request to the storage apparatus 210 from an application function outside the kernel 200a. At this time, the disk access unit 221 notifies the storage load measurement unit 222 of the reception of the access request and the reception of the response of the access result from the storage apparatus 210 according to the access request. For example, when receiving the access request, the disk access unit 221 notifies the storage load measurement unit 222 of the request ID for identifying the access request and the type (request type) of the access request. The request type is information indicating whether the access request is a write request or a read request. Further, when receiving a response corresponding to the access request, the disk access unit 221 notifies the storage load measurement unit 222 of the request ID of the access request corresponding to the response.

ストレージ負荷計測部222は、ストレージ装置210へのアクセス要求、およびそのアクセス要求に対する応答に基づいて、ストレージ装置210の負荷を計測する。ストレージ装置210の負荷計測処理の詳細は後述する。   The storage load measurement unit 222 measures the load on the storage apparatus 210 based on an access request to the storage apparatus 210 and a response to the access request. Details of the load measurement processing of the storage apparatus 210 will be described later.

ストレージ負荷記憶部223は、ストレージ負荷計測部222が計測したストレージ装置210の負荷を示す情報(ストレージ負荷情報)を記憶する。例えば、ディスクノード200のRAMやHDDの記憶領域の一部が、ストレージ負荷記憶部223として使用される。   The storage load storage unit 223 stores information (storage load information) indicating the load of the storage device 210 measured by the storage load measurement unit 222. For example, a part of the storage area of the RAM or HDD of the disk node 200 is used as the storage load storage unit 223.

論理ボリューム管理部230は、ストレージ装置210内のスライスを指定したアクセスノード600からのアクセス要求に応じて、ディスクドライバ220を介してデータアクセスを行う。論理ボリューム管理部230は、カーネル200a外のアプリケーション機能としてディスクノード200に実装されている。論理ボリューム管理部230は、論理ボリュームアクセス部231、論理ボリューム負荷計測部232、および論理ボリューム負荷記憶部233を有している。   The logical volume management unit 230 performs data access via the disk driver 220 in response to an access request from the access node 600 specifying a slice in the storage apparatus 210. The logical volume management unit 230 is implemented in the disk node 200 as an application function outside the kernel 200a. The logical volume management unit 230 includes a logical volume access unit 231, a logical volume load measurement unit 232, and a logical volume load storage unit 233.

論理ボリュームアクセス部231は、アクセスノード600からのアクセス要求を取得する。そして、論理ボリュームアクセス部231は、アクセス要求で指定されているスライス内のデータへのアクセス要求をディスクドライバ220に対して出力する。論理ボリュームアクセス部231は、ディスクドライバ220からアクセス結果を示す応答が返されると、その応答をアクセスノード600に送信する。この際、論理ボリュームアクセス部231は、アクセス要求の受信、およびそのアクセス要求に応じたディスクドライバ220からのアクセス要求に対する応答の受信を、論理ボリューム負荷計測部232に通知する。例えば論理ボリュームアクセス部231は、アクセス要求を受信すると、そのアクセス要求を識別するためのリクエストIDと、アクセス対象のスライスを示すスライスIDとを論理ボリューム負荷計測部232に通知する。なお、アクセス対象のスライスを示すスライスIDは、アクセス要求パケット(図7参照)のデータ部32から取得することができる。また論理ボリュームアクセス部231は、アクセス要求に対応する応答を受信すると、その応答に対応するアクセス要求のリクエストIDを論理ボリューム負荷計測部232に通知する。   The logical volume access unit 231 acquires an access request from the access node 600. Then, the logical volume access unit 231 outputs to the disk driver 220 an access request for data in the slice specified by the access request. When a response indicating the access result is returned from the disk driver 220, the logical volume access unit 231 transmits the response to the access node 600. At this time, the logical volume access unit 231 notifies the logical volume load measurement unit 232 of reception of the access request and reception of a response to the access request from the disk driver 220 according to the access request. For example, when receiving the access request, the logical volume access unit 231 notifies the logical volume load measurement unit 232 of a request ID for identifying the access request and a slice ID indicating the slice to be accessed. The slice ID indicating the slice to be accessed can be obtained from the data part 32 of the access request packet (see FIG. 7). When receiving a response corresponding to the access request, the logical volume access unit 231 notifies the logical volume load measurement unit 232 of the request ID of the access request corresponding to the response.

論理ボリューム負荷計測部232は、論理ボリュームへのアクセス要求および応答に基づいて、アクセス対象となった論理ボリュームごとの負荷を計測する。論理ボリュームの負荷計測処理の詳細は後述する。   The logical volume load measurement unit 232 measures the load for each logical volume to be accessed based on the access request and response to the logical volume. Details of the logical volume load measurement processing will be described later.

論理ボリューム負荷記憶部233は、論理ボリューム負荷計測部232が計測した論理ボリュームごとの負荷を示す情報(論理ボリューム負荷情報)を記憶する。例えば、ディスクノード200のRAMやHDDの記憶領域の一部が論理ボリューム負荷記憶部233として使用される。   The logical volume load storage unit 233 stores information (logical volume load information) indicating the load for each logical volume measured by the logical volume load measurement unit 232. For example, a part of the storage area of the RAM or HDD of the disk node 200 is used as the logical volume load storage unit 233.

負荷情報送信部240は、ディスクドライバ220および論理ボリューム管理部230で計測されたストレージ負荷情報と論理ボリューム負荷情報とを、管理ノード100に送信する。例えば、負荷情報送信部240は、管理ノード100からの負荷情報取得要求に応答し、ストレージ負荷記憶部223からストレージ負荷情報を取得すると共に、論理ボリューム負荷記憶部233から論理ボリューム負荷情報を取得する。そして、負荷情報送信部240は、取得したストレージ負荷情報と論理ボリューム負荷情報とを管理ノード100に送信する。また、負荷情報送信部240は、予め決められた時間間隔でストレージ負荷情報と論理ボリューム負荷情報とを取得し、管理ノード100に送信することもできる。なお、以下の説明では、ストレージ負荷情報と論理ボリューム負荷情報と含めた情報を、負荷情報と呼ぶこととする。   The load information transmission unit 240 transmits the storage load information and the logical volume load information measured by the disk driver 220 and the logical volume management unit 230 to the management node 100. For example, in response to a load information acquisition request from the management node 100, the load information transmission unit 240 acquires storage load information from the storage load storage unit 223 and acquires logical volume load information from the logical volume load storage unit 233. . Then, the load information transmission unit 240 transmits the acquired storage load information and logical volume load information to the management node 100. In addition, the load information transmission unit 240 can acquire storage load information and logical volume load information at a predetermined time interval and transmit the storage load information and the logical volume load information to the management node 100. In the following description, information including storage load information and logical volume load information is referred to as load information.

管理ノード100は、ディスクノード200,300,400から負荷情報を収集し、ストレージ装置210の負荷の状態を解析する。そして、管理ノード100は、解析結果をモニタ11などに表示する。そのために管理ノード100は、負荷情報取得部110、負荷情報記憶部120、負荷解析部130、解析結果記憶部140、および解析結果表示部150を有している。   The management node 100 collects load information from the disk nodes 200, 300, and 400 and analyzes the load status of the storage apparatus 210. Then, the management node 100 displays the analysis result on the monitor 11 or the like. For this purpose, the management node 100 includes a load information acquisition unit 110, a load information storage unit 120, a load analysis unit 130, an analysis result storage unit 140, and an analysis result display unit 150.

負荷情報取得部110は、ディスクノード200,300,400からストレージ負荷情報、および論理ボリューム負荷情報を取得する。例えば、負荷情報取得部110は、管理者からのキーボードなどの入力装置を介した負荷解析を指示する操作入力に応答し、各ディスクノード200,300,400に対して、負荷情報取得要求を送信する。そして負荷情報取得部110は、負荷情報取得要求に対する応答として各ディスクノード200,300,400から送信された負荷情報を取得する。また、負荷情報取得部110は、各ディスクノード200,300,400から所定の時間間隔で送信される負荷情報を取得することもできる。負荷情報取得部110は、取得した負荷情報を負荷情報記憶部120に格納する。   The load information acquisition unit 110 acquires storage load information and logical volume load information from the disk nodes 200, 300, and 400. For example, the load information acquisition unit 110 transmits a load information acquisition request to each of the disk nodes 200, 300, and 400 in response to an operation input instructing a load analysis via an input device such as a keyboard from the administrator. To do. Then, the load information acquisition unit 110 acquires the load information transmitted from each disk node 200, 300, 400 as a response to the load information acquisition request. The load information acquisition unit 110 can also acquire load information transmitted from the disk nodes 200, 300, and 400 at predetermined time intervals. The load information acquisition unit 110 stores the acquired load information in the load information storage unit 120.

負荷情報記憶部120は、負荷情報を記憶する。例えば、管理ノード100のRAM102やHDD103の記憶領域の一部が負荷情報記憶部120として使用される。
負荷解析部130は、負荷情報記憶部120に格納された負荷情報に基づいて、各論理ボリュームへのアクセスによるストレージ装置210,310,410それぞれの負荷を解析する。なお、負荷解析部130は、負荷の解析過程において、解析対象の期間ごとに個別に算出される最大負荷を記憶する最大負荷記憶部131を有している。解析対象の期間の長さは、予め設定された所定期間(例えば1分)である。最大負荷は、解析対象の期間において、単位時間当たりに処理可能なアクセス要求数の最大値である。最大負荷記憶部131としては、例えば、RAM102の記憶領域の一部が使用される。負荷解析部130は、解析対象の期間ごとに個別に求めた最大負荷に基づいて、その解析対象の期間におけるストレージ装置の負荷を解析する。そして、負荷解析部130は、解析結果を解析結果記憶部140に格納する。
The load information storage unit 120 stores load information. For example, a part of the storage area of the RAM 102 and HDD 103 of the management node 100 is used as the load information storage unit 120.
Based on the load information stored in the load information storage unit 120, the load analysis unit 130 analyzes the loads of the storage apparatuses 210, 310, and 410 due to access to each logical volume. Note that the load analysis unit 130 includes a maximum load storage unit 131 that stores the maximum load calculated individually for each period to be analyzed in the load analysis process. The length of the period to be analyzed is a predetermined period (for example, 1 minute) set in advance. The maximum load is the maximum number of access requests that can be processed per unit time in the period to be analyzed. As the maximum load storage unit 131, for example, a part of the storage area of the RAM 102 is used. The load analysis unit 130 analyzes the load on the storage device during the analysis target period based on the maximum load obtained individually for each analysis target period. Then, the load analysis unit 130 stores the analysis result in the analysis result storage unit 140.

解析結果記憶部140は、負荷解析部130により解析されたストレージ装置の負荷を示す情報を記憶する。例えば、RAM102やHDD103の記憶領域の一部が解析結果記憶部140として使用される。   The analysis result storage unit 140 stores information indicating the load of the storage device analyzed by the load analysis unit 130. For example, a part of the storage area of the RAM 102 or HDD 103 is used as the analysis result storage unit 140.

解析結果表示部150は、解析結果記憶部140に格納された情報に基づいて、ストレージ装置の負荷の状況を、モニタ11などに表示する。管理者は、モニタ11を参照することで、ストレージ装置の負荷状況を確認できる。   The analysis result display unit 150 displays the load status of the storage apparatus on the monitor 11 or the like based on the information stored in the analysis result storage unit 140. The administrator can check the load status of the storage apparatus by referring to the monitor 11.

次に、アクセス情報記憶部610の内容について詳細に説明する。
図6は、アクセス情報記憶部のデータ構造例を示す図である。アクセス情報記憶部610には、アクセス制御テーブル611が格納されている。アクセス制御テーブル611には、論理ボリュームID、セグメントID、ディスクノードID、およびスライスIDの欄が設けられている。各欄の横方向に並べられた情報が互いに関連付けられ、1つのセグメントに関するアクセス情報を示す。
Next, the contents of the access information storage unit 610 will be described in detail.
FIG. 6 is a diagram illustrating an example of the data structure of the access information storage unit. An access control table 611 is stored in the access information storage unit 610. The access control table 611 has columns for logical volume ID, segment ID, disk node ID, and slice ID. The information arranged in the horizontal direction in each column is associated with each other, and indicates access information regarding one segment.

論理ボリュームIDの欄には、論理ボリュームの識別子(論理ボリュームID)が設定される。セグメントIDの欄には、論理ボリュームIDで示される論理ボリューム内のセグメントの識別子(セグメントID)が設定される。ディスクノードIDの欄には、関連付けられたセグメントに割り当てられたスライスを管理しているディスクノードの識別子(ディスクノードID)が設定される。スライスIDの欄には、セグメントIDで示されるセグメントに割り当てられたスライスの識別子(スライスID)が設定される。   The logical volume identifier (logical volume ID) is set in the logical volume ID column. In the segment ID column, an identifier (segment ID) of a segment in the logical volume indicated by the logical volume ID is set. In the disk node ID column, an identifier (disk node ID) of a disk node that manages a slice assigned to the associated segment is set. In the slice ID column, an identifier (slice ID) of a slice assigned to the segment indicated by the segment ID is set.

アクセス制御テーブル611には、例えば、論理ボリュームIDが“LVOL0”、セグメントIDが“0”、ディスクノードIDが“SN−A”、スライスIDが“0”という情報が設定される。これは、論理ボリューム910のセグメント911に対して、ディスクノード200のスライス211が割り当てられていることを示している。   In the access control table 611, for example, information that the logical volume ID is “LVOL0”, the segment ID is “0”, the disk node ID is “SN-A”, and the slice ID is “0” is set. This indicates that the slice 211 of the disk node 200 is allocated to the segment 911 of the logical volume 910.

なお、図6には、アクセスノード600内のアクセス情報記憶部610のデータ構造例を示したが、他のアクセスノード700,800が有するアクセス情報記憶部も、アクセス情報記憶部610と同様のデータ構造である。ただし、アクセスノード700が有するアクセス情報記憶部には、アクセスノード700がアクセスする論理ボリューム(論理ボリュームID:LVOL1)のセグメントに関するアクセス情報が記憶される。またアクセスノード800が有するアクセス情報記憶部には、アクセスノード800がアクセスする論理ボリューム(論理ボリュームID:LVOL2)のセグメントに関するアクセス情報が記憶される。   6 shows an example of the data structure of the access information storage unit 610 in the access node 600. However, the access information storage units included in the other access nodes 700 and 800 have the same data as the access information storage unit 610. Structure. However, the access information storage unit included in the access node 700 stores access information related to the segment of the logical volume (logical volume ID: LVOL1) accessed by the access node 700. The access information storage unit included in the access node 800 stores access information related to the segment of the logical volume (logical volume ID: LVOL2) accessed by the access node 800.

なおコントロールノード500は、すべての論理ボリュームに関するアクセス情報を、保持・管理している。コントロールノード500で保持されているアクセス情報がマスタとなる。コントロールノード500は、セグメントに割り当てるスライスの変更などのアクセス情報の変更を行うと、各アクセスノード600,700,800に最新のアクセス情報を送信する。   The control node 500 holds and manages access information regarding all logical volumes. The access information held by the control node 500 becomes the master. When the control node 500 changes the access information such as changing the slice assigned to the segment, the control node 500 transmits the latest access information to each of the access nodes 600, 700, and 800.

またコントロールノード500は、論理ボリュームの作成やアクセス情報の変更を行うと、各ディスクノード200,300,400に最新のアクセス情報を送信する。例えば、各ディスクノードへは、そのディスクノードが管理しているスライスが割り当てられたセグメントに関するアクセス情報のみが送信される。各ディスクノード200,300,400は、受信したアクセス情報を記憶する。例えば各ディスクノード200,300,400は、アクセス情報をRAM内に格納すると共に、ストレージ装置210,310,410内にも格納する。   When the control node 500 creates a logical volume or changes access information, the control node 500 transmits the latest access information to each of the disk nodes 200, 300, and 400. For example, only access information related to a segment to which a slice managed by the disk node is allocated is transmitted to each disk node. Each disk node 200, 300, 400 stores the received access information. For example, each disk node 200, 300, 400 stores access information in the RAM and also in the storage devices 210, 310, 410.

アクセスノード600は、端末装置51,52から論理ボリューム内のデータのアクセス要求を受信すると、図6に示したアクセス制御テーブル611を参照し、アクセス対象のデータを含むセグメントに割り当てられたスライスを特定することができる。すなわち、アクセスノード600は、アクセス対象のデータを含むセグメントに割り当てられたスライスを管理しているディスクノードのディスクノードID、および該当するスライスのスライスIDを取得する。そして、アクセスノード600は、取得したディスクノードIDを有するディスクノードに対して、取得したスライスIDと、そのスライス内のアクセス対象のデータの指定とを含むアクセス要求パケットを送信する。   When the access node 600 receives an access request for data in the logical volume from the terminal devices 51 and 52, the access node 600 refers to the access control table 611 shown in FIG. 6 and identifies the slice assigned to the segment including the access target data. can do. That is, the access node 600 acquires the disk node ID of the disk node that manages the slice allocated to the segment including the access target data, and the slice ID of the corresponding slice. Then, the access node 600 transmits an access request packet including the acquired slice ID and designation of data to be accessed in the slice to the disk node having the acquired disk node ID.

なお、アクセスノード600,700,800とディスクノード200,300,400との間の通信プロトコルとしては、例えばIP(Internet Protocol)を用いることができる。その場合、各アクセスノード600,700,800には、各ディスクノードIDに対応するディスクノードのIPアドレスが、予め登録される。各アクセスノード600,700,800は、ディスクノードIDに対応するIPアドレスを宛先に設定したアクセス要求パケットを出力することで、アクセス対象のデータを含むスライスを管理しているディスクノードへアクセス要求パケットを送信することができる。   As a communication protocol between the access nodes 600, 700, and 800 and the disk nodes 200, 300, and 400, for example, IP (Internet Protocol) can be used. In this case, the IP address of the disk node corresponding to each disk node ID is registered in advance in each access node 600, 700, 800. Each access node 600, 700, and 800 outputs an access request packet in which the IP address corresponding to the disk node ID is set as the destination, whereby the access request packet is sent to the disk node that manages the slice containing the data to be accessed. Can be sent.

図7は、アクセスノードから送信されるアクセス要求パケットの一例を示す図である。アクセス要求パケット30は、ヘッダ部31およびデータ部32を有する。
ヘッダ部31には、プロトコル番号を示す領域および送信先IPアドレスを示す領域が含まれる。プロトコル番号を示す領域には、処理要求の種別(リードまたはライト)を示す情報が格納される。送信先IPアドレスを示す領域には、パケットの送信先となるディスクノードのIPアドレスが格納される。
FIG. 7 is a diagram illustrating an example of an access request packet transmitted from the access node. The access request packet 30 has a header part 31 and a data part 32.
The header part 31 includes an area indicating a protocol number and an area indicating a transmission destination IP address. Information indicating the type (read or write) of the processing request is stored in the area indicating the protocol number. The area indicating the transmission destination IP address stores the IP address of the disk node that is the transmission destination of the packet.

データ部32には、スライスIDを示す領域および対象データを示す領域が含まれる。スライスIDを示す領域には、アクセス対象となるデータを含むスライスのスライスIDが設定される。対象データを示す領域には、読み出し対象データを指定する情報(スライスの先頭からのオフセット、データ長など)や書き込み処理の対象となるデータとそのデータの格納場所が設定される。   The data portion 32 includes an area indicating a slice ID and an area indicating target data. In the area indicating the slice ID, the slice ID of the slice including the data to be accessed is set. In the area indicating the target data, information specifying the read target data (offset from the beginning of the slice, data length, etc.), data to be written, and the storage location of the data are set.

次に、ストレージ負荷計測部222によるストレージ装置210の負荷の計測機能について、詳細に説明する。
図8は、ストレージ負荷計測部の内部機能を示すブロック図である。ストレージ負荷計測部222は、開始時刻登録部222a、リクエスト情報記憶部222b、ストレージ負荷情報更新部222d、実行時間記憶部222e、実行数記憶部222f、および負荷情報出力部222gを有している。
Next, the load measuring function of the storage apparatus 210 by the storage load measuring unit 222 will be described in detail.
FIG. 8 is a block diagram showing the internal functions of the storage load measuring unit. The storage load measurement unit 222 includes a start time registration unit 222a, a request information storage unit 222b, a storage load information update unit 222d, an execution time storage unit 222e, an execution number storage unit 222f, and a load information output unit 222g.

開始時刻登録部222aは、ディスクアクセス部221から受信したアクセス要求の内容を取得する。例えば、開始時刻登録部222aは、ディスクアクセス部221からアクセス要求のリクエストID、および要求種別を取得する。すると開始時刻登録部222aは、リクエストIDと要求種別に現在の時刻を示すタイムスタンプを付与し、リクエスト情報を生成する。そして開始時刻登録部222aは、生成したリクエスト情報をリクエスト情報記憶部222bに格納する。   The start time registration unit 222a acquires the content of the access request received from the disk access unit 221. For example, the start time registration unit 222 a acquires the request ID and request type of the access request from the disk access unit 221. Then, the start time registration unit 222a adds a time stamp indicating the current time to the request ID and the request type, and generates request information. Then, the start time registration unit 222a stores the generated request information in the request information storage unit 222b.

リクエスト情報記憶部222bは、リクエスト情報を記憶する。例えば、RAMやHDDの記憶領域の一部がリクエスト情報記憶部222bとして使用される。図8の例では、リクエスト情報記憶部222b内にリクエスト管理テーブル222cが設けられている。リクエスト管理テーブル222cには、リクエストID、要求種別、およびタイムスタンプの欄が設けられている。リクエスト管理テーブル222c内の横方向に並べられた情報が互いに関連付けられている。互いに関連付けられた情報を含むレコードが、1つのリクエスト情報となる。   The request information storage unit 222b stores request information. For example, a part of the storage area of the RAM or HDD is used as the request information storage unit 222b. In the example of FIG. 8, a request management table 222c is provided in the request information storage unit 222b. The request management table 222c has columns for request ID, request type, and time stamp. Information arranged in the horizontal direction in the request management table 222c is associated with each other. A record including information associated with each other is one request information.

リクエストIDの欄には、アクセス要求のリクエストIDが設定される。要求種別の欄には、アクセス要求の要求種別が設定される。タイムスタンプの欄には、アクセス要求を受信した時刻を示すタイムスタンプが設定される。   The request ID of the access request is set in the request ID column. The request type of the access request is set in the request type column. A time stamp indicating the time when the access request is received is set in the time stamp column.

ストレージ負荷情報更新部222dは、アクセス要求に対する応答を検知するごとに、ストレージの負荷を示す情報を更新する。例えばストレージ負荷情報更新部222dは、応答に対応するアクセス要求のリクエストIDをディスクアクセス部221から取得する。すると、ストレージ負荷情報更新部222dは、リクエストIDに対応するリクエスト情報をリクエスト管理テーブル222cから抽出する。具体的には、ストレージ負荷情報更新部222dは、取得したリクエストIDと一致するリクエストIDを、リクエスト管理テーブル222cのリクエストIDの欄から検索する。そしてストレージ負荷情報更新部222dは、検索でヒットしたリクエストIDを含むリクエスト情報をリクエスト管理テーブル222cから抽出する。この際、ストレージ負荷情報更新部222dは、抽出したリクエスト情報をリクエスト管理テーブル222cから削除する。   Each time the storage load information update unit 222d detects a response to the access request, it updates information indicating the storage load. For example, the storage load information update unit 222d acquires the request ID of the access request corresponding to the response from the disk access unit 221. Then, the storage load information update unit 222d extracts request information corresponding to the request ID from the request management table 222c. Specifically, the storage load information updating unit 222d searches the request ID column of the request management table 222c for a request ID that matches the acquired request ID. Then, the storage load information update unit 222d extracts request information including the request ID hit in the search from the request management table 222c. At this time, the storage load information update unit 222d deletes the extracted request information from the request management table 222c.

ストレージ負荷情報更新部222dは、取得したリクエスト情報に含まれるタイムスタンプから現在の時刻までの経過時間を算出する。すなわち、ストレージ負荷情報更新部222dは、現在の時刻からタイムスタンプに示される時刻を減算した値を求める。そして、ストレージ負荷情報更新部222dは、実行時間記憶部222eに保持されている累積実行時間に、算出した経過時間を加算する。   The storage load information update unit 222d calculates the elapsed time from the time stamp included in the acquired request information to the current time. That is, the storage load information update unit 222d obtains a value obtained by subtracting the time indicated by the time stamp from the current time. Then, the storage load information update unit 222d adds the calculated elapsed time to the accumulated execution time held in the execution time storage unit 222e.

またストレージ負荷情報更新部222dは、リクエストに対する応答を検出するごとに、実行数記憶部222f内のアクセス要求の実行数をカウントアップする。例えば、アクセス要求の実行数を要求種別ごとに計数する場合、ストレージ負荷情報更新部222dはリクエスト管理テーブル222cから取得したリクエスト情報に基づいて、取得した応答に対応するアクセス要求の要求種別を判別する。要求種別がリードであれば、ストレージ負荷情報更新部222dは、実行数記憶部222f内のリード数情報の値をカウントアップする。また要求種別がライトであれば、ストレージ負荷情報更新部222dは、実行数記憶部222f内のライト数情報の値をカウントアップする。   The storage load information updating unit 222d counts up the number of executions of the access request in the execution number storage unit 222f every time a response to the request is detected. For example, when counting the number of executed access requests for each request type, the storage load information update unit 222d determines the request type of the access request corresponding to the acquired response based on the request information acquired from the request management table 222c. . If the request type is read, the storage load information update unit 222d counts up the value of the read number information in the execution number storage unit 222f. If the request type is write, the storage load information update unit 222d counts up the value of the write number information in the execution number storage unit 222f.

実行時間記憶部222eは、累積実行時間を記憶する。例えば、ディスクノード200のRAMの記憶領域の一部が、実行時間記憶部222eとして使用される。累積実行時間は、ストレージ装置210の負荷の計測開始時から現在までに、ストレージ装置210がアクセス要求に対する処理に要した時間の累積値である。   The execution time storage unit 222e stores the accumulated execution time. For example, a part of the RAM storage area of the disk node 200 is used as the execution time storage unit 222e. The accumulated execution time is an accumulated value of the time required for the storage apparatus 210 to process the access request from the start of the load measurement of the storage apparatus 210 to the present.

実行数記憶部222fは、アクセス要求の実行数を記憶する。例えば、ディスクノード200のRAMの記憶領域の一部が、実行数記憶部222fとして使用される。例えば、アクセス要求の実行数は、要求種別ごとに計数される。   The execution number storage unit 222f stores the execution number of the access request. For example, a part of the RAM storage area of the disk node 200 is used as the execution number storage unit 222f. For example, the number of executed access requests is counted for each request type.

負荷情報出力部222gは、所定時間ごとに累積実行時間とアクセス要求の実行数とを出力する。例えば、負荷情報出力部222gは、所定時ごとに累積実行時間を実行時間記憶部222eから取得する。そして、負荷情報出力部222gは、取得した累積実行時間を、ストレージ負荷記憶部223に格納する。また負荷情報出力部222gは、所定時間ごとにアクセス要求の実行数を実行数記憶部222fから取得する。アクセス要求の実行数が要求種別ごとに記憶されている場合、負荷情報出力部222gは、要求種別ごとのアクセス要求の実行数を取得する。そして、負荷情報出力部222gは、取得したアクセス要求の実行数を、ストレージ負荷記憶部223に格納する。   The load information output unit 222g outputs the accumulated execution time and the number of access requests executed every predetermined time. For example, the load information output unit 222g acquires the accumulated execution time from the execution time storage unit 222e every predetermined time. Then, the load information output unit 222g stores the acquired accumulated execution time in the storage load storage unit 223. In addition, the load information output unit 222g acquires the execution number of the access request from the execution number storage unit 222f every predetermined time. When the number of access request executions is stored for each request type, the load information output unit 222g acquires the number of access request executions for each request type. Then, the load information output unit 222g stores the acquired number of access requests in the storage load storage unit 223.

なお負荷情報出力部222gは、累積実行時間を実行時間記憶部222eから取得した場合、実行時間記憶部222e内の累積実行時間の値を0に初期化する。また、負荷情報出力部222gは、アクセス要求の実行数を実行数記憶部222fから取得した場合、実行数記憶部222f内のアクセス要求の実行数の値を0に初期化する。   Note that when the accumulated execution time is acquired from the execution time storage unit 222e, the load information output unit 222g initializes the value of the accumulated execution time in the execution time storage unit 222e to 0. Further, when the load information output unit 222g acquires the execution number of the access request from the execution number storage unit 222f, the load information output unit 222g initializes the value of the access request execution number in the execution number storage unit 222f to 0.

このような構成のストレージ負荷計測部222によって、所定時間ごとのストレージ装置210の負荷が計測される。
次に、ストレージ負荷計測部222による負荷の計測処理手順について説明する。
The storage load measuring unit 222 having such a configuration measures the load on the storage apparatus 210 every predetermined time.
Next, a load measurement processing procedure by the storage load measuring unit 222 will be described.

図9は、ストレージ装置の負荷計測処理の手順の一例を示すフローチャートである。以下、図9に示す処理をステップ番号に沿って説明する。
[ステップS11]開始時刻登録部222aは、ディスクアクセス部221から、受信したアクセス要求の内容が入力されたか否かを判断する。アクセス要求の内容が入力された場合、処理がステップS12に進められる。アクセス要求の内容が入力されていなければ、処理がステップS13に進められる。
FIG. 9 is a flowchart illustrating an example of a procedure of load measurement processing of the storage apparatus. Hereinafter, the process illustrated in FIG. 9 will be described in order of step number.
[Step S11] The start time registration unit 222a determines whether or not the content of the received access request is input from the disk access unit 221. If the content of the access request is input, the process proceeds to step S12. If the content of the access request is not input, the process proceeds to step S13.

[ステップS12]受信したアクセス要求の内容が入力された場合、開始時刻登録部222aは、入力されたアクセス要求の内容に応じたリクエスト情報をリクエスト管理テーブル222cに登録する。例えば開始時刻登録部222aは、アクセス要求のリクエストIDと要求種別にタイムスタンプを付与し、それらの情報をリクエスト情報としてリクエスト管理テーブル222cに登録する。これにより、アクセス要求に基づくストレージ装置210におけるアクセス処理の開始時刻が、リクエスト情報記憶部222b内で管理される。リクエスト情報の登録が完了すると、処理がステップS16に進められる。   [Step S12] When the content of the received access request is input, the start time registration unit 222a registers request information corresponding to the content of the input access request in the request management table 222c. For example, the start time registration unit 222a adds a time stamp to the request ID and request type of the access request, and registers the information as request information in the request management table 222c. Thereby, the start time of access processing in the storage apparatus 210 based on the access request is managed in the request information storage unit 222b. When registration of the request information is completed, the process proceeds to step S16.

[ステップS13]ストレージ負荷情報更新部222dは、ディスクアクセス部221から、受信したアクセス要求に対する応答の内容が入力されたか否かを判断する。アクセス要求に対する応答の内容が入力された場合、処理がステップS14に進められる。アクセス要求に対する応答の内容が入力されていなければ、処理がステップS16に進められる。   [Step S13] The storage load information update unit 222d determines whether or not the content of the response to the received access request has been input from the disk access unit 221. When the content of the response to the access request is input, the process proceeds to step S14. If the content of the response to the access request is not input, the process proceeds to step S16.

[ステップS14]ストレージ負荷情報更新部222dは、アクセス要求に対する応答の内容が入力された場合、累積実行時間を更新する。例えば、ストレージ負荷情報更新部222dは、ディスクアクセス部221から、応答に対応するアクセス要求のリクエストIDを取得する。次に、ストレージ負荷情報更新部222dは、リクエスト管理テーブル222cから、取得したリクエストIDと一致するリクエストIDを、リクエストIDの欄から検索する。次にストレージ負荷情報更新部222dは、検索でヒットしたリクエストIDを含むリクエスト情報をリクエスト管理テーブル222cから抽出する。この際、ストレージ負荷情報更新部222dは、抽出したリクエスト情報をリクエスト管理テーブル222cから削除する。次にストレージ負荷情報更新部222dは、取得したリクエスト情報に含まれるタイムスタンプから現在の時刻までの経過時間を算出する。そして、ストレージ負荷情報更新部222dは、実行時間記憶部222eに保持されている累積実行時間に、算出した経過時間を加算し、加算結果で実行時間記憶部222eの内容を更新する。   [Step S14] The storage load information updating unit 222d updates the accumulated execution time when the content of the response to the access request is input. For example, the storage load information update unit 222d acquires the request ID of the access request corresponding to the response from the disk access unit 221. Next, the storage load information update unit 222d searches the request management table 222c for a request ID that matches the acquired request ID from the request ID column. Next, the storage load information update unit 222d extracts from the request management table 222c the request information including the request ID hit in the search. At this time, the storage load information update unit 222d deletes the extracted request information from the request management table 222c. Next, the storage load information update unit 222d calculates the elapsed time from the time stamp included in the acquired request information to the current time. Then, the storage load information updating unit 222d adds the calculated elapsed time to the accumulated execution time held in the execution time storage unit 222e, and updates the contents of the execution time storage unit 222e with the addition result.

[ステップS15]ストレージ負荷情報更新部222dは、実行数記憶部222f内のアクセス要求の実行数をカウントアップする。例えば、ストレージ負荷情報更新部222dはリクエスト管理テーブル222cから取得したリクエスト情報に基づいて、取得した応答に対応するアクセス要求の要求種別を判別する。要求種別がリードであれば、ストレージ負荷情報更新部222dは、実行数記憶部222f内のリード数情報の値をカウントアップする。また要求種別がライトであれば、ストレージ負荷情報更新部222dは、実行数記憶部222f内のライト数情報の値をカウントアップする。   [Step S15] The storage load information update unit 222d counts up the number of executions of the access request in the execution number storage unit 222f. For example, the storage load information update unit 222d determines the request type of the access request corresponding to the acquired response based on the request information acquired from the request management table 222c. If the request type is read, the storage load information update unit 222d counts up the value of the read number information in the execution number storage unit 222f. If the request type is write, the storage load information update unit 222d counts up the value of the write number information in the execution number storage unit 222f.

[ステップS16]負荷情報出力部222gは、累積実行時間と実行数との前回の初期化から一定時間経過したか否かを判断する。一定時間は、例えば1分である。一定時間が経過した場合、処理がステップS17に進められる。一定時間が経過していない場合、処理がステップS20に進められる。   [Step S16] The load information output unit 222g determines whether or not a fixed time has elapsed since the previous initialization of the accumulated execution time and the number of executions. The certain time is, for example, 1 minute. If the certain time has elapsed, the process proceeds to step S17. If the certain time has not elapsed, the process proceeds to step S20.

[ステップS17]負荷情報出力部222gは、前回の初期化から一定時間が経過すると、平均応答時間を算出する。例えば、負荷情報出力部222gは、所定期間内に実行されたアクセス要求数を求める。実行数記憶部222f内に要求種別ごとの実行数が登録されていた場合、負荷情報出力部222gは各要求種別の実行数を合計する。そして、負荷情報出力部222gは、実行時間記憶部222eに設定されている累積実行時間の値を、一定時間内に実行されたアクセス要求数で除算する。除算結果が平均応答時間となる。負荷情報出力部222gは、算出した平均応答時間を、現在の時刻に関連付けてストレージ負荷記憶部223に格納する。   [Step S17] The load information output unit 222g calculates an average response time when a predetermined time has elapsed since the previous initialization. For example, the load information output unit 222g obtains the number of access requests executed within a predetermined period. When the number of executions for each request type is registered in the execution number storage unit 222f, the load information output unit 222g sums the number of executions of each request type. Then, the load information output unit 222g divides the value of the accumulated execution time set in the execution time storage unit 222e by the number of access requests executed within a certain time. The division result is the average response time. The load information output unit 222g stores the calculated average response time in the storage load storage unit 223 in association with the current time.

[ステップS18]負荷情報出力部222gは、一定時間内に実行されたアクセス要求数を出力する。例えば、実行数記憶部222f内において要求種別ごとにアクセス要求の実行数がカウントされている場合、負荷情報出力部222gは、要求種別ごとのアクセス要求の実行数を取得する。そして、負荷情報出力部222gは、取得したアクセス要求の実行数を、ストレージ負荷記憶部223に格納する。このとき負荷情報出力部222gは、直前のステップS17の処理で格納された平均応答時間と対応付けて、取得したアクセス要求の実行数を格納する。なお、アクセス要求の実行数を格納する場合、負荷情報出力部222gは、単位時間当たりの実行数に置き換えることもできる。例えば、単位時間を1秒とし、一分の間で実行されたアクセス要求の数を60で除算することで、1秒当たりのアクセス要求の実行数に置き換えることができる。   [Step S18] The load information output unit 222g outputs the number of access requests executed within a predetermined time. For example, when the number of access request executions is counted for each request type in the execution number storage unit 222f, the load information output unit 222g acquires the number of access request executions for each request type. Then, the load information output unit 222g stores the acquired number of access requests in the storage load storage unit 223. At this time, the load information output unit 222g stores the number of executions of the acquired access request in association with the average response time stored in the process of immediately preceding step S17. When storing the number of executions of the access request, the load information output unit 222g can be replaced with the number of executions per unit time. For example, the unit time can be 1 second, and the number of access requests executed in one minute can be divided by 60 to replace the number of access requests executed per second.

[ステップS19]負荷情報出力部222gは、累積実行時間と、アクセス要求の実行数とを初期化する。例えば、負荷情報出力部222gは、実行時間記憶部222eに格納されている累積実行時間の値を「0」に更新すると共に、実行数記憶部222fに格納されているアクセス要求の実行数の値を「0」に更新する。   [Step S19] The load information output unit 222g initializes the cumulative execution time and the number of executions of access requests. For example, the load information output unit 222g updates the value of the accumulated execution time stored in the execution time storage unit 222e to “0” and the value of the number of executions of the access request stored in the execution number storage unit 222f. Is updated to “0”.

[ステップS20]開始時刻登録部222a、ストレージ負荷情報更新部222d、および負荷情報出力部222gは、負荷計測の終了条件が満たされたか否かを判断する。例えば、管理者からディスクノード200に対して負荷計測を終了することを示す命令が入力された場合、負荷計測の終了条件が満たされたと判断される。また、予め定義された負荷計測期間が満了した場合に、負荷計測の終了条件が満たされたと判断するようにしてもよい。負荷計測の終了条件が満たされた場合、処理が終了する。負荷計測の終了条件が満たされていなければ、処理がステップS11に進められる。   [Step S20] The start time registration unit 222a, the storage load information update unit 222d, and the load information output unit 222g determine whether or not the load measurement end condition is satisfied. For example, when an instruction indicating the end of load measurement is input from the administrator to the disk node 200, it is determined that the load measurement end condition is satisfied. In addition, when a predefined load measurement period has expired, it may be determined that the load measurement end condition is satisfied. If the load measurement end condition is satisfied, the process ends. If the load measurement end condition is not satisfied, the process proceeds to step S11.

このような負荷計測を行うことで、ストレージ負荷記憶部223内にストレージ負荷情報が蓄積される。
図10は、ストレージ負荷記憶部のデータ構造例を示す図である。ストレージ負荷記憶部223には、ストレージ負荷計測部222で計測された所定期間ごとのストレージ負荷情報が格納されている。図10の例では、ストレージ負荷記憶部223内にストレージ負荷管理テーブル223aが設けられている。ストレージ負荷管理テーブル223aには、時刻、リードリクエスト数(read iops)、ライトリクエスト数(write iops)、および平均応答時間の欄が設けられている。ストレージ負荷管理テーブル223a内の横方向に並べられた情報が互いに関連付けられている。互いに関連付けられた情報を含むレコードが、1つのストレージ負荷情報となる。
Storage load information is accumulated in the storage load storage unit 223 by performing such load measurement.
FIG. 10 is a diagram illustrating an exemplary data structure of the storage load storage unit. The storage load storage unit 223 stores storage load information for each predetermined period measured by the storage load measurement unit 222. In the example of FIG. 10, a storage load management table 223 a is provided in the storage load storage unit 223. The storage load management table 223a includes columns for time, the number of read requests (read iops), the number of write requests (write iops), and the average response time. Information arranged in the horizontal direction in the storage load management table 223a is associated with each other. A record including information associated with each other becomes one storage load information.

時刻の欄には、ストレージ負荷情報を格納した時刻が設定される。リードリクエスト数の欄には、所定期間内に実行されたリードのアクセス要求の単位時間(図10の例では1秒)当たりの数が設定される。ライトリクエスト数の欄には、所定期間内に実行されたライトのアクセス要求の単位時間(図10の例では1秒)当たりの数が設定される。平均応答時間の欄には、所定期間内に実行されたアクセス要求に対する平均応答時間が設定される。図10の例では、平均応答時間の単位はミリ秒(ms)である。   The time at which the storage load information is stored is set in the time column. In the column of the number of read requests, the number per unit time (1 second in the example of FIG. 10) of read access requests executed within a predetermined period is set. In the column of the number of write requests, the number per unit time (1 second in the example of FIG. 10) of write access requests executed within a predetermined period is set. In the average response time column, an average response time for an access request executed within a predetermined period is set. In the example of FIG. 10, the unit of average response time is milliseconds (ms).

次に、論理ボリューム負荷計測部232による論理ボリューム910,920,930ごとの負荷の計測機能について、詳細に説明する。
図11は、論理ボリューム負荷計測部の内部機能を示すブロック図である。論理ボリューム負荷計測部232は、開始時刻登録部232a、論理ボリューム判別情報記憶部232b、リクエスト情報記憶部232c、負荷情報更新部232e、実行時間記憶部232f,232g,232h、および負荷情報出力部232iを有している。
Next, the load measuring function for each logical volume 910, 920, 930 by the logical volume load measuring unit 232 will be described in detail.
FIG. 11 is a block diagram showing the internal functions of the logical volume load measuring unit. The logical volume load measurement unit 232 includes a start time registration unit 232a, a logical volume determination information storage unit 232b, a request information storage unit 232c, a load information update unit 232e, an execution time storage units 232f, 232g, and 232h, and a load information output unit 232i. have.

開始時刻登録部232aは、アクセスノード600から受信したアクセス要求の内容を取得する。例えば、開始時刻登録部232aは、論理ボリュームアクセス部231からアクセス要求のリクエストID、およびアクセス対象のスライスを示すスライスIDを取得する。すると開始時刻登録部232aは、論理ボリューム判別情報記憶部232bを参照し、アクセス対象のスライスを示すスライスIDに基づいて、アクセスが発生した論理ボリュームの論理ボリュームIDを判定する。   The start time registration unit 232a acquires the content of the access request received from the access node 600. For example, the start time registration unit 232a acquires the request ID of the access request and the slice ID indicating the access target slice from the logical volume access unit 231. Then, the start time registration unit 232a refers to the logical volume determination information storage unit 232b, and determines the logical volume ID of the logical volume that has been accessed based on the slice ID indicating the slice to be accessed.

ここで論理ボリューム判別情報記憶部232bは、各スライスが割り当てられているセグメントが属する論理ボリュームを記憶している。例えば、ディスクノード200のRAMやHDDの記憶領域の一部が論理ボリューム判別情報記憶部232bとして使用される。   Here, the logical volume determination information storage unit 232b stores the logical volume to which the segment to which each slice is assigned belongs. For example, a part of the RAM or HDD storage area of the disk node 200 is used as the logical volume determination information storage unit 232b.

図12は、論理ボリューム判別情報記憶部のデータ構造例を示す図である。図12の例では、論理ボリューム判別情報記憶部232bには、ID変換テーブル232jが格納されている。ID変換テーブル232jには、スライスID、論理ボリュームID、およびセグメントIDの欄が設けられている。ID変換テーブル232j内の横方向に並べられた情報が互いに関連付けられている。   FIG. 12 is a diagram illustrating an example of the data structure of the logical volume determination information storage unit. In the example of FIG. 12, the logical volume discrimination information storage unit 232b stores an ID conversion table 232j. The ID conversion table 232j has columns for slice ID, logical volume ID, and segment ID. Information arranged in the horizontal direction in the ID conversion table 232j is associated with each other.

スライスIDの欄には、ストレージ装置210内のスライス211〜216のスライスIDが設定される。論理ボリュームIDの欄には、各スライスが割り当てられたセグメントが属する論理ボリュームの論理ボリュームIDが設定される。セグメントIDの欄には、各スライスが割り当てられたセグメントのセグメントIDが設定される。   In the slice ID column, slice IDs of slices 211 to 216 in the storage apparatus 210 are set. In the column of logical volume ID, the logical volume ID of the logical volume to which the segment to which each slice is assigned belongs is set. In the segment ID column, the segment ID of the segment to which each slice is assigned is set.

このようなID変換テーブル232jは、例えばスライスがスライスに割り当てられるごとに、論理ボリュームアクセス部231によって更新される。すなわち、セグメントへのスライスの割り当ては、コントロールノード500で決定され、ディスクノード200に通知される。論理ボリュームアクセス部231は、通知された割り当て関係に従ってID変換テーブル232jの内容を更新する。   Such an ID conversion table 232j is updated by the logical volume access unit 231 each time a slice is assigned to a slice, for example. That is, the allocation of slices to segments is determined by the control node 500 and notified to the disk node 200. The logical volume access unit 231 updates the contents of the ID conversion table 232j according to the notified allocation relationship.

開始時刻登録部232aは、図12に示したようなID変換テーブル232jに基づいて、アクセス要求によるアクセス対象のスライスが割り当てられている論理ボリュームの論理ボリュームIDを判定できる。   The start time registration unit 232a can determine the logical volume ID of the logical volume to which the slice to be accessed by the access request is assigned based on the ID conversion table 232j as shown in FIG.

以下、図11の説明に戻る。
論理ボリュームIDを判定した開始時刻登録部232aは、リクエストIDと論理ボリュームIDに現在の時刻を示すタイムスタンプを付与し、リクエスト情報を生成する。そして開始時刻登録部232aは、生成したリクエスト情報をリクエスト情報記憶部232cに格納する。
Returning to the description of FIG.
The start time registration unit 232a that has determined the logical volume ID adds a time stamp indicating the current time to the request ID and the logical volume ID, and generates request information. Then, the start time registration unit 232a stores the generated request information in the request information storage unit 232c.

リクエスト情報記憶部232cは、リクエスト情報を記憶する。例えば、RAMやHDDの記憶領域の一部がリクエスト情報記憶部232cとして使用される。図11の例では、リクエスト情報記憶部232c内にリクエスト管理テーブル232dが設けられている。リクエスト管理テーブル232dには、リクエストID、論理ボリュームID(LVOL ID)、およびタイムスタンプの欄が設けられている。リクエスト管理テーブル232d内の横方向に並べられた情報が互いに関連付けられている。互いに関連付けられた情報を含むレコードが、1つのリクエスト情報となる。   The request information storage unit 232c stores request information. For example, a part of the storage area of the RAM or HDD is used as the request information storage unit 232c. In the example of FIG. 11, a request management table 232d is provided in the request information storage unit 232c. The request management table 232d has columns for request ID, logical volume ID (LVOL ID), and time stamp. Information arranged in the horizontal direction in the request management table 232d is associated with each other. A record including information associated with each other is one request information.

リクエストIDの欄には、アクセス要求のリクエストIDが設定される。論理ボリュームIDの欄には、アクセス要求の対象となるデータを含むスライスが割り当てられている論理ボリュームの論理ボリュームIDが設定される。タイムスタンプの欄には、アクセス要求を受信した時刻を示すタイムスタンプが設定される。   The request ID of the access request is set in the request ID column. In the logical volume ID column, the logical volume ID of the logical volume to which the slice including the data to be accessed is assigned is set. A time stamp indicating the time when the access request is received is set in the time stamp column.

負荷情報更新部232eは、アクセス要求に対する応答を検知するごとに、論理ボリュームごとのアクセスがストレージ装置に与えている負荷を示す情報を更新する。例えば負荷情報更新部232eは、応答に対応するアクセス要求のリクエストIDを論理ボリュームアクセス部231から取得する。すると、負荷情報更新部232eは、リクエストIDに対応するリクエスト情報をリクエスト管理テーブル232dから抽出する。具体的には、負荷情報更新部232eは、取得したリクエストIDと一致するリクエストIDを、リクエスト管理テーブル232dのリクエストIDの欄から検索する。そして負荷情報更新部232eは、検索でヒットしたリクエストIDを含むリクエスト情報をリクエスト管理テーブル232dから抽出する。この際、負荷情報更新部232eは、抽出したリクエスト情報をリクエスト管理テーブル232dから削除する。   Each time the load information update unit 232e detects a response to the access request, the load information update unit 232e updates information indicating the load applied to the storage apparatus by access for each logical volume. For example, the load information update unit 232e acquires the request ID of the access request corresponding to the response from the logical volume access unit 231. Then, the load information update unit 232e extracts request information corresponding to the request ID from the request management table 232d. Specifically, the load information update unit 232e searches for a request ID that matches the acquired request ID from the request ID column of the request management table 232d. Then, the load information update unit 232e extracts request information including the request ID hit in the search from the request management table 232d. At this time, the load information update unit 232e deletes the extracted request information from the request management table 232d.

負荷情報更新部232eは、取得したリクエスト情報に含まれるタイムスタンプから現在の時刻までの経過時間を算出する。すなわち、負荷情報更新部232eは、現在の時刻からタイムスタンプに示される時刻を減算した値を求める。そして、負荷情報更新部232eは、取得したリクエスト情報に示される論理ボリュームIDに対応する実行時間記憶部に保持されている累積実行時間に、算出した経過時間を加算する。   The load information update unit 232e calculates the elapsed time from the time stamp included in the acquired request information to the current time. That is, the load information update unit 232e obtains a value obtained by subtracting the time indicated by the time stamp from the current time. Then, the load information update unit 232e adds the calculated elapsed time to the accumulated execution time held in the execution time storage unit corresponding to the logical volume ID indicated in the acquired request information.

実行時間記憶部232fは、論理ボリュームID“LVOL0”に対応する累積実行時間を記憶する。例えば、RAMやHDDの記憶領域の一部が実行時間記憶部232fとして使用される。   The execution time storage unit 232f stores the accumulated execution time corresponding to the logical volume ID “LVOL0”. For example, a part of the storage area of the RAM or HDD is used as the execution time storage unit 232f.

実行時間記憶部232gは、論理ボリュームID“LVOL1”に対応する累積実行時間を記憶する。例えば、RAMやHDDの記憶領域の一部が実行時間記憶部232gとして使用される。   The execution time storage unit 232g stores the accumulated execution time corresponding to the logical volume ID “LVOL1”. For example, a part of the storage area of the RAM or HDD is used as the execution time storage unit 232g.

実行時間記憶部232hは、論理ボリュームID“LVOL2”に対応する累積実行時間を記憶する。例えば、RAMやHDDの記憶領域の一部が実行時間記憶部232hとして使用される。   The execution time storage unit 232h stores the accumulated execution time corresponding to the logical volume ID “LVOL2”. For example, a part of the storage area of the RAM or HDD is used as the execution time storage unit 232h.

負荷情報出力部232iは、所定時間ごとに累積実行時間を出力する。例えば、負荷情報出力部232iは、所定時間ごとに累積実行時間を実行時間記憶部232f,232g,232hから取得する。そして、負荷情報出力部232iは、取得した累積実行時間を、論理ボリューム負荷記憶部233に格納する。   The load information output unit 232i outputs the accumulated execution time every predetermined time. For example, the load information output unit 232i acquires the accumulated execution time from the execution time storage units 232f, 232g, and 232h at predetermined time intervals. Then, the load information output unit 232 i stores the acquired accumulated execution time in the logical volume load storage unit 233.

なお負荷情報出力部232iは、累積実行時間を実行時間記憶部232f,232g,232hから取得した場合、実行時間記憶部232f,232g,232h内の累積実行時間の値を0に初期化する。   When the load information output unit 232i acquires the accumulated execution time from the execution time storage units 232f, 232g, and 232h, the load information output unit 232i initializes the value of the accumulated execution time in the execution time storage units 232f, 232g, and 232h to 0.

このような構成の論理ボリューム負荷計測部232によって、所定時間ごとのストレージ装置210の負荷が計測される。
次に、論理ボリューム負荷計測部232による負荷の計測処理手順について説明する。
The logical volume load measuring unit 232 having such a configuration measures the load on the storage apparatus 210 every predetermined time.
Next, a load measurement process procedure by the logical volume load measurement unit 232 will be described.

図13は、論理ボリュームごとのストレージ装置に与える負荷の計測処理の手順の一例を示すフローチャートである。以下、図13に示す処理をステップ番号に沿って説明する。   FIG. 13 is a flowchart illustrating an example of a procedure for measuring a load applied to the storage apparatus for each logical volume. In the following, the process illustrated in FIG. 13 will be described in order of step number.

[ステップS31]開始時刻登録部232aは、論理ボリュームアクセス部231から、受信したアクセス要求の内容が入力されたか否かを判断する。アクセス要求の内容が入力された場合、処理がステップS32に進められる。アクセス要求の内容が入力されていなければ、処理がステップS33に進められる。   [Step S31] The start time registration unit 232a determines whether the content of the received access request is input from the logical volume access unit 231. When the content of the access request is input, the process proceeds to step S32. If the content of the access request has not been input, the process proceeds to step S33.

[ステップS32]受信したアクセス要求の内容が入力された場合、開始時刻登録部232aは、入力されたアクセス要求の内容に応じたリクエスト情報をリクエスト管理テーブル232dに登録する。例えば開始時刻登録部232aは、論理ボリューム判別情報記憶部232bを参照し、アクセス要求のアクセス先のスライスのスライスIDに対応する論理ボリュームIDを判定する。そして、開始時刻登録部232aは、アクセス要求のリクエストIDとアクセス先のスライスに対応する論理ボリュームIDとの組にタイムスタンプを付与し、それらの情報をリクエスト情報としてリクエスト管理テーブル232dに登録する。これにより、アクセス要求に基づくストレージ装置210におけるアクセス処理の開始時刻が、リクエスト情報記憶部222b内で管理される。リクエスト情報の登録が完了すると、処理がステップS35に進められる。   [Step S32] When the content of the received access request is input, the start time registration unit 232a registers request information corresponding to the content of the input access request in the request management table 232d. For example, the start time registration unit 232a refers to the logical volume determination information storage unit 232b, and determines the logical volume ID corresponding to the slice ID of the access destination slice of the access request. Then, the start time registration unit 232a assigns a time stamp to the combination of the request ID of the access request and the logical volume ID corresponding to the access destination slice, and registers the information as request information in the request management table 232d. Thereby, the start time of access processing in the storage apparatus 210 based on the access request is managed in the request information storage unit 222b. When registration of the request information is completed, the process proceeds to step S35.

[ステップS33]負荷情報更新部232eは、論理ボリュームアクセス部231から、受信したアクセス要求に対する応答の内容が入力されたか否かを判断する。アクセス要求に対する応答の内容が入力された場合、処理がステップS34に進められる。アクセス要求に対する応答の内容が入力されていなければ、処理がステップS35に進められる。   [Step S33] The load information update unit 232e determines whether or not the content of the response to the received access request has been input from the logical volume access unit 231. When the content of the response to the access request is input, the process proceeds to step S34. If the content of the response to the access request is not input, the process proceeds to step S35.

[ステップS34]負荷情報更新部232eは、アクセス要求に対する応答の内容が入力された場合、累積実行時間を更新する。例えば、負荷情報更新部232eは、論理ボリュームアクセス部231から、応答に対応するアクセス要求のリクエストIDを取得する。次に、負荷情報更新部232eは、リクエスト管理テーブル232dから、取得したリクエストIDと一致するリクエストIDを、リクエストIDの欄から検索する。次に負荷情報更新部232eは、検索でヒットしたリクエストIDを含むリクエスト情報をリクエスト管理テーブル232dから抽出する。この際、負荷情報更新部232eは、抽出したリクエスト情報をリクエスト管理テーブル232dから削除する。次に負荷情報更新部232eは、取得したリクエスト情報に含まれるタイムスタンプから現在の時刻までの経過時間を算出する。また負荷情報更新部232eは、複数の実行時間記憶部232f,232g,232hの中から、リクエスト管理テーブル232dから抽出したリクエスト情報に含まれる論理ボリュームIDに対応する実行時間記憶部を特定する。そして、負荷情報更新部232eは、特定した実行時間記憶部に保持されている累積実行時間に、算出した経過時間を加算し、加算結果で、特定した実行時間記憶部の内容を更新する。   [Step S34] The load information update unit 232e updates the accumulated execution time when the content of the response to the access request is input. For example, the load information update unit 232e acquires the request ID of the access request corresponding to the response from the logical volume access unit 231. Next, the load information update unit 232e searches the request management table 232d for a request ID that matches the acquired request ID from the request ID column. Next, the load information update unit 232e extracts request information including the request ID hit in the search from the request management table 232d. At this time, the load information update unit 232e deletes the extracted request information from the request management table 232d. Next, the load information update unit 232e calculates the elapsed time from the time stamp included in the acquired request information to the current time. In addition, the load information update unit 232e specifies an execution time storage unit corresponding to the logical volume ID included in the request information extracted from the request management table 232d from among the plurality of execution time storage units 232f, 232g, and 232h. Then, the load information updating unit 232e adds the calculated elapsed time to the accumulated execution time held in the specified execution time storage unit, and updates the content of the specified execution time storage unit with the addition result.

[ステップS35]負荷情報出力部232iは、累積実行時間の前回の初期化から一定時間経過したか否かを判断する。一定時間は、例えば1分である。一定時間が経過した場合、処理がステップS36に進められる。一定時間が経過していない場合、処理がステップS38に進められる。   [Step S35] The load information output unit 232i determines whether or not a fixed time has elapsed since the previous initialization of the accumulated execution time. The certain time is, for example, 1 minute. If the certain time has elapsed, the process proceeds to step S36. If the certain time has not elapsed, the process proceeds to step S38.

[ステップS36]負荷情報出力部232iは、前回の初期化から一定時間が経過すると、論理ボリュームごとの累積実行時間を格納する。例えば、負荷情報出力部232iは、各実行時間記憶部232f,232g,232hに格納されている累積実行時間の値を取得する。そして、負荷情報出力部232iは、取得した累積実行時間の値を現在の時刻に関連付けて、論理ボリューム負荷記憶部233に格納する。   [Step S36] The load information output unit 232i stores the accumulated execution time for each logical volume when a predetermined time has elapsed since the previous initialization. For example, the load information output unit 232i acquires the value of the accumulated execution time stored in each execution time storage unit 232f, 232g, 232h. Then, the load information output unit 232i associates the acquired cumulative execution time value with the current time and stores the value in the logical volume load storage unit 233.

[ステップS37]負荷情報出力部232iは、累積実行時間を初期化する。例えば、負荷情報出力部232iは、実行時間記憶部232f,232g,232hに格納されている累積実行時間の値を「0」に更新する。   [Step S37] The load information output unit 232i initializes the cumulative execution time. For example, the load information output unit 232i updates the value of the accumulated execution time stored in the execution time storage units 232f, 232g, and 232h to “0”.

[ステップS38]開始時刻登録部232a、負荷情報更新部232e、および負荷情報出力部232iは、負荷計測の終了条件が満たされたか否かを判断する。例えば、管理者からディスクノード200に対して負荷計測を終了することを示す命令が入力された場合、負荷計測の終了条件が満たされたと判断される。また、予め定義された負荷計測期間が満了した場合に、負荷計測の終了条件が満たされたと判断するようにしてもよい。負荷計測の終了条件が満たされた場合、処理が終了する。負荷計測の終了条件が満たされていなければ、処理がステップS31に進められる。   [Step S38] The start time registration unit 232a, the load information update unit 232e, and the load information output unit 232i determine whether or not the load measurement end condition is satisfied. For example, when an instruction indicating the end of load measurement is input from the administrator to the disk node 200, it is determined that the load measurement end condition is satisfied. In addition, when a predefined load measurement period has expired, it may be determined that the load measurement end condition is satisfied. If the load measurement end condition is satisfied, the process ends. If the load measurement end condition is not satisfied, the process proceeds to step S31.

このような負荷計測を行うことで、論理ボリューム負荷記憶部233内に論理ボリューム負荷情報が蓄積される。
図14は、論理ボリューム負荷記憶部のデータ構造例を示す図である。論理ボリューム負荷記憶部233には、論理ボリューム負荷計測部232で計測された所定期間ごとの論理ボリュームごとの累積実行時間が格納されている。図14の例では、論理ボリューム負荷記憶部233内に論理ボリューム負荷管理テーブル233aが設けられている。論理ボリューム負荷管理テーブル233aには、時刻、LVOL0の累積実行時間、LVOL1の累積実行時間、およびLVOL2の累積実行時間の欄が設けられている。論理ボリューム負荷管理テーブル233a内の横方向に並べられた情報が互いに関連付けられている。互いに関連付けられた情報を含むレコードが、所定の期間の論理ボリューム負荷情報となる。
By performing such load measurement, logical volume load information is accumulated in the logical volume load storage unit 233.
FIG. 14 is a diagram illustrating an example of the data structure of the logical volume load storage unit. The logical volume load storage unit 233 stores the accumulated execution time for each logical volume for each predetermined period measured by the logical volume load measurement unit 232. In the example of FIG. 14, a logical volume load management table 233 a is provided in the logical volume load storage unit 233. The logical volume load management table 233a has columns of time, LVOL0 accumulated execution time, LVOL1 accumulated execution time, and LVOL2 accumulated execution time. Information arranged in the horizontal direction in the logical volume load management table 233a is associated with each other. A record including information associated with each other becomes logical volume load information for a predetermined period.

時刻の欄には、論理ボリュームの累積実行時間を格納した時刻が設定される。LVOL0の累積実行時間の欄には、論理ボリュームIDが“LVOL0”である論理ボリューム910に割り当てられた記憶領域へのアクセス要求に基づく所定期間内のアクセスの累積実行時間が設定される。LVOL1の累積実行時間の欄には、論理ボリュームIDが“LVOL1”である論理ボリューム920に割り当てられた記憶領域へのアクセス要求に基づく所定期間内のアクセスの累積実行時間が設定される。LVOL2の累積実行時間の欄には、論理ボリュームIDが“LVOL2”である論理ボリューム930に割り当てられた記憶領域へのアクセス要求に基づく所定期間内のアクセスの累積実行時間が設定される。累積実行時間の単位は、例えばミリ秒(ms)である。   In the time column, the time at which the accumulated execution time of the logical volume is stored is set. In the column of the cumulative execution time of LVOL0, the cumulative execution time of access within a predetermined period based on an access request to the storage area allocated to the logical volume 910 whose logical volume ID is “LVOL0” is set. In the column of the accumulated execution time of LVOL1, the accumulated execution time of access within a predetermined period based on the access request to the storage area allocated to the logical volume 920 whose logical volume ID is “LVOL1” is set. In the column for the cumulative execution time of LVOL2, the cumulative execution time of access within a predetermined period based on the access request to the storage area allocated to the logical volume 930 whose logical volume ID is “LVOL2” is set. The unit of the accumulated execution time is, for example, milliseconds (ms).

以上のようにしてディスクノード200でストレージ負荷記憶部223と論理ボリューム負荷記憶部233に記憶された負荷情報(ストレージ負荷情報と論理ボリューム負荷情報)が、負荷情報送信部240によって、管理ノード100に送信される。例えば、管理ノード100に対する負荷解析を指示する操作入力に応答して負荷情報取得部110が、負荷情報取得要求を、ディスクノード200に送信する。負荷情報送信部240は、負荷情報取得要求に応答して、負荷情報を管理ノード100に送信する。   The load information (storage load information and logical volume load information) stored in the storage load storage unit 223 and the logical volume load storage unit 233 in the disk node 200 as described above is transferred to the management node 100 by the load information transmission unit 240. Sent. For example, in response to an operation input that instructs load analysis to the management node 100, the load information acquisition unit 110 transmits a load information acquisition request to the disk node 200. The load information transmission unit 240 transmits the load information to the management node 100 in response to the load information acquisition request.

管理ノード100の負荷情報取得部110は、取得した負荷情報を負荷情報記憶部120に格納する。負荷情報取得部110は、例えば、すべての数値の時間の単位を秒に揃えて各値を格納する。すなわち、ミリ秒の単位で表された値は、1000分の1に変換して負荷情報記憶部120に格納される。   The load information acquisition unit 110 of the management node 100 stores the acquired load information in the load information storage unit 120. For example, the load information acquisition unit 110 stores each value by aligning the unit of time of all numerical values to seconds. That is, the value expressed in milliseconds is converted into 1/1000 and stored in the load information storage unit 120.

図15は、負荷情報記憶部のデータ構造例を示す図である。負荷情報記憶部120には、ストレージ装置ごとの負荷情報管理テーブル121,122,123が格納されている。例えば、負荷情報管理テーブル121は、ディスクノード200に対応する。すなわち、負荷情報管理テーブル121には、ディスクノード200から取得した負荷情報が登録されている。   FIG. 15 is a diagram illustrating an example of a data structure of the load information storage unit. The load information storage unit 120 stores load information management tables 121, 122, and 123 for each storage device. For example, the load information management table 121 corresponds to the disk node 200. In other words, the load information acquired from the disk node 200 is registered in the load information management table 121.

負荷情報管理テーブル121には、時刻、平均応答時間、リードリクエスト数(read iops)、ライトリクエスト数(write iops)、LVOL0の累積実行時間、LVOL1の累積実行時間、およびLVOL2の累積実行時間の欄が設けられている。負荷情報管理テーブル121内の横方向に並べられた情報が互いに関連付けられている。互いに関連付けられた情報を含むレコードが、所定の期間の負荷情報となる。各欄には、図10および図14に示したストレージ負荷記憶部223または論理ボリューム負荷記憶部233内の同名の欄と同種の情報が設定される。なお、リードリクエスト数(read iops)、ライトリクエスト数(write iops)との欄は、上位のアクセス要求実行数の欄にまとめられている。負荷情報管理テーブル122,123のデータ構造も、負荷情報管理テーブル121と同様である。   The load information management table 121 includes columns of time, average response time, number of read requests (read iops), number of write requests (write iops), accumulated execution time of LVOL0, accumulated execution time of LVOL1, and accumulated execution time of LVOL2. Is provided. Information arranged in the horizontal direction in the load information management table 121 is associated with each other. A record including information associated with each other becomes load information for a predetermined period. In each column, the same type of information as the column of the same name in the storage load storage unit 223 or the logical volume load storage unit 233 shown in FIGS. 10 and 14 is set. The columns of the number of read requests (read iops) and the number of write requests (write iops) are summarized in the column of the upper access request execution number. The data structure of the load information management tables 122 and 123 is the same as that of the load information management table 121.

管理ノード100の負荷解析部130は、図15に示したような負荷情報管理テーブル121,122,123を参照して、各ディスクノード200,300,400の負荷を解析する。その際、負荷解析部130は、平均応答時間(秒単位)を変数「A」とする。負荷解析部130は、リードリクエスト数(read iops)とライトリクエスト数(write iops)との合計を、アクセス要求実行数を示す変数「B」とする。負荷解析部130は、LVOL0の累積実行時間を変数「C」とする。負荷解析部130は、LVOL1の累積実行時間を変数「D」とする。負荷解析部130は、LVOL2の累積実行時間を変数「E」とする。   The load analysis unit 130 of the management node 100 analyzes the load of each disk node 200, 300, 400 with reference to the load information management tables 121, 122, 123 as shown in FIG. At that time, the load analysis unit 130 sets the average response time (in seconds) as the variable “A”. The load analysis unit 130 sets the total of the number of read requests (read iops) and the number of write requests (write iops) as a variable “B” indicating the number of access request executions. The load analysis unit 130 sets the accumulated execution time of LVOL0 as a variable “C”. The load analysis unit 130 sets the accumulated execution time of LVOL1 as a variable “D”. The load analysis unit 130 sets the accumulated execution time of LVOL2 as a variable “E”.

以下、負荷解析部130が行う解析処理の手順について説明する。
図16は、負荷解析処理の手順を示すフローチャートである。以下、図16に示す処理をステップ番号に沿って説明する。なお、以下の処理は、例えば、管理からの負荷解析を示す操作入力が行われ、各ディスクノード200,300,400からの負荷情報の取得が完了したときに実行される。
Hereinafter, the procedure of the analysis process performed by the load analysis unit 130 will be described.
FIG. 16 is a flowchart showing the procedure of the load analysis process. In the following, the process illustrated in FIG. 16 will be described in order of step number. The following processing is executed, for example, when an operation input indicating load analysis from management is performed and acquisition of load information from each disk node 200, 300, 400 is completed.

[ステップS41]負荷解析部130は、解析処理を実行していない解析対象とするストレージ装置を選択する。
[ステップS42]負荷解析部130は、選択したストレージ装置に対応する負荷情報管理テーブルを負荷情報記憶部120から取得する。そして、負荷解析部130は、取得した負荷情報管理テーブルの時刻の欄から、時刻を1つ選択する。例えば、負荷解析部130は、時刻の欄の上位から順に時刻を選択する。
[Step S41] The load analysis unit 130 selects a storage device to be analyzed that has not been analyzed.
[Step S42] The load analysis unit 130 acquires a load information management table corresponding to the selected storage device from the load information storage unit 120. Then, the load analysis unit 130 selects one time from the time column of the acquired load information management table. For example, the load analysis unit 130 selects times in order from the top of the time column.

[ステップS43]負荷解析部130は、選択したディスク全体の負荷指標を算出する。例えば負荷解析部130は、平均応答時間を示す変数「A」の逆数を取ることで、選択した時刻までの所定期間(例えば1分)における最大負荷(iops)とする。すなわち変数「A」の逆数(1/A)は、選択された時刻より前の所定期間の間の平均応答時間で1つのアクセス要求を処理できる場合に、単位時間(例えば1秒)当たりに処理可能なアクセス要求数を示している。平均応答時間が「0.005(秒)」であれば、最大負荷は「200」となる。ここで、平均応答時間を示す変数「A」の逆数で表される最大負荷を変数「α」とする。最大負荷(α)を示す値は、最大負荷記憶部131に一時的に格納される。   [Step S43] The load analysis unit 130 calculates a load index for the entire selected disk. For example, the load analysis unit 130 obtains the maximum load (iops) in a predetermined period (for example, 1 minute) until the selected time by taking the reciprocal of the variable “A” indicating the average response time. That is, the reciprocal (1 / A) of the variable “A” is processed per unit time (for example, 1 second) when one access request can be processed with an average response time during a predetermined period before the selected time. The number of possible access requests is shown. If the average response time is “0.005 (seconds)”, the maximum load is “200”. Here, the maximum load represented by the reciprocal of the variable “A” indicating the average response time is defined as a variable “α”. A value indicating the maximum load (α) is temporarily stored in the maximum load storage unit 131.

そして、最大負荷(α)と現在のアクセス要求実行数(B)の比をデバイス全体の負荷指標(F)とすることができる。例えば、ディスク全体の負荷指標は、選択した時刻を含むレコード内の各情報を用いて、以下の式で計算される。
デバイス全体の負荷指標(F)=(B×100)/α(%) ・・・(1)
[ステップS44]負荷解析部130は、論理ボリューム910に割り当てられた記憶領域へのアクセス要求が、デバイス全体の負荷に与える影響度を示す負荷指標(G)を算出する。例えば、負荷指標(G)は以下の式で計算される。
LVOL0の負荷指標(G)=F×(C/C+D+E) ・・・(2)
式(2)は、全体の負荷指標(F)を、各論理ボリュームの処理時間の比に応じて比例配分した場合の、LVOL0に対応する論理ボリュームに配分される値を示している。
The ratio between the maximum load (α) and the current access request execution number (B) can be used as the load index (F) of the entire device. For example, the load index of the entire disk is calculated by the following formula using each information in the record including the selected time.
Load index of entire device (F) = (B × 100) / α (%) (1)
[Step S44] The load analysis unit 130 calculates a load index (G) indicating the degree of influence of an access request to the storage area allocated to the logical volume 910 on the load on the entire device. For example, the load index (G) is calculated by the following formula.
LVOL0 load index (G) = F × (C / C + D + E) (2)
Expression (2) shows a value distributed to the logical volume corresponding to LVOL0 when the entire load index (F) is proportionally distributed according to the ratio of the processing time of each logical volume.

[ステップS45]負荷解析部130は、論理ボリューム920に割り当てられた記憶領域へのアクセス要求が、デバイス全体の負荷に与える影響度を示す負荷指標(H)を算出する。例えば、負荷指標(H)は以下の式で計算される。
LVOL1の負荷指標(H)=F×(D/C+D+E) ・・・(3)
式(3)は、全体の負荷指標(F)を、各論理ボリュームの処理時間の比に応じて比例配分した場合の、LVOL1に対応する論理ボリュームに配分される値を示している。
[Step S45] The load analysis unit 130 calculates a load index (H) indicating the degree of influence that an access request to the storage area allocated to the logical volume 920 has on the load on the entire device. For example, the load index (H) is calculated by the following formula.
LVOL1 load index (H) = F × (D / C + D + E) (3)
Expression (3) shows a value distributed to the logical volume corresponding to LVOL1 when the entire load index (F) is proportionally distributed according to the ratio of the processing time of each logical volume.

[ステップS46]負荷解析部130は、論理ボリューム930に割り当てられた記憶領域へのアクセス要求が、デバイス全体の負荷に与える影響度を示す負荷指標(I)を算出する。例えば、負荷指標(I)は以下の式で計算される。
LVOL2の負荷指標(I)=F×(E/C+D+E) ・・・(4)
式(4)は、全体の負荷指標(F)を、各論理ボリュームの処理時間の比に応じて比例配分した場合の、LVOL2に対応する論理ボリュームに配分される値を示している。
[Step S46] The load analysis unit 130 calculates a load index (I) indicating the degree of influence that an access request to the storage area allocated to the logical volume 930 has on the load on the entire device. For example, the load index (I) is calculated by the following formula.
LVOL2 load index (I) = F × (E / C + D + E) (4)
Expression (4) shows a value distributed to the logical volume corresponding to LVOL2 when the entire load index (F) is proportionally distributed according to the ratio of the processing time of each logical volume.

[ステップS47]負荷解析部130は、解析結果を解析結果記憶部140に格納する。
[ステップS48]負荷解析部130は、選択したストレージ装置に対応する負荷情報管理テーブル内のすべての時刻について解析したか否かを判断する。未解析の時刻があれば、処理がステップS42に進められる。すべての時刻の解析が完了したら、選択したストレージ装置の負荷解析が完了し、処理がステップS49に進められる。
[Step S47] The load analysis unit 130 stores the analysis result in the analysis result storage unit 140.
[Step S48] The load analysis unit 130 determines whether or not all the times in the load information management table corresponding to the selected storage device have been analyzed. If there is an unanalyzed time, the process proceeds to step S42. When the analysis of all times is completed, the load analysis of the selected storage device is completed, and the process proceeds to step S49.

[ステップS49]負荷解析部130は、すべてのストレージ装置の負荷を解析したか否かを判断する。未解析のストレージ装置があれば、処理がステップS41に進められる。すべてのストレージ装置の解析が完了していれば、解析処理が終了する。   [Step S49] The load analysis unit 130 determines whether or not the loads of all storage apparatuses have been analyzed. If there is an unanalyzed storage device, the process proceeds to step S41. If the analysis of all storage apparatuses is completed, the analysis process ends.

このような解析処理によって、解析結果記憶部140には、ストレージ装置ごとの解析結果が格納される。
図17は、解析結果記憶部のデータ構造例を示す図である。解析結果記憶部140には、ストレージ装置210,310,410それぞれに対応する解析結果管理テーブル141,142,143が格納されている。例えば、解析結果管理テーブル141には、ストレージ装置210の負荷の解析結果が格納されている。
By such analysis processing, the analysis result storage unit 140 stores the analysis result for each storage device.
FIG. 17 is a diagram illustrating an example of the data structure of the analysis result storage unit. The analysis result storage unit 140 stores analysis result management tables 141, 142, and 143 corresponding to the storage devices 210, 310, and 410, respectively. For example, the analysis result management table 141 stores the analysis result of the load of the storage apparatus 210.

解析結果管理テーブル141には、時刻、ディスク全体の負荷指標、LVOL0の負荷指標、LVOL1の負荷指標、およびLVOL2の負荷指標の欄が設けられている。
時刻の欄には、解析対象となった期間の終了時刻が設定される。すなわち、時刻の欄に示された時刻より所定期間(例えば1分)遡及した時刻から、時刻の欄に示される時刻までの期間が、解析対象の期間である。
The analysis result management table 141 includes columns for time, entire disk load index, LVOL0 load index, LVOL1 load index, and LVOL2 load index.
In the time column, the end time of the period to be analyzed is set. That is, a period from a time retroactive to a time (for example, 1 minute) from the time indicated in the time column to the time indicated in the time column is a period to be analyzed.

ディスク全体の負荷指標の欄には、解析対象の期間におけるストレージ装置全体の負荷指標(F)の値が設定される。LVOL0の負荷指標の欄には、解析対象の期間における負荷指標に対する、論理ボリュームIDが“LVOL0”である論理ボリューム910に割り当てられた記憶領域へのアクセス要求の影響度を示す負荷指標(G)が設定される。LVOL1の負荷指標の欄には、解析対象の期間における負荷指標に対する、論理ボリュームIDが“LVOL1”である論理ボリューム920に割り当てられた記憶領域へのアクセス要求の影響度を示す負荷指標(H)が設定される。LVOL2の負荷指標の欄には、解析対象の期間における負荷指標に対する、論理ボリュームIDが“LVOL2”である論理ボリューム930に割り当てられた記憶領域へのアクセス要求の影響度を示す負荷指標(I)が設定される。   In the column of the load index for the entire disk, the value of the load index (F) for the entire storage apparatus in the period to be analyzed is set. In the LVOL0 load index column, a load index (G) indicating the degree of influence of an access request to the storage area allocated to the logical volume 910 whose logical volume ID is “LVOL0” with respect to the load index in the period to be analyzed. Is set. In the LVOL1 load index column, a load index (H) indicating the degree of influence of an access request to the storage area allocated to the logical volume 920 whose logical volume ID is “LVOL1” with respect to the load index in the analysis target period. Is set. In the LVOL2 load index column, a load index (I) indicating the degree of influence of an access request to the storage area allocated to the logical volume 930 whose logical volume ID is “LVOL2” with respect to the load index in the period to be analyzed. Is set.

このような解析結果に基づいて、解析結果表示部150により、解析結果が表示される。
図18は、解析結果の表示例を示す図である。なお、図18の例は、ストレージ装置に対するアクセス要求のうち、論理ボリュームに割り当てられていない記憶領域へのアクセスに基づく負荷への影響度を示す負荷指標も、その他のアクセス(others)として算出した場合の例である。
Based on such an analysis result, the analysis result display unit 150 displays the analysis result.
FIG. 18 is a diagram illustrating a display example of the analysis result. In the example of FIG. 18, among the access requests to the storage device, the load index indicating the degree of influence on the load based on the access to the storage area not allocated to the logical volume is also calculated as other access (others). This is an example.

解析結果表示画面151には、横軸を解析対象となる時刻、縦軸を負荷指標としたグラフによって、ストレージ装置の負荷の状況が示されている。なお、この例で解析対象となったストレージ装置内の記憶領域は、3つの論理ボリューム910,920,930に割り当てられている。解析対象のストレージ装置の全体の負荷指標(sum)は、折れ線41で示されている。論理ボリュームID“LVOL0”の論理ボリューム910の負荷指標は、折れ線42で示されている。論理ボリュームID“LVOL1”の論理ボリューム920の負荷指標は、折れ線43で示されている。論理ボリュームID“LVOL2”の論理ボリューム930の負荷指標は、折れ線44で示されている。その他のアクセスの負荷指標は、折れ線45で示されている。   On the analysis result display screen 151, the load status of the storage apparatus is shown by a graph with the horizontal axis representing the time to be analyzed and the vertical axis representing the load index. In this example, the storage area in the storage apparatus that is the analysis target is allocated to three logical volumes 910, 920, and 930. A load index (sum) of the entire storage device to be analyzed is indicated by a broken line 41. The load index of the logical volume 910 with the logical volume ID “LVOL0” is indicated by a broken line 42. The load index of the logical volume 920 with the logical volume ID “LVOL1” is indicated by a broken line 43. The load index of the logical volume 930 with the logical volume ID “LVOL2” is indicated by a broken line 44. Other access load indicators are indicated by a broken line 45.

このような解析結果表示画面151を管理者が参照することで、ストレージ装置の負荷状況の推移、および負荷への影響が大きい論理ボリュームを適切に判断することができる。しかも、本実施の形態では、解析対象の期間の平均応答時間に基づいて最大負荷を定義している。そのため、アクセスの種類(リードまたはライト)、アクセス対象のデータサイズ、アクセス対象の記憶領域などで変動する最大負荷として、解析対象の期間内のアクセス状況に応じた正確な値を用いることができる。最大負荷の正確性が向上することにより、解析対象の期間における負荷の正確性も向上する。   By referring to such an analysis result display screen 151, the administrator can appropriately determine the transition of the load status of the storage apparatus and the logical volume having a large influence on the load. Moreover, in the present embodiment, the maximum load is defined based on the average response time of the analysis target period. Therefore, an accurate value corresponding to the access status within the period to be analyzed can be used as the maximum load that varies depending on the type of access (read or write), the data size to be accessed, the storage area to be accessed, and the like. By improving the accuracy of the maximum load, the accuracy of the load in the analysis target period is also improved.

例えば、比較対象として、予めリードアクセス/ライトアクセスのベンチマークテストにより最大負荷を計測しておく方法が考えられる。予め実施されるベンチマークテストは、例えば、一般的なストレージ装置へのアクセス要求を想定し、単位時間当たりに処理可能なアクセス要求数が計測される。このようなベンチマークテストでは、いわゆるホットスポットと呼ばれる特定の記憶領域にアクセスが集中するような状況は想定されていないことが多い。   For example, as a comparison target, a method of measuring the maximum load by a read access / write access benchmark test in advance can be considered. In the benchmark test performed in advance, for example, an access request to a general storage apparatus is assumed, and the number of access requests that can be processed per unit time is measured. In such a benchmark test, a situation in which access concentrates on a specific storage area called a so-called hot spot is often not assumed.

特定の記憶領域にアクセスが集中した場合、ストレージ装置のキャッシュメモリのサイズが十分に大きければ、キャッシュヒット率が向上し、単位時間当たりに処理可能なアクセス要求数が多くなる。逆に、キャッシュメモリが不十分であれば、複数のハードディスク装置を有するストレージ装置内の特定のハードディスク装置にアクセスが集中することで、単位時間当たりに処理可能なアクセス要求数が少なくなる場合も考えられる。   When access is concentrated in a specific storage area, if the size of the cache memory of the storage device is sufficiently large, the cache hit rate is improved and the number of access requests that can be processed per unit time is increased. Conversely, if the cache memory is insufficient, the number of access requests that can be processed per unit time may be reduced by concentrating access to a specific hard disk device in a storage device having a plurality of hard disk devices. It is done.

このように、実際には単位時間当たりに処理可能なアクセス要求数(最大負荷)は、そのときどきのアクセス先の集中度合い、アクセスされるデータのサイズ、アクセス種別(リード/ライト)によって変わってくる。すなわち、最大負荷はアクセス状況に応じて動的に変化する。本実施の形態では、動的に変化する最大負荷に基づいて負荷指標を計算するため、より正確な負荷指標を得ることができる。換言すると、実際にはストレージ装置の処理能力に余力があるにも拘わらず最大負荷を超えたように判断するといった、誤判定を抑制することができる。   Thus, the number of access requests (maximum load) that can actually be processed per unit time varies depending on the concentration level of the access destination, the size of the accessed data, and the access type (read / write). . That is, the maximum load changes dynamically according to the access situation. In the present embodiment, since the load index is calculated based on the dynamically changing maximum load, a more accurate load index can be obtained. In other words, it is possible to suppress erroneous determinations such as determining that the maximum load has been exceeded despite the fact that the processing capacity of the storage apparatus is actually sufficient.

図19は、誤判定が回避される例を示す図である。図19には、横軸を時刻、縦軸をアクセス要求数としたグラフを示している。予め標準的なアクセス状況を想定したベンチマークにより計測した最大負荷を、破線61で示している。また、各時刻において動的に計測した最大負荷(平均応答時間の逆数)を、一点鎖線62で示している。さらに、各時刻において実測した単位時間当たりのアクセス要求数を、実線63で示している。   FIG. 19 is a diagram illustrating an example in which erroneous determination is avoided. FIG. 19 shows a graph in which the horizontal axis represents time and the vertical axis represents the number of access requests. A maximum load measured in advance by a benchmark assuming a standard access situation is indicated by a broken line 61. In addition, the maximum load (reciprocal of average response time) dynamically measured at each time is indicated by an alternate long and short dash line 62. Further, the number of access requests per unit time measured at each time is indicated by a solid line 63.

このように、予めベンチマークにより計測した最大負荷を、実測したアクセス要求数が超える場合があり得る。もし予めベンチマークにより計測した最大負荷を基準に負荷指標を計算すると、例えば負荷が100%を超える事態となり、一般には管理者に対して警告のメッセージが通知される。例えば、時刻t7において、実測したアクセス要求数が、予めベンチマークにより計測した最大負荷を超えている。   In this way, the actual number of access requests may exceed the maximum load measured in advance by the benchmark. If the load index is calculated based on the maximum load measured in advance by the benchmark, for example, the load exceeds 100%, and a warning message is generally notified to the administrator. For example, at time t7, the actually measured number of access requests exceeds the maximum load measured in advance by the benchmark.

しかし、時刻t7に発生したアクセスが特定の記憶領域に集中したアクセスであり、キャッシュヒット率が向上していた場合、平均応答時間が非常に短くなる。平均応答時間が短くなれば、単位時間当たりに処理可能なアクセス要求数(最大負荷)も増加する。その結果、動的に計測した最大負荷と、実測したアクセス要求数とを比較すれば、負荷が過大とはなっていないことがわかる。すなわち、誤ってストレージ装置の負荷が過大であると判定することを抑制できる。   However, if the access that occurred at time t7 is concentrated in a specific storage area and the cache hit rate has improved, the average response time becomes very short. If the average response time is shortened, the number of access requests (maximum load) that can be processed per unit time also increases. As a result, comparing the dynamically measured maximum load with the actually measured number of access requests, it can be seen that the load is not excessive. That is, it is possible to suppress erroneously determining that the load on the storage device is excessive.

逆に時刻t10における実測したアクセス要求数は、予めベンチマークにより計測した最大負荷より少ないが、動的に計測した最大負荷とほぼ等しくなっている。すなわち、時刻t10に発生したアクセス要求は、その前後のアクセス要求に比べ処理時間がかかる種類のアクセスが多数あり、平均応答時間が長くなっている。その結果、単位時間当たりに処理可能なアクセス要求数(最大アクセス要求数)が少なくなり、時刻t7よりも少ないアクセス要求数にもかかわらず、ストレージ装置の処理能力に余力が無くなっている。このような場合、例えば、解析結果表示部150により、時刻t10でストレージ装置の処理能力が限界に達していることを示す警告のメッセージが、モニタ11に表示される。このようにして、ストレージ装置の負荷が過大となったことを、適格に検出することが可能となる。   Conversely, the number of access requests actually measured at time t10 is smaller than the maximum load previously measured by the benchmark, but is substantially equal to the dynamically measured maximum load. That is, the access request generated at time t10 has many types of access that require more processing time than the access requests before and after that, and the average response time is longer. As a result, the number of access requests that can be processed per unit time (maximum number of access requests) is reduced, and the processing capacity of the storage apparatus has no capacity despite the number of access requests smaller than time t7. In such a case, for example, the analysis result display unit 150 displays a warning message on the monitor 11 indicating that the processing capacity of the storage device has reached the limit at time t10. In this way, it is possible to properly detect that the load on the storage apparatus has become excessive.

また、第2の実施の形態では、論理ボリュームごとの負荷指標を、論理ボリュームに割り当てられた記憶領域へのアクセス要求数ではなく、該当アクセス要求に応じた累積実行時間によって判断している。そのため、より実情に合った負荷指標を算出することができる。   In the second embodiment, the load index for each logical volume is determined not by the number of access requests to the storage area allocated to the logical volume but by the accumulated execution time according to the corresponding access request. Therefore, it is possible to calculate a load index that matches the actual situation.

しかもストレージ装置210に直接(ネットワークを経由せずに)接続されたディスクノード200におけるOSのカーネル内で、アクセス要求に対する平均応答時間を計測するため、正確な平均応答時間を計測できる。   In addition, since the average response time for the access request is measured in the kernel of the OS in the disk node 200 that is directly connected to the storage apparatus 210 (not via the network), an accurate average response time can be measured.

〔第3の実施の形態〕
次に第3の実施の形態について説明する。第3の実施の形態は、スイッチ装置のポートミラーリング機能を用いて管理ノードでパケットを取得し、取得したパケットに基づいて論理ボリュームごとの負荷を計測するものである。また第3の実施の形態におけるシステム全体の構成は、図2に示した第2の実施の形態と同様である。
[Third Embodiment]
Next, a third embodiment will be described. In the third embodiment, a management node acquires a packet by using a port mirroring function of a switch device, and measures a load for each logical volume based on the acquired packet. The configuration of the entire system in the third embodiment is the same as that of the second embodiment shown in FIG.

図20は、第3の実施の形態に係るシステムの機能を示すブロック図である。なお、図20において、図5に示した第2の実施の形態に係るシステムと同じ機能については、同じ符号を付し説明を省略する。   FIG. 20 is a block diagram illustrating functions of a system according to the third embodiment. In FIG. 20, the same functions as those in the system according to the second embodiment shown in FIG.

第3の実施の形態では、ポートミラーリング機能が搭載されたスイッチ装置10aを介して、各ノードが接続される。ポートミラーリング機能とは、所定のポートに入出力される通信内容のコピーを、別のミラーポートから出力する機能である。図20の例では、ディスクノード200bが接続されたポートに入出力される通信内容のコピーが、ミラーポートに出力される。ミラーポートには、管理ノード100bが接続される。   In the third embodiment, each node is connected via a switch device 10a equipped with a port mirroring function. The port mirroring function is a function for outputting a copy of communication contents input / output to / from a predetermined port from another mirror port. In the example of FIG. 20, a copy of the communication contents input / output to / from the port to which the disk node 200b is connected is output to the mirror port. The management node 100b is connected to the mirror port.

アクセスノード600の機能は、第2の実施の形態と同様である。ディスクノード200bの機能は、第2の実施の形態と比較して、論理ボリューム管理部230bと負荷情報送信部240bの機能が異なる。ディスクドライバ220の機能は、第2の実施の形態と同様である。   The function of the access node 600 is the same as that of the second embodiment. The functions of the disk node 200b are different from those of the second embodiment in the functions of the logical volume management unit 230b and the load information transmission unit 240b. The function of the disk driver 220 is the same as that of the second embodiment.

論理ボリューム管理部230bは、論理ボリュームアクセス部231bを有している。論理ボリュームアクセス部231bは、アクセスノード600からのアクセス要求パケットに基づくアクセス要求に応じて、ディスクドライバ220へアクセス要求を出力する。そして、アクセス要求に対する応答を、アクセスノード600に送信する。ただし論理ボリュームアクセス部231bは、アクセス要求の内容や応答の内容を他の要素に通知する機能はなくてよい。   The logical volume management unit 230b has a logical volume access unit 231b. The logical volume access unit 231b outputs an access request to the disk driver 220 in response to an access request based on the access request packet from the access node 600. Then, a response to the access request is transmitted to access node 600. However, the logical volume access unit 231b may not have a function of notifying other elements of the content of the access request and the content of the response.

またディスクノード200bの負荷情報送信部240bは、ストレージ負荷情報をストレージ負荷記憶部223から取得し、管理ノード100bに送信する。すなわち、第3の実施の形態における負荷情報送信部240bは、論理ボリューム負荷情報の送信は行わない。   Further, the load information transmission unit 240b of the disk node 200b acquires the storage load information from the storage load storage unit 223 and transmits it to the management node 100b. That is, the load information transmission unit 240b in the third embodiment does not transmit logical volume load information.

管理ノード100bは、負荷情報取得部110b、負荷情報記憶部120、負荷解析部130、解析結果記憶部140、解析結果表示部150、パケット解析部160、および論理ボリューム負荷計測部170を有している。負荷情報記憶部120、負荷解析部130、解析結果記憶部140、および解析結果表示部150の機能は、第2の実施の形態と同様である。   The management node 100b includes a load information acquisition unit 110b, a load information storage unit 120, a load analysis unit 130, an analysis result storage unit 140, an analysis result display unit 150, a packet analysis unit 160, and a logical volume load measurement unit 170. Yes. The functions of the load information storage unit 120, the load analysis unit 130, the analysis result storage unit 140, and the analysis result display unit 150 are the same as those in the second embodiment.

パケット解析部160は、ポートミラーリング機能により取得したパケットを解析する。そして、パケット解析部160は、ディスクノード200bに入力されたアクセス要求パケットを検出すると、そのアクセス要求パケットで示されるアクセス要求の内容を論理ボリューム負荷計測部170に通知する。また、パケット解析部160は、アクセス要求に対する応答を示すIO応答パケットを検出すると、その応答の内容を論理ボリューム負荷計測部170に通知する。パケット解析部160から論理ボリューム負荷計測部170に渡される情報は、第2の実施の形態において、論理ボリュームアクセス部231から論理ボリューム負荷計測部232に渡される情報と同様である。   The packet analysis unit 160 analyzes the packet acquired by the port mirroring function. When the packet analysis unit 160 detects the access request packet input to the disk node 200b, the packet analysis unit 160 notifies the logical volume load measurement unit 170 of the content of the access request indicated by the access request packet. When the packet analysis unit 160 detects an IO response packet indicating a response to the access request, the packet analysis unit 160 notifies the logical volume load measurement unit 170 of the content of the response. The information passed from the packet analysis unit 160 to the logical volume load measurement unit 170 is the same as the information passed from the logical volume access unit 231 to the logical volume load measurement unit 232 in the second embodiment.

論理ボリューム負荷計測部170は、パケット解析部160から渡された情報に基づいて、論理ボリュームに割り当てられた記憶領域へのアクセスがストレージ装置210に対して与える負荷を示す負荷を計測する。論理ボリューム負荷計測部170の処理の詳細は、第2の実施の形態における論理ボリューム負荷計測部232の処理と同様である。論理ボリューム負荷計測部170による計測の結果は、負荷情報記憶部120に格納される。   The logical volume load measurement unit 170 measures the load indicating the load that the access to the storage area assigned to the logical volume gives to the storage apparatus 210 based on the information passed from the packet analysis unit 160. The details of the processing of the logical volume load measurement unit 170 are the same as the processing of the logical volume load measurement unit 232 in the second embodiment. The result of measurement by the logical volume load measurement unit 170 is stored in the load information storage unit 120.

負荷情報取得部110bは、負荷情報を取得する際に、ストレージ負荷情報をディスクノード200bから取得する。すなわち、第3の実施の形態では、論理ボリューム負荷情報については、論理ボリューム負荷計測部170により負荷情報記憶部120に格納されるため、負荷情報取得部110bは取得せずにすむ。   The load information acquisition unit 110b acquires storage load information from the disk node 200b when acquiring load information. That is, in the third embodiment, since the logical volume load information is stored in the load information storage unit 120 by the logical volume load measurement unit 170, the load information acquisition unit 110b need not acquire the logical volume load information.

このように、ポートミラーリング機能を用いれば、論理ボリューム負荷情報については、管理ノード100bにおいて計測可能となる。その結果、ディスクノード200bにおける負荷情報取得のための処理が軽減される。   As described above, when the port mirroring function is used, the logical node load information can be measured in the management node 100b. As a result, processing for acquiring load information in the disk node 200b is reduced.

〔第4の実施の形態〕
次に第4の実施の形態について説明する。第4の実施の形態は、アクセスノードにおいて論理ボリュームの負荷を計測するものである。なお、本実施の形態では、各アクセスノードは、予め決められた1つの論理ボリュームに対するアクセス要求のみを受け付けるものとする。また第4の実施の形態におけるシステム全体の構成は、図2に示した第2の実施の形態と同様である。
[Fourth Embodiment]
Next, a fourth embodiment will be described. In the fourth embodiment, the load on the logical volume is measured at the access node. In this embodiment, each access node accepts only an access request for a predetermined logical volume. Further, the configuration of the entire system in the fourth embodiment is the same as that of the second embodiment shown in FIG.

図21は、第4の実施の形態に係るシステムの機能を示すブロック図である。なお、図21において、図20に示した第3の実施の形態に係るシステムと同じ機能については、同じ符号を付し説明を省略する。   FIG. 21 is a block diagram illustrating functions of a system according to the fourth embodiment. In FIG. 21, the same functions as those of the system according to the third embodiment shown in FIG.

第4の実施の形態では、ディスクノード200bの機能は、第2の実施の形態と同様である。アクセスノード600cは、アクセス情報記憶部610、データアクセス制御部620c、論理ボリューム負荷計測部630、論理ボリューム負荷記憶部640、および負荷情報送信部650を有している。   In the fourth embodiment, the function of the disk node 200b is the same as that of the second embodiment. The access node 600c includes an access information storage unit 610, a data access control unit 620c, a logical volume load measurement unit 630, a logical volume load storage unit 640, and a load information transmission unit 650.

アクセス情報記憶部610は、図6に示した第2の実施の形態におけるアクセス情報記憶部610と同様のデータ構造のアクセス情報を記憶する。データアクセス制御部620cは、端末装置からの論理ボリューム内のデータへのアクセス要求に応じて、該当するデータを管理しているディスクノードへデータのアクセス要求を送信する。そして、データアクセス制御部620cは、ディスクノードへのアクセス結果を、アクセス要求を出力した端末装置に応答する。この際、データアクセス制御部620cは、アクセス情報記憶部610を参照して、アクセス対象のデータを含むスライスのスライスID、およびそのスライスを管理しているディスクノードのディスクノードIDを判断する。   The access information storage unit 610 stores access information having the same data structure as that of the access information storage unit 610 in the second embodiment shown in FIG. The data access control unit 620c transmits a data access request to the disk node that manages the corresponding data in response to an access request to the data in the logical volume from the terminal device. Then, the data access control unit 620c responds the access result to the disk node to the terminal device that has output the access request. At this time, the data access control unit 620c refers to the access information storage unit 610 to determine the slice ID of the slice that includes the access target data and the disk node ID of the disk node that manages the slice.

また、データアクセス制御部620cは、アクセス要求を送信した場合、そのアクセス要求の内容を論理ボリューム負荷計測部630に通知する。通知する内容には、アクセス要求の識別子、およびアクセス先のディスクノードのディスクノードIDが含まれる。さらにデータアクセス制御部620cは、ディスクノード200bからアクセス要求に対する応答を受け取った場合、その応答に対応するアクセス要求の識別子を論理ボリューム負荷計測部630に通知する。   In addition, when the access request is transmitted, the data access control unit 620c notifies the logical volume load measurement unit 630 of the content of the access request. The notified content includes an identifier of the access request and a disk node ID of the access destination disk node. Further, when receiving a response to the access request from the disk node 200b, the data access control unit 620c notifies the logical volume load measurement unit 630 of an access request identifier corresponding to the response.

論理ボリューム負荷計測部630は、論理ボリュームへのアクセス要求および応答に基づいて、アクセス対象となった論理ボリュームごとの負荷を計測する。例えば論理ボリューム負荷計測部630は、アクセス要求が出力されてから、そのアクセス要求に対する応答があるまでの実行時間を、ディスクノード別に集計する。なお、累積実行時間を計算する処理は、第2の実施の形態における論理ボリューム負荷計測部232の処理と同様である。論理ボリューム負荷計測部630は、所定期間ごとに計測したディスクノードごとの累積実行時間を論理ボリューム負荷記憶部640に格納する。   The logical volume load measurement unit 630 measures the load for each logical volume that is the access target, based on the access request and response to the logical volume. For example, the logical volume load measurement unit 630 aggregates the execution time from when an access request is output to when there is a response to the access request for each disk node. The process for calculating the cumulative execution time is the same as the process of the logical volume load measuring unit 232 in the second embodiment. The logical volume load measurement unit 630 stores the accumulated execution time for each disk node measured every predetermined period in the logical volume load storage unit 640.

論理ボリューム負荷記憶部640は、ディスクノードごとの論理ボリューム負荷情報を記憶する。負荷情報送信部650は、論理ボリューム負荷記憶部640に格納された論理ボリューム負荷情報を、管理ノード100cに送信する。   The logical volume load storage unit 640 stores logical volume load information for each disk node. The load information transmission unit 650 transmits the logical volume load information stored in the logical volume load storage unit 640 to the management node 100c.

図22は、論理ボリューム負荷記憶部のデータ構造例を示す図である。論理ボリューム負荷記憶部640には、ディスクノードごとの論理ボリューム負荷管理テーブル641,642,643が格納されている。例えば論理ボリューム負荷管理テーブル641には、ディスクノードIDが“SN−A”のディスクノード200bに対するアクセスに関する論理ボリューム負荷情報が設定される。   FIG. 22 is a diagram illustrating an example of a data structure of the logical volume load storage unit. The logical volume load storage unit 640 stores logical volume load management tables 641, 642, 643 for each disk node. For example, in the logical volume load management table 641, logical volume load information related to access to the disk node 200b having the disk node ID “SN-A” is set.

論理ボリューム負荷管理テーブル641には、時刻とLVOL0の累積実行時間との欄が設けられている。時刻の欄には、負荷を計測した時間帯の終了時刻が設定される。LVOL0の累積実行時間は、論理ボリュームIDが“LVOL0”の論理ボリューム910に対するアクセス要求に基づく処理時間の累積値が設定される。   The logical volume load management table 641 has columns of time and accumulated execution time of LVOL0. In the time column, the end time of the time zone in which the load is measured is set. The accumulated execution time of LVOL0 is set to the accumulated value of the processing time based on the access request to the logical volume 910 whose logical volume ID is “LVOL0”.

アクセスノード600cでは、論理ボリューム負荷情報として、論理ボリュームIDが“LVOL0”の論理ボリューム910に割り当てられた記憶領域に対するアクセスの累積実行時間が計測される。   The access node 600c measures the accumulated execution time of access to the storage area allocated to the logical volume 910 having the logical volume ID “LVOL0” as the logical volume load information.

管理ノード100cは、負荷情報取得部110c、負荷情報記憶部120、負荷解析部130、解析結果記憶部140、および解析結果表示部150を有している。負荷情報記憶部120、負荷解析部130、解析結果記憶部140、および解析結果表示部150については、第3の実施の形態の同名の要素と同じ機能である。   The management node 100c includes a load information acquisition unit 110c, a load information storage unit 120, a load analysis unit 130, an analysis result storage unit 140, and an analysis result display unit 150. The load information storage unit 120, the load analysis unit 130, the analysis result storage unit 140, and the analysis result display unit 150 have the same functions as the elements of the same name in the third embodiment.

負荷情報取得部110cは、複数のディスクノードそれぞれからストレージ負荷情報を取得するとともに、複数のアクセスノードそれぞれから論理ボリューム負荷情報を取得する。そして、負荷情報取得部110cは、取得した負荷情報を負荷情報記憶部120に格納する。これにより、図15に示したような負荷情報管理テーブル121,122,123が負荷情報記憶部120に記憶される。   The load information acquisition unit 110c acquires storage load information from each of the plurality of disk nodes, and acquires logical volume load information from each of the plurality of access nodes. Then, the load information acquisition unit 110c stores the acquired load information in the load information storage unit 120. As a result, the load information management tables 121, 122, and 123 as shown in FIG. 15 are stored in the load information storage unit 120.

このようにアクセスノードで論理ボリューム負荷情報を生成することで、ディスクノード200bにおける負荷情報取得のための処理が軽減される。
〔その他の応用例〕
上記第2の実施の形態では、管理ノード100において負荷解析を行っている。しかし、負荷解析を別の装置で実行することもできる。例えば、第2の実施の形態におけるディスクノード200に、負荷情報記憶部120、負荷解析部130、および解析結果記憶部140を設けることができる。これにより、ディスクノード200における負荷解析が可能となる。その場合、解析結果表示部150は、ディスクノード200内の解析結果記憶部140から解析結果を取得して、解析結果を表示する。
By generating logical volume load information at the access node in this way, processing for obtaining load information at the disk node 200b is reduced.
[Other application examples]
In the second embodiment, load analysis is performed in the management node 100. However, load analysis can also be performed on another device. For example, the load information storage unit 120, the load analysis unit 130, and the analysis result storage unit 140 can be provided in the disk node 200 in the second embodiment. Thereby, load analysis in the disk node 200 is possible. In that case, the analysis result display unit 150 acquires the analysis result from the analysis result storage unit 140 in the disk node 200 and displays the analysis result.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、負荷解析装置、管理ノード、ディスクノード、およびアクセスノードが有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記憶装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記憶装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD、DVD−RAM、CD−ROM/RWなどがある。光磁気記録媒体には、MO(Magneto-Optical disc)などがある。   The above processing functions can be realized by a computer. In that case, a program describing processing contents of functions that the load analysis device, the management node, the disk node, and the access node should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic storage device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic storage device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical discs include DVD, DVD-RAM, CD-ROM / RW, and the like. Magneto-optical recording media include MO (Magneto-Optical disc).

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, a portable recording medium such as a DVD or a CD-ROM in which the program is recorded is sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

また、上記の処理機能の少なくとも一部を、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)などの電子回路で実現することもできる。   In addition, at least a part of the above processing functions can be realized by an electronic circuit such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device).

以上、実施の形態を例示したが、実施の形態で示した各部の構成は同様の機能を有する他のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。さらに、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。   As mentioned above, although embodiment was illustrated, the structure of each part shown by embodiment can be substituted by the other thing which has the same function. Moreover, other arbitrary structures and processes may be added. Further, any two or more configurations (features) of the above-described embodiments may be combined.

以上の実施の形態に開示された技術には、以下の付記に示す技術が含まれる。
(付記1) ストレージ装置の負荷を解析する負荷解析プログラムであって、
コンピュータに、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納し、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する、
処理を実行させる負荷解析プログラム。
The techniques disclosed in the above embodiments include the techniques shown in the following supplementary notes.
(Supplementary note 1) A load analysis program for analyzing a load of a storage device,
On the computer,
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. Store and
Outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load of the storage apparatus during the predetermined period;
Load analysis program that executes processing.

(付記2) 前記コンピュータに、さらに、
前記ストレージ装置内の記憶領域と、記憶領域が割り当てられた論理ボリュームとの対応関係を記憶する割り当て情報記憶手段を参照し、アクセス要求のアクセス対象となった記憶領域が割り当てられた論理ボリュームの内訳を計算し、論理ボリュームごとの内訳に応じて、前記負荷指標で示される前記ストレージ装置の前記所定期間における負荷に対する論理ボリュームごとの影響度を算出する、
処理を実行させる付記1記載の負荷解析プログラム。
(Appendix 2) In addition to the computer,
Breakdown of the logical volume to which the storage area to be accessed in the access request is referenced with reference to the allocation information storage means for storing the correspondence between the storage area in the storage device and the logical volume to which the storage area is allocated And calculating the degree of influence of each logical volume on the load in the predetermined period of the storage device indicated by the load index according to the breakdown for each logical volume.
The load analysis program according to supplementary note 1 for executing processing.

(付記3) 前記最大アクセス要求数を算出する際には、前記単位時間を前記平均応答時間で除算した値を、前記最大アクセス要求数とすることを特徴とする付記1または2のいずれかに記載の負荷解析プログラム。   (Supplementary note 3) In calculating the maximum access request number, a value obtained by dividing the unit time by the average response time is set as the maximum access request number. The load analysis program described.

(付記4) 前記平均応答時間は、前記所定期間内での前記ストレージ装置に対する各アクセス要求に対する応答時間の累計値を、前記ストレージ装置に対する前記所定期間内のアクセス要求数で除算した値であることを特徴とする付記1乃至3のいずれかに記載の負荷解析プログラム。   (Supplementary Note 4) The average response time is a value obtained by dividing a cumulative value of response times for each access request to the storage device within the predetermined period by the number of access requests for the storage device within the predetermined period. The load analysis program according to any one of appendices 1 to 3, characterized by:

(付記5) 前記コンピュータを、さらに、
前記ストレージ装置が接続された装置からネットワーク経由で前記所定期間の前記平均応答時間を取得する処理を実行させることを特徴とする付記1乃至4のいずれかに記載の負荷解析プログラム。
(Supplementary Note 5)
The load analysis program according to any one of appendices 1 to 4, wherein a process of acquiring the average response time of the predetermined period from a device to which the storage device is connected is executed via a network.

(付記6) 前記論理ボリュームごとの前記影響度を算出する際には、各論理ボリュームに割り当てられた前記ストレージ装置内の記憶領域をアクセス先とする前記所定期間内のアクセス要求の実行時間を論理ボリュームごとに累積した累積実行時間に基づいて、前記負荷指標の値を各論理ボリュームに比例配分し、配分された値を各論理ボリュームの前記影響度とすることを特徴とする付記2記載の負荷解析プログラム。   (Supplementary Note 6) When calculating the degree of influence for each logical volume, the execution time of the access request within the predetermined period with the storage area in the storage device allocated to each logical volume as the access destination is logically calculated. The load according to appendix 2, wherein the load index value is proportionally distributed to each logical volume based on the accumulated execution time for each volume, and the distributed value is used as the degree of influence of each logical volume. Analysis program.

(付記7) 前記コンピュータを、さらに、
前記ストレージ装置が接続された装置から、ネットワーク経由で論理ボリュームごとの前記累積実行時間を取得する処理を実行させることを特徴とする付記6記載の負荷解析プログラム。
(Supplementary note 7)
The load analysis program according to appendix 6, wherein a process for acquiring the cumulative execution time for each logical volume is executed from a device connected to the storage device via a network.

(付記8) 前記コンピュータを、さらに、
前記ストレージ装置に対してネットワーク経由でアクセスする装置から、前記ネットワーク経由で論理ボリュームごとの前記累積実行時間を取得する処理を実行させることを特徴とする付記6記載の負荷解析プログラム。
(Supplementary Note 8) The computer is further
The load analysis program according to appendix 6, wherein a process for acquiring the accumulated execution time for each logical volume is executed via the network from an apparatus that accesses the storage apparatus via the network.

(付記9) 各論理ボリュームの前記影響度を算出する際には、
前記ストレージ装置に対する所定期間内のアクセス要求を取得し、該アクセス要求の取得時刻を、該アクセス要求のアクセス先の記憶領域が割り当てられている論理ボリュームに関連付けてアクセス情報記憶手段に格納し、
前記ストレージ装置からアクセス要求に対する応答を取得し、該応答に対応するアクセス要求の取得時刻を前記アクセス情報記憶手段から抽出し、
抽出した取得時刻が関連付けられている論理ボリュームに対応付けられた実行時間記憶手段に格納されている累積実行時間に、抽出した取得時刻から現在までの経過時間を加算し、
前記所定期間終了時に論理ボリュームごとに設けられた前記実行時間記憶手段に記憶されている前記累積実行時間を、各論理ボリュームの累積実行時間とする、
ことを特徴とする付記6記載の負荷解析プログラム。
(Supplementary note 9) When calculating the degree of influence of each logical volume,
Acquiring an access request for the storage device within a predetermined period, and storing the access request acquisition time in an access information storage unit in association with a logical volume to which a storage area of an access destination of the access request is allocated;
Obtaining a response to the access request from the storage device, extracting the access request acquisition time corresponding to the response from the access information storage means;
Add the elapsed time from the extracted acquisition time to the current time to the cumulative execution time stored in the execution time storage means associated with the logical volume with which the extracted acquisition time is associated,
The cumulative execution time stored in the execution time storage means provided for each logical volume at the end of the predetermined period is set as the cumulative execution time of each logical volume.
The load analysis program according to supplementary note 6, wherein

(付記10) ストレージ装置の負荷を解析する負荷解析方法であって、
コンピュータが、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納し、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する、
することを特徴とする負荷解析方法。
(Supplementary Note 10) A load analysis method for analyzing a load of a storage device,
Computer
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. Store and
Outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load of the storage apparatus during the predetermined period;
A load analysis method characterized by:

(付記11) ストレージ装置の負荷を解析する負荷解析装置であって、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納する最大負荷算出手段と、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する負荷指標算出手段と、
を有する負荷解析装置。
(Supplementary Note 11) A load analysis device for analyzing a load of a storage device,
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. A maximum load calculating means for storing;
Load index calculation means for outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load during the predetermined period of the storage device;
A load analyzing apparatus.

1 負荷解析装置
1a 最大負荷算出手段
1b 最大負荷記憶手段
1c 負荷指標算出手段
1d 割り当て情報記憶手段
1e 論理ボリューム影響度算出手段
1f 解析結果記憶手段
2 ストレージ装置
3 アクセス装置
DESCRIPTION OF SYMBOLS 1 Load analysis apparatus 1a Maximum load calculation means 1b Maximum load storage means 1c Load index calculation means 1d Allocation information storage means 1e Logical volume influence degree calculation means 1f Analysis result storage means 2 Storage apparatus 3 Access apparatus

Claims (7)

ストレージ装置の負荷を解析する負荷解析プログラムであって、
コンピュータに、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納し、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する、
処理を実行させる負荷解析プログラム。
A load analysis program for analyzing the load on a storage device,
On the computer,
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. Store and
Outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load of the storage apparatus during the predetermined period;
Load analysis program that executes processing.
前記コンピュータに、さらに、
前記ストレージ装置内の記憶領域と、記憶領域が割り当てられた論理ボリュームとの対応関係を記憶する割り当て情報記憶手段を参照し、アクセス要求のアクセス対象となった記憶領域が割り当てられた論理ボリュームの内訳を計算し、論理ボリュームごとの内訳に応じて、前記負荷指標で示される前記ストレージ装置の前記所定期間における負荷に対する論理ボリュームごとの影響度を算出する、
処理を実行させる請求項1記載の負荷解析プログラム。
In addition to the computer,
Breakdown of the logical volume to which the storage area to be accessed in the access request is referenced with reference to the allocation information storage means for storing the correspondence between the storage area in the storage device and the logical volume to which the storage area is allocated And calculating the degree of influence of each logical volume on the load in the predetermined period of the storage device indicated by the load index according to the breakdown for each logical volume.
The load analysis program according to claim 1, wherein the process is executed.
前記最大アクセス要求数を算出する際には、前記単位時間を前記平均応答時間で除算した値を、前記最大アクセス要求数とすることを特徴とする請求項1または2のいずれかに記載の負荷解析プログラム。   3. The load according to claim 1, wherein when calculating the maximum access request number, a value obtained by dividing the unit time by the average response time is set as the maximum access request number. 4. Analysis program. 前記論理ボリュームごとの前記影響度を算出する際には、各論理ボリュームに割り当てられた前記ストレージ装置内の記憶領域をアクセス先とする前記所定期間内のアクセス要求の実行時間を論理ボリュームごとに累積した累積実行時間に基づいて、前記負荷指標の値を各論理ボリュームに比例配分し、配分された値を各論理ボリュームの前記影響度とすることを特徴とする請求項2記載の負荷解析プログラム。   When calculating the degree of influence for each logical volume, the execution time of the access request within the predetermined period with the storage area in the storage device assigned to each logical volume as the access destination is accumulated for each logical volume. The load analysis program according to claim 2, wherein the load index value is proportionally distributed to each logical volume based on the accumulated execution time, and the distributed value is used as the degree of influence of each logical volume. 各論理ボリュームの前記影響度を算出する際には、
前記ストレージ装置に対する所定期間内のアクセス要求を取得し、該アクセス要求の取得時刻を、該アクセス要求のアクセス先の記憶領域が割り当てられている論理ボリュームに関連付けてアクセス情報記憶手段に格納し、
前記ストレージ装置からアクセス要求に対する応答を取得し、該応答に対応するアクセス要求の取得時刻を前記アクセス情報記憶手段から抽出し、
抽出した取得時刻が関連付けられている論理ボリュームに対応付けられた実行時間記憶手段に格納されている累積実行時間に、抽出した取得時刻から現在までの経過時間を加算し、
前記所定期間終了時に論理ボリュームごとに設けられた前記実行時間記憶手段に記憶されている前記累積実行時間を、各論理ボリュームの累積実行時間とする、
ことを特徴とする請求項4記載の負荷解析プログラム。
When calculating the impact of each logical volume,
Acquiring an access request for the storage device within a predetermined period, and storing the access request acquisition time in an access information storage unit in association with a logical volume to which a storage area of an access destination of the access request is allocated;
Obtaining a response to the access request from the storage device, extracting the access request acquisition time corresponding to the response from the access information storage means;
Add the elapsed time from the extracted acquisition time to the current time to the cumulative execution time stored in the execution time storage means associated with the logical volume with which the extracted acquisition time is associated,
The cumulative execution time stored in the execution time storage means provided for each logical volume at the end of the predetermined period is set as the cumulative execution time of each logical volume.
The load analysis program according to claim 4, wherein:
ストレージ装置の負荷を解析する負荷解析方法であって、
コンピュータが、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納し、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する、
することを特徴とする負荷解析方法。
A load analysis method for analyzing a load of a storage device,
Computer
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. Store and
Outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load of the storage apparatus during the predetermined period;
A load analysis method characterized by:
ストレージ装置の負荷を解析する負荷解析装置であって、
前記ストレージ装置に対する所定期間内の1アクセス要求当たりの平均応答時間に基づいて、前記ストレージ装置で単位時間当たりに処理可能な最大アクセス要求数を算出し、前記最大アクセス要求数を最大負荷記憶手段に格納する最大負荷算出手段と、
前記最大負荷記憶手段に格納された前記最大アクセス要求数に対する前記所定期間内のアクセス要求数の割合を、前記ストレージ装置の前記所定期間における負荷を示す負荷指標として出力する負荷指標算出手段と、
を有する負荷解析装置。
A load analysis device for analyzing the load of a storage device,
Based on the average response time per access request within a predetermined period for the storage device, the maximum access request number that can be processed per unit time in the storage device is calculated, and the maximum access request number is stored in the maximum load storage means. A maximum load calculating means for storing;
Load index calculation means for outputting a ratio of the number of access requests within the predetermined period to the maximum number of access requests stored in the maximum load storage means as a load index indicating a load during the predetermined period of the storage device;
A load analyzing apparatus.
JP2010061407A 2010-03-17 2010-03-17 Program, method and apparatus for analyzing load Ceased JP2011197804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010061407A JP2011197804A (en) 2010-03-17 2010-03-17 Program, method and apparatus for analyzing load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010061407A JP2011197804A (en) 2010-03-17 2010-03-17 Program, method and apparatus for analyzing load

Publications (1)

Publication Number Publication Date
JP2011197804A true JP2011197804A (en) 2011-10-06

Family

ID=44875965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010061407A Ceased JP2011197804A (en) 2010-03-17 2010-03-17 Program, method and apparatus for analyzing load

Country Status (1)

Country Link
JP (1) JP2011197804A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130387A (en) * 2012-12-27 2014-07-10 Fujitsu Ltd Storage controller selection system, storage controller selection method, and storage controller selection program
JPWO2013094007A1 (en) * 2011-12-19 2015-04-27 富士通株式会社 Load balancing system
WO2017022233A1 (en) * 2015-08-06 2017-02-09 日本電気株式会社 Information processing device, request process delay control method, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089916A (en) * 1998-09-11 2000-03-31 Fujitsu Ltd File control unit
JP2002182859A (en) * 2000-12-12 2002-06-28 Hitachi Ltd Storage system and method of using the same
JP2002342532A (en) * 2001-05-21 2002-11-29 Nippon Telegr & Teleph Corp <Ntt> TREND PREDICTION APPARATUS AND METHOD, TREND PREDICTION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP2005242690A (en) * 2004-02-26 2005-09-08 Hitachi Ltd Storage subsystem and performance tuning method
JP2008299434A (en) * 2007-05-29 2008-12-11 Hitachi Ltd Storage control device and control method thereof
JP2009009194A (en) * 2007-06-26 2009-01-15 Hitachi Ltd Storage system with a function to reduce power consumption

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089916A (en) * 1998-09-11 2000-03-31 Fujitsu Ltd File control unit
JP2002182859A (en) * 2000-12-12 2002-06-28 Hitachi Ltd Storage system and method of using the same
JP2002342532A (en) * 2001-05-21 2002-11-29 Nippon Telegr & Teleph Corp <Ntt> TREND PREDICTION APPARATUS AND METHOD, TREND PREDICTION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP2005242690A (en) * 2004-02-26 2005-09-08 Hitachi Ltd Storage subsystem and performance tuning method
JP2008299434A (en) * 2007-05-29 2008-12-11 Hitachi Ltd Storage control device and control method thereof
JP2009009194A (en) * 2007-06-26 2009-01-15 Hitachi Ltd Storage system with a function to reduce power consumption

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2013094007A1 (en) * 2011-12-19 2015-04-27 富士通株式会社 Load balancing system
JP2014130387A (en) * 2012-12-27 2014-07-10 Fujitsu Ltd Storage controller selection system, storage controller selection method, and storage controller selection program
WO2017022233A1 (en) * 2015-08-06 2017-02-09 日本電気株式会社 Information processing device, request process delay control method, and storage medium

Similar Documents

Publication Publication Date Title
JP4749140B2 (en) Data migration method and system
JP6248560B2 (en) Management program, management method, and management apparatus
JP5423904B2 (en) Information processing apparatus, message extraction method, and message extraction program
US8484413B2 (en) Recording medium storing control program for decentralized data, storage management program, control node, and disk node
JP5245934B2 (en) Management device management program, management device, management device management method, and storage system
US8527238B2 (en) Storage input/output utilization associated with a software application
JP4514501B2 (en) Storage system and storage system failure solving method
JP6462116B2 (en) Management apparatus and management method
JP6476969B2 (en) Storage control device, control program, and control method
JP5222876B2 (en) System management method and management system in computer system
JP2009223442A (en) Storage system
JPWO2008114441A1 (en) Storage management program, storage management method, and storage management device
JP5998764B2 (en) Information processing apparatus, log output method, and log output program
JPWO2015063889A1 (en) Management system, plan generation method, and plan generation program
US20070220376A1 (en) Virtualization system and failure correction method
JP6209863B2 (en) Storage control device, storage control method, and storage control program
TW202018521A (en) Storage system architecture with a plurality of data storage subsystems each having a compatible module, and a method thereof
JP2011197804A (en) Program, method and apparatus for analyzing load
WO2013171865A1 (en) Management method and management system
US8843667B2 (en) Data storage methods and data storage systems
JP2016012288A (en) Test apparatus, test program, and test method
JP6481490B2 (en) Storage system, control device and control program
JP2018055467A (en) Management device, information processing system and management program
JP5556507B2 (en) Virtual machine management program, virtual machine management method, and virtual machine management apparatus
US8856485B2 (en) Storage system and storage control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140110

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140624

A045 Written measure of dismissal of application

Free format text: JAPANESE INTERMEDIATE CODE: A045

Effective date: 20141028