JP5678923B2 - Storage system, input / output control device, input / output control method, and computer program - Google Patents
Storage system, input / output control device, input / output control method, and computer program Download PDFInfo
- Publication number
- JP5678923B2 JP5678923B2 JP2012138689A JP2012138689A JP5678923B2 JP 5678923 B2 JP5678923 B2 JP 5678923B2 JP 2012138689 A JP2012138689 A JP 2012138689A JP 2012138689 A JP2012138689 A JP 2012138689A JP 5678923 B2 JP5678923 B2 JP 5678923B2
- Authority
- JP
- Japan
- Prior art keywords
- host
- input
- attribute
- output
- host attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 27
- 238000004590 computer program Methods 0.000 title claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 111
- 238000012545 processing Methods 0.000 claims description 67
- 238000004364 calculation method Methods 0.000 claims description 29
- 238000005259 measurement Methods 0.000 description 13
- 239000002699 waste material Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、1つ以上の物理的な記憶装置を備えたストレージシステムにおいて入出力要求を処理する技術に関する。 The present invention relates to a technique for processing an input / output request in a storage system including one or more physical storage devices.
1つ以上の物理的な記憶装置を搭載したストレージシステムが知られている。このようなストレージシステムとしては、例えば、1つ以上のハードディスクドライブを搭載したディスクアレイ装置がある。また、このようなストレージシステムには、ホスト装置から記憶装置に対して行われるデータの入出力を制御する入出力制御装置が備えられている。このような入出力制御装置として、ホスト装置からの入出力要求の内容に応じて入出力制御動作を変更することにより、入出力性能を向上させるものがある。 Storage systems equipped with one or more physical storage devices are known. An example of such a storage system is a disk array device on which one or more hard disk drives are mounted. In addition, such a storage system includes an input / output control device that controls input / output of data performed from the host device to the storage device. As such an input / output control device, there is one that improves input / output performance by changing the input / output control operation according to the content of the input / output request from the host device.
例えば、特許文献1には、ホスト装置からの入出力要求がシーケンシャルアクセスであるかランダムアクセスであるかに応じて、入出力制御動作を変更する入出力制御装置が記載されている。この入出力制御装置は、大きなキャッシュページサイズを有するキャッシュメモリと、小さなキャッシュページサイズを有するキャッシュメモリとを備えている。そして、この入出力制御装置は、入出力要求がシーケンシャルアクセスである場合、大きなキャッシュページサイズのキャッシュメモリを用い、将来アクセスされると予想される周囲のデータも一緒に先読みしておく。これにより、この入出力制御装置では、先読みしておいたデータにアクセスがあればキャッシュヒットする。したがって、この入出力制御装置は、キャッシュ効率を向上させる。また、この入出力制御装置は、入出力要求がランダムアクセスである場合、小さなキャッシュページサイズのキャッシュメモリを用いる。ランダムアクセスでは、キャッシュページが書き換えられる前に同じキャッシュページにアクセスされる確率が低い。そのため、この入出力制御装置は、キャッシュページサイズを小さくしてキャッシュページ数を増やすことにより、キャッシュ効率を向上させる。
For example,
また、特許文献2には、ホスト装置からの入出力要求がクリティカルな場合に、入出力制御動作を変更する入出力制御装置が記載されている。特許文献2では、クリティカルな入出力要求とは、応答性の要求が厳しい入出力要求をさしている。この入出力制御装置は、特定入出力パターンと、ホスト情報と、制御情報とを対応付けて記憶しておく。特定入出力パターンは、クリティカルな入出力要求がその後起こることが予測される入出力要求のシーケンスのパターンである。入出力要求のシーケンスのパターンは、各入出力要求がRead要求であるかWrite要求であるかの種別のシーケンスや、各入出力要求の時間間隔などからなる。また、制御情報は、キャッシュ常駐化のオンオフ情報等である。そして、この入出力制御装置は、ホスト装置から実際に受けた一連の入出力要求のパターンが、特定入出力パターンに一致したと判定した場合、対応付けておいた制御情報に基づく制御を行う。
上述のような入出力制御装置を含むストレージシステムには、一般に、1つ以上のホスト装置が接続される。これらのホスト装置は、その用途等に応じて、ホスト装置毎に特性のある入出力要求をストレージシステムに対して発行する。例えば、データサイズが大きい入出力要求を頻繁に発行するホスト装置がある。また、データサイズが小さい入出力要求を頻繁に発行するホスト装置がある。 In general, one or more host devices are connected to a storage system including an input / output control device as described above. These host devices issue an input / output request having a characteristic for each host device to the storage system in accordance with the application. For example, there is a host device that frequently issues input / output requests with a large data size. There is also a host device that frequently issues input / output requests with a small data size.
ところが、上述した特許文献1に記載された関連技術の入出力制御装置は、入出力要求の種類がシーケンシャルアクセスかランダムアクセスかに応じてキャッシュページサイズを変更しているものの、データサイズや入出力要求の頻度等といったホスト装置毎に異なる入出力要求の特性を考慮していない。また、上述した特許文献2に記載された関連技術の入出力制御装置は、入出力要求のシーケンスのパターンに応じてキャッシュメモリ常駐化のオンオフを変更しているものの、データサイズや入出力要求の頻度等といったホスト装置毎に異なる入出力要求の特性を考慮していない。
However, although the related art input / output control device described in
そのため、これらの関連技術の入出力制御装置では、データサイズが大きい入出力要求を頻繁に発行するホスト装置の場合、図9に示すように、データが複数のキャッシュページに跨ることが多くなる。なお、図9および以下で参照する各図面において、「キャッシュページ」という文字列を囲む矩形は、1つのキャッシュページを示し、その大きさでキャッシュページサイズを表している。また、ドットパターンの領域は、1つの入出力要求におけるデータサイズを示している。キャッシュページの処理はキャッシュページごとに行われるため、1つの入出力要求が複数のキャッシュページに跨ると、その分の遅延が発生する。したがって、これらの関連技術の入出力制御装置は、このようなホスト装置に対して、入出力処理を遅延させることが多かった。さらに、これらの関連技術の入出力制御装置では、データサイズが小さい入出力要求を頻繁に発行するホスト装置の場合、図10に示すように、キャッシュページの無駄使いが発生してしまう。 Therefore, in these related art input / output control devices, in the case of a host device that frequently issues an input / output request with a large data size, data often spans a plurality of cache pages as shown in FIG. In FIG. 9 and each drawing referred to below, a rectangle surrounding the character string “cache page” indicates one cache page, and the size indicates the cache page size. The dot pattern area indicates the data size in one input / output request. Since cache page processing is performed for each cache page, when one input / output request straddles a plurality of cache pages, a delay corresponding to that occurs. Therefore, the input / output control devices of these related techniques often delay input / output processing with respect to such a host device. Furthermore, in the related art input / output control devices, in the case of a host device that frequently issues an input / output request with a small data size, as shown in FIG. 10, cache pages are wasted.
また、図11に示すように、データサイズが大きい入出力要求を頻繁に発行するホスト装置Aの場合、大きいデータサイズの入出力要求によって回線が占有されるため、一度に大量の入出力要求が発行されることはない。なお、図11および以下で参照する各図面において、「I/O」という文字列を囲む矩形は、1つの入出力要求を示し、その大きさによって対象とするデータのデータサイズを表している。また、「キュー」という文字列を囲む楕円形は、1つのキューを示し、そのうちドットパターンで塗りつぶされたものは、使用中のキューを示している。なお、キューとは、未処理の入出力要求を格納する領域である。したがって、このようなホスト装置Aに対して用意される入出力要求のキューの数は、少なく設定されていてもよい。しかしながら、データサイズが小さい入出力要求を頻繁に発行するホスト装置Bの場合、小さいデータサイズの入出力要求が大量に発行される。したがって、このようなホスト装置に対して用意される入出力要求のキューの数は、より多く設定される必要がある。しかしながら、前述した関連技術の入出力制御装置では、接続されるホスト装置毎に異なる入出力要求の特性に応じて、キュー数を変更することができない。したがって、図11のホスト装置Bのように、ホスト装置においてキューの空き待ちが発生する場合がある。 Further, as shown in FIG. 11, in the case of the host apparatus A that frequently issues an input / output request with a large data size, the line is occupied by the input / output request with a large data size. It will not be issued. In FIG. 11 and each drawing referred to below, a rectangle surrounding the character string “I / O” indicates one input / output request, and represents the data size of the target data by its size. Further, an ellipse surrounding the character string “cue” indicates one cue, and a portion filled with a dot pattern indicates a cue in use. The queue is an area for storing unprocessed input / output requests. Therefore, the number of I / O request queues prepared for such a host apparatus A may be set small. However, in the case of the host apparatus B that frequently issues input / output requests with a small data size, a large number of input / output requests with a small data size are issued. Therefore, it is necessary to set a larger number of I / O request queues prepared for such a host device. However, in the related art input / output control device described above, the number of queues cannot be changed according to the characteristics of input / output requests that differ for each connected host device. Therefore, there is a case where the queue waiting in the host device occurs like the host device B in FIG.
このように、これらの関連技術の入出力制御装置は、ホスト装置毎に異なる入出力要求の特性に応じて、入出力制御動作を変更することができず、ホスト装置によっては入出力性能が充分でないという問題があった。 As described above, the input / output control devices of these related technologies cannot change the input / output control operation according to the characteristics of the input / output request which differs for each host device, and depending on the host device, the input / output performance is sufficient. There was a problem of not.
本発明は、上述の課題を解決するためになされたもので、ホスト装置毎に異なる入出力要求の特性に応じて、入出力性能を向上させる入出力制御装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an input / output control device that improves input / output performance in accordance with characteristics of input / output requests that differ for each host device.
本発明の入出力制御装置は、1つ以上の記憶装置を有するストレージシステムに備えられた入出力制御装置であって、前記記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定するホスト属性設定部と、前記ホスト装置から前記記憶装置に発行される入出力要求を受信すると、該入出力要求に応じた入出力処理を実行する入出力処理部と、前記ホスト装置毎に前記入出力要求を監視する入出力要求監視部と、前記入出力要求監視部による監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、判別した新たなホスト属性を前記ホスト属性設定部に通知するホスト属性判別部と、を備える。 An input / output control device according to the present invention is an input / output control device provided in a storage system having one or more storage devices, and each host device that issues an input / output request to the storage device includes: A host attribute indicating the characteristics of the input / output request is set, and a host attribute setting unit for setting parameters related to input / output processing in the own device according to the host attribute, and an input issued from the host device to the storage device When an output request is received, an input / output processing unit that executes input / output processing according to the input / output request, an input / output request monitoring unit that monitors the input / output request for each host device, and the input / output request monitoring unit For each host device, the new host attribute of the host device is determined for each host device, and the determined new host attribute is notified to the host attribute setting unit. Comprising a list attribute discrimination unit.
また、本発明のストレージシステムは、前記入出力制御装置と、1つ以上の前記記憶装置と、を備える。 The storage system of the present invention includes the input / output control device and one or more storage devices.
また、本発明の入出力制御方法は、1つ以上の記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定し、前記ホスト装置から前記記憶装置に発行される入出力要求を監視し、前記入出力要求の監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、判別した新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更する。 The input / output control method according to the present invention sets, for each host device that issues an input / output request for one or more storage devices, a host attribute indicating the characteristics of the input / output request of the host device, Set parameters related to input / output processing according to the host attribute, monitor the input / output request issued from the host device to the storage device, and for each host device based on the monitoring result of the input / output request The new host attribute of the host device is determined, and the host attribute and the parameter are changed for each host device using the determined new host attribute.
また、本発明のコンピュータ・プログラムは、1つ以上の記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定するホスト属性設定ステップと、前記ホスト装置から前記記憶装置に発行される入出力要求を監視する入出力要求監視ステップと、前記入出力要求監視ステップでの監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別するホスト属性判別ステップと、前記ホスト属性判別ステップで判別された新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更するホスト属性変更ステップと、をコンピュータ装置に実行させる。 In addition, the computer program of the present invention sets a host attribute indicating the characteristics of an input / output request of the host device for each host device that issues an input / output request for one or more storage devices, A host attribute setting step for setting parameters related to output processing according to the host attribute, an input / output request monitoring step for monitoring an input / output request issued from the host device to the storage device, and the input / output request monitoring step The host attribute determination step for determining a new host attribute of the host device for each of the host devices based on the monitoring result at the host device, and the new host attribute determined in the host attribute determination step, A host attribute changing step for changing the host attribute and the parameter for each device; To row.
本発明は、ホスト装置毎に異なる入出力要求の特性に応じて、入出力性能を向上させる入出力制御装置を提供することができる。 The present invention can provide an input / output control device that improves input / output performance according to the characteristics of input / output requests that differ from host device to host device.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(第1の実施の形態)
本発明の第1の実施の形態としてのストレージシステム1の構成を図1に示す。図1において、ストレージシステム1は、入出力制御装置10と、1つ以上の記憶装置80とを備える。記憶装置80は、例えば、ハードディスクドライブによって構成される。また、記憶装置80は、1つ以上の記憶装置80にデータを分散させて格納するRAID(Redundant Arrays of Inexpensive Disks)システムとして構成されていてもよい。
(First embodiment)
FIG. 1 shows the configuration of the
入出力制御装置10は、ホスト装置90に接続され、ホスト装置90からの記憶装置80に対する入出力要求を処理する。なお、図1には、4つの記憶装置80および3つのホスト装置90を示しているが、本発明のストレージシステムが備える記憶装置の数および本発明のストレージシステムが接続されるホスト装置の数を限定するものではない。
The input /
入出力制御装置10は、ホスト属性設定部11と、入出力処理部12と、入出力要求監視部13と、ホスト属性判別部14と、を備える。ここで、入出力制御装置10は、プロセッサと、メモリと、キャッシュメモリと、ホスト装置接続インタフェースと、記憶装置接続インタフェースとによって構成されている。
The input /
メモリには、コンピュータ装置を本実施の形態の入出力制御装置10として機能させるためのコンピュータ・プログラムおよび各種データが記憶されている。また、メモリには、ホスト装置90から受信される入出力要求のうち入出力処理待ちの入出力要求を順次格納する領域であるキューが含まれている。
The memory stores a computer program and various data for causing the computer device to function as the input /
プロセッサは、メモリに記憶されたコンピュータ・プログラムおよび各種データを読み込んで実行することにより、入出力制御装置10の各部を制御する。
The processor controls each unit of the input /
キャッシュメモリは、ホスト装置90および記憶装置80の間で転送されるデータを一時的に記憶する。また、キャッシュメモリは、キャッシュページと呼ばれる単位に分割されて管理される。
The cache memory temporarily stores data transferred between the
ホスト装置接続インタフェースは、ホスト装置90に接続してデータを送受信する。
The host device connection interface connects to the
記憶装置接続インタフェースは、記憶装置80に接続してデータを送受信する。
The storage device connection interface is connected to the
また、ホスト属性設定部11、入出力要求監視部13およびホスト属性判別部14は、メモリに記憶されたコンピュータ・プログラムおよび各種データを読み込んで実行するプロセッサによって構成される。また、入出力処理部12は、ホスト装置接続インタフェースと、記憶装置接続インタフェースと、キャッシュメモリと、メモリに記憶されたコンピュータ・プログラムおよび各種データを読み込んで実行するプロセッサとによって構成される。なお、入出力制御装置10およびその各機能ブロックを構成するハードウェア構成は、上述の構成に限定されない。
The host
ホスト属性設定部11は、ホスト装置90毎に、ホスト属性および該ホスト属性に応じたパラメータを設定する。ここで、ホスト属性とは、各ホスト装置90の入出力要求の特性を表す属性である。また、パラメータとは、ストレージシステム1の入出力処理に関わる各種パラメータである。
The host
例えば、ホスト属性としては、キャッシュページサイズに対してデータサイズが大きい入出力要求を頻繁に発行するために入出力要求においてスループットが優先されることを表す「スループット優先」という属性値が用意されていてもよい。また、他のホスト属性としては、キャッシュページのサイズに対してデータサイズが小さい入出力要求を頻繁に発行するために入出力要求においてIOPS(Input Output Per Second)が優先されることを表す「IOPS優先」という属性値が用意されていてもよい。 For example, as a host attribute, there is an attribute value “throughput priority” indicating that throughput is given priority in input / output requests in order to frequently issue input / output requests having a data size larger than the cache page size. May be. Another host attribute is “IOPS” indicating that IOPS (Input Output Per Second) is given priority in input / output requests in order to frequently issue input / output requests having a data size smaller than the cache page size. An attribute value “priority” may be prepared.
また、ホスト属性設定部11は、接続されるホスト装置90毎に、あらかじめメモリに記憶された情報に基づいて、ホスト属性を設定してもよい。あるいは、ホスト属性設定部11は、接続されるホスト装置90毎にホスト属性を設定させる属性設定用ユーザインタフェースをホスト装置90または管理端末(図示せず)に提供することにより、接続されるホスト装置90毎に、ホスト属性を設定してもよい。具体的には、ホスト属性設定部11は、ホスト装置90や管理端末において属性設定用ユーザインタフェースを用いて入力される情報を受信し、受信した情報に基づいてホスト属性を設定してもよい。
Further, the host
また、ホスト属性設定部11は、ホスト装置90毎に設定したホスト属性に基づいて、ホスト属性に応じたパラメータを設定する。パラメータとは、例えば、キャッシュページサイズであってもよい。また、パラメータとは、例えば、各ホスト装置90に対して割り当てられるキューの数に関するパラメータであってもよい。その他、パラメータとは、ストレージシステム1の入出力処理に関わる任意のパラメータであってもよい。また、ホスト属性に応じたパラメータは、あらかじめ、ホスト属性に対して定められたものであってもよい。例えば、上述の「スループット優先」というホスト属性に対しては、他のホスト属性より大きなキャッシュページサイズ、および、より少ないキュー数があらかじめ定められ、「IOPS優先」というホスト属性に対しては、他のホスト属性より小さなキャッシュページサイズ、および、より多いキュー数があらかじめ定められていてもよい。
Further, the host
また、ホスト属性設定部11は、後述のホスト属性判別部14から各ホスト装置90の新たなホスト属性を通知されると、通知されたホスト属性に基づいて、各ホスト装置90のホスト属性およびパラメータを設定する。このとき、ホスト属性設定部11は、新たなホスト属性に対してあらかじめ定められたパラメータを用いてもよい。
When the host
入出力処理部12は、ホスト装置90から入出力要求を受信すると、該入出力要求に応じた入出力処理を実行する。例えば、入出力処理部12は、上述のキューおよびキャッシュメモリを用いて入出力処理を行う。この場合、入出力処理部12は、ホスト装置90から受信された入出力要求を、そのホスト装置90に割り当てられたキューに格納する。そして、入出力処理部12は、各ホスト装置90のキューに格納された入出力要求を順次処理する。なお、上述のホスト属性設定部11によって設定されるパラメータに、キューに関するパラメータが含まれる場合、入出力処理部12は、設定されたキューの数に関するパラメータに基づいて、入出力要求の受信状況に応じて各ホスト装置90にキューを割り当てる。
When the input /
もし、処理対象の入出力要求がWrite系のデータ転送であった場合、入出力処理部12は、ホスト装置90から転送されたデータを一時的にキャッシュメモリに格納した後、所定のタイミングで記憶装置80に書き込む。また、もし、処理対象の入出力要求がRead系のデータ転送であった場合、入出力処理部12は、Read対象のデータがキャッシュメモリ上に存在した場合は、キャッシュメモリからデータを読み出す。また、Read対象のデータがキャッシュメモリ上に存在しない場合、入出力処理部12は、記憶装置80からデータを読み出してキャッシュメモリに格納するとともに、ホスト装置90に転送する。また、もし、処理対象の入出力要求がシーケンシャルなReadコマンドであった場合、入出力処理部12は、次のReadコマンドで要求されると思われるデータをあらかじめ記憶装置80からキャッシュメモリに読み出す先読み処理を行ってもよい。
If the input / output request to be processed is a write-type data transfer, the input /
ここで、キャッシュメモリは、キャッシュページと呼ばれる単位に分けられ、キャッシュページ単位で記憶装置80の物理領域と対応付けられている。入出力処理部12は、キャッシュメモリにデータを一時的に格納する場合、使用中のキャッシュページおよび未使用のキャッシュページを見極めることによりデータをキャッシュメモリのどのキャッシュページに割り当てるかを決めている。
Here, the cache memory is divided into units called cache pages, and is associated with the physical area of the
入出力要求監視部13は、ホスト装置90毎に受信される入出力要求を監視する。例えば、入出力要求監視部13は、ホスト装置90毎に、入出力要求におけるデータサイズに関する情報を監視してもよい。例えば、図9に示したように、キャッシュページサイズに対してデータサイズが大きい場合、データは、複数のキャッシュページに跨って格納されることになる。これを、キャッシュページ跨りともいう。そこで、入出力要求監視部13は、ホスト装置90毎に、所定期間におけるキャッシュページ跨りの発生割合を監視してもよい。具体的には、入出力要求監視部13は、所定期間においてあるホスト装置90から受信される入出力要求のデータサイズを測定することにより、キャッシュページ跨りの発生回数Sと、所定期間における入出力要求の総数Lとを求めてもよい。これにより、入出力要求監視部13は、ホスト装置90毎に、所定期間におけるキャッシュページ跨りの発生割合S/Lを算出可能となる。
The input / output
また、異なる入出力要求のデータは、同一のキャッシュページには格納されないようになっている。したがって、図10に示したように、キャッシュページサイズに対してデータサイズが小さい場合、キャッシュページの無駄使いが発生する。そこで、入出力要求監視部13は、ホスト装置90毎に、所定期間におけるキャッシュページ無駄遣いの発生割合を監視してもよい。具体的には、入出力要求監視部13は、所定期間においてあるホスト装置90から受信される入出力要求のデータサイズを測定することにより、データサイズがキャッシュページサイズの所定割合以下(例えば、半分以下)となった回数Nと、所定期間における入出力要求の総数Lとを求めてもよい。これにより、入出力要求監視部13は、ホスト装置90毎に、キャッシュページ無駄遣いの発生割合N/Lを算出可能となる。
Also, different input / output request data is not stored in the same cache page. Therefore, as shown in FIG. 10, when the data size is smaller than the cache page size, the cache page is wasted. Therefore, the input / output
また、入出力要求監視部13は、ホスト装置90毎にIOPSを監視してもよい。例えば、入出力要求監視部13は、あるホスト装置90について所定期間におけるIOPSを測定することにより、IOPSのデフォルト値γに対する実測値の割合P(=IOPS実測値/γ)を算出してもよい。
Further, the input / output
また、入出力要求監視部13は、データサイズやIOPSにそれぞれ関する情報に限らず、入出力要求のその他の特性を表す各種情報を監視すればよい。また、入出力要求監視部13は、1つの情報に限らず、複数の情報を監視してもよい。
Further, the input / output
なお、入出力要求監視部13は、監視対象の入出力要求がいずれのホスト装置90によって発行されたものであるかを、例えば、WWN(World Wide Name)などのような各ホスト装置90に固有の識別子を用いて判別可能である。
The input / output
ホスト属性判別部14は、入出力要求監視部13による監視結果に基づいて、各ホスト装置90の新たなホスト属性を判別し、判別した新たなホスト属性をホスト属性設定部11に通知する。例えば、ホスト属性判別部14は、ホスト装置90毎に、所定期間におけるデータサイズに関する情報に基づいて、新たなホスト属性を判別してもよい。具体的には、ホスト属性判別部14は、所定期間におけるキャッシュページ跨りの発生割合に基づいて、新たなホスト属性を判別してもよい。この場合、キャッシュページ跨りの発生割合が多い(例えば、発生割合の値が閾値より大きい)ほど、キャッシュページサイズに対して大きなサイズのデータの入出力要求を頻繁に発行するホスト装置90であることがわかる。そこで、ホスト属性判別部14は、このようなホスト装置90の新たなホスト属性を、前述の「スループット優先」であると判別してもよい。
The host
また、例えば、ホスト属性判別部14は、所定期間におけるキャッシュページ無駄遣いの発生割合に基づいて、新たなホスト属性を判別してもよい。この場合、キャッシュページ無駄遣いの発生割合が多い(例えば、発生割合の値が閾値より大きい)ほど、キャッシュページサイズに対して小さなサイズのデータの入出力要求を頻繁に発行するホスト装置90であることがわかる。そこで、ホスト属性判別部14は、このホスト装置90の新たなホスト属性を、前述の「IOPS優先」であると判別してもよい。
Further, for example, the host
また、例えば、ホスト属性判別部14は、所定期間におけるIOPS実測値に基づいて、新たなホスト属性を判別してもよい。具体的には、ホスト属性判別部14は、前述のIOPSのデフォルト値γに対する実測値の割合Pを用いて新たなホスト属性を判別してもよい。この場合、Pがより大きい(例えば、Pが閾値より大きい)ほど、キャッシュページサイズに対して小さなサイズのデータの入出力要求を頻繁に発行するホスト装置90であることがわかる。そこで、ホスト属性判別部14は、このホスト装置90の新たなホスト属性を、前述の「IOPS優先」であると判別してもよい。また、Pが小さい(例えば、Pが閾値以下である)ほど、キャッシュページサイズに対して大きなサイズのデータの入出力要求を頻繁に発行するホスト装置90であることがわかる。そこで、ホスト属性判別部14は、このホスト装置90の新たなホスト属性を、前述の「スループット優先」であると判別してもよい。
Further, for example, the host
また、ホスト属性判別部14は、データサイズやIOPSにそれぞれ関する情報の監視結果に限らず、入出力要求のその他の特性を表す各種情報の監視結果に基づいて、新たなホスト属性を判別してもよい。また、ホスト属性判別部14は、1種類の情報の監視結果に基づくだけでなく、複数の情報の監視結果の組み合わせに基づいて、新たなホスト属性を判別してもよい。
Further, the host
そして、ホスト属性判別部14は、上述のように判別した各ホスト装置90の新たなホスト属性を、ホスト属性設定部11に通知する。
Then, the host
以上のように構成されたストレージシステム1における入出力制御装置10の動作について、図2を参照して説明する。なお、図2において、入出力処理部12は、各ホスト装置90からの入出力要求を受信しながら、入出力要求を順次処理しているものとする。
The operation of the input /
まず、ホスト属性設定部11は、各ホスト装置90について、ホスト属性を設定する(ステップS1)。例えば、前述のように、ホスト属性設定部11は、各ホスト装置90についてあらかじめメモリに記憶された情報を用いてホスト属性を設定してもよいし、外部から入力される情報を用いてホスト属性を設定してもよい。
First, the host
次に、ホスト属性設定部11は、ステップS1で設定されたホスト属性に基づいて、各ホスト装置90からの入出力要求に応じた入出力処理に関わるパラメータを設定する(ステップS2)。例えば、前述のように、ホスト属性設定部11は、ステップS1で設定されたホスト属性に対してあらかじめ定められたキャッシュページサイズやキューの数を設定してもよい。
Next, the host
これにより、入出力処理部12は、各ホスト装置90に設定されたキャッシュページサイズやキューの数を用いて、入出力処理を行う。
As a result, the input /
次に、入出力要求監視部13は、各ホスト装置90について、入出力要求の監視を開始する(ステップS3)。
Next, the input / output
次に、入出力要求監視部13は、各ホスト装置90から受信される入出力要求を、ホスト装置90毎に監視する(ステップS4)。例えば、入出力要求監視部13は、ホスト装置90毎に、入出力要求のデータサイズやIOPS等を測定してもよい。
Next, the input / output
次に、入出力要求監視部13は、ステップS3で監視を開始してから所定期間経過したか否かを判断する(ステップS5)。
Next, the input / output
ここで、所定期間経過していないと判断した場合、入出力要求監視部13は、ステップS4の監視処理を続ける。
If it is determined that the predetermined period has not elapsed, the input / output
一方、所定期間経過したと判断した場合、入出力要求監視部13は、所定期間におけるステップS4の監視結果に基づいて、各ホスト装置90の新たなホスト属性を判別する(ステップS6)。
On the other hand, when determining that the predetermined period has elapsed, the input / output
例えば、前述のように、入出力要求監視部13は、所定期間の間にステップS4で取得された情報に基づいて、キャッシュページ跨りの発生割合S/L、キャッシュページ無駄遣いの発生回数N/L、IOPSのデフォルト値γに対する実測値の割合P等を算出してもよい。そして、例えば、ホスト属性判別部14は、キャッシュページ跨りの発生割合S/Lが閾値以上であれば、そのホスト装置90の新たなホスト属性を「スループット優先」であると判別してもよい。また、例えば、前述のように、ホスト属性判別部14は、キャッシュページ無駄遣いの発生割合N/Lが閾値以上であれば、そのホスト装置90の新たなホスト属性を「IOPS優先」であると判別してもよい。また、例えば、ホスト属性判別部14は、IOPSのデフォルト値γに対する実測値の割合Pが閾値以上であるか否かに基づいて、そのホスト装置90の新たなホスト属性を判別してもよい。
For example, as described above, the input / output
次に、ホスト属性判別部14は、ステップS6で判別された各ホスト装置90の新たなホスト属性を、ホスト属性設定部11に通知する(ステップS7)。なお、このステップにおいて、ホスト属性判別部14は、ステップS6で判別された新たなホスト属性が、現在のホスト属性と同一のホスト装置90については、ホスト属性設定部11への通知を行わなくてもよい。
Next, the host
これにより、ホスト属性設定部11は、通知された新たなホスト属性を用いて、各ホスト装置90に新たなホスト属性および新たなパラメータを設定可能となる。例えば、ホスト属性設定部11は、各ホスト装置90について、ホスト属性判別部14から通知された新たなホスト属性に対してあらかじめ定められたパラメータを用いて、新たなパラメータを設定可能となる。この場合、例えば、前述のように、ホスト属性判別部14は、新たなホスト属性にあらかじめ対応付けられたキャッシュページサイズやキューの数を設定してもよい。
Accordingly, the host
以上で、入出力制御装置10の動作の説明を終了する。
Above, description of operation | movement of the input /
次に、本発明の第1の実施の形態の効果について述べる。 Next, effects of the first exemplary embodiment of the present invention will be described.
本発明の第1の実施の形態としてのストレージシステムおよび入出力制御装置は、ホスト装置毎に異なる入出力要求の特性に応じて、より入出力性能を向上させることができる。 The storage system and the input / output control device according to the first embodiment of the present invention can further improve the input / output performance according to the characteristics of the input / output request that differs for each host device.
その理由は、ホスト属性設定部が、ホスト装置毎にホスト属性を設定し、ホスト属性に応じて入出力処理に関わるパラメータを設定するからである。さらには、入出力要求監視部が、ホスト装置毎に入出力要求を監視し、ホスト属性判別部が、ホスト装置毎の入出力要求の監視結果に基づいて適切なホスト属性を判別し、適切なホスト属性をホスト属性設定部に通知するからである。 This is because the host attribute setting unit sets a host attribute for each host device, and sets parameters related to input / output processing according to the host attribute. Further, the input / output request monitoring unit monitors the input / output request for each host device, and the host attribute determination unit determines an appropriate host attribute based on the monitoring result of the input / output request for each host device, and This is because the host attribute is notified to the host attribute setting unit.
これにより、本発明の第1の実施の形態は、ホスト装置毎に、入出力処理に関わるパラメータを設定可能とするだけでなく、そのホスト装置からの入出力要求の特性に変化がある場合や、設定されているホスト属性が適切でない場合は、より適切なホスト属性およびパラメータを設定することができる。したがって、本発明の第1の実施の形態は、ホスト装置毎に設定される適切なホスト属性による適切なパラメータによって入出力処理を行うことになり、入出力性能をより向上させることになる。 As a result, the first embodiment of the present invention not only makes it possible to set parameters related to input / output processing for each host device, but also changes the characteristics of input / output requests from the host device. If the set host attributes are not appropriate, more appropriate host attributes and parameters can be set. Therefore, in the first embodiment of the present invention, the input / output processing is performed with an appropriate parameter based on an appropriate host attribute set for each host device, and the input / output performance is further improved.
例えば、入出力要求監視部が、キャッシュページ跨りの発生割合を監視し、ホスト属性判別部が、キャッシュページ跨りの発生割合に基づいて判別した新たなホスト属性をホスト属性設定部に通知する場合、本実施の形態は、図3に示すように、キャッシュページ跨りの発生割合が多かったホスト装置Aについては、より適切なホスト属性を設定することにより、より適切なキャッシュページサイズを適用することができる。なお、図3における「ポート」、「キュー」および「キャッシュページ」は、本実施の形態の入出力制御部の一部分を構成するものである。このように、本実施の形態は、このようなホスト装置Aからの入出力要求におけるキャッシュページ跨りを軽減する。キャッシュページ跨りの発生は、キャッシュページ毎に入出力処理が行われるために入出力処理を遅延させる原因となっていた。したがって、本実施の形態は、キャッシュページ跨りによる入出力処理の遅延を軽減し、入出力性能を向上させることになる。 For example, when the input / output request monitoring unit monitors the occurrence ratio of the cache page straddling, and the host attribute determining unit notifies the host attribute setting unit of the new host attribute determined based on the occurrence ratio of the cache page straddling, In the present embodiment, as shown in FIG. 3, a more appropriate cache page size can be applied by setting a more appropriate host attribute for the host apparatus A having a high occurrence ratio of cache page straddling. it can. Note that “port”, “queue”, and “cache page” in FIG. 3 constitute part of the input / output control unit of the present embodiment. As described above, the present embodiment reduces the cache page straddle in such an input / output request from the host apparatus A. The occurrence of cache page straddling has been a cause of delaying input / output processing because input / output processing is performed for each cache page. Therefore, the present embodiment reduces input / output processing delay due to cache page straddling and improves input / output performance.
また、例えば、入出力要求監視部が、キャッシュページ無駄遣いの発生割合を監視し、ホスト属性判別部が、キャッシュページ無駄遣いの発生割合に基づいて判別した新たなホスト属性をホスト属性設定部に通知する場合、本実施の形態は、図3に示すように、キャッシュページ無駄遣いの発生割合が多かったホスト装置Bについては、より適切なホスト属性を設定することにより、より適切なキャッシュページサイズを適用することができる。したがって、本実施の形態は、このようなホスト装置Bからの入出力要求におけるキャッシュページの無駄使いを減らし、全体としてより多くの入出力要求をキャッシュメモリに割り当てられることとなる。ここで、記憶装置に対して直接Read/Writeを行うよりも、キャッシュメモリ上でRead/Writeを行った方が早い。したがって、本実施の形態は、より多くの入出力要求をキャッシュメモリに割り当てることにより、全体的な入出力性能を向上させることになる。 Further, for example, the input / output request monitoring unit monitors the occurrence rate of cache page waste, and the host attribute determination unit notifies the host attribute setting unit of the new host attribute determined based on the occurrence rate of cache page waste. In this case, as shown in FIG. 3, in the present embodiment, a more appropriate cache page size is applied by setting a more appropriate host attribute for the host apparatus B having a high occurrence rate of cache page waste. be able to. Therefore, this embodiment reduces the wasteful use of cache pages in such input / output requests from the host apparatus B, and more input / output requests can be allocated to the cache memory as a whole. Here, it is faster to perform read / write on the cache memory than to directly read / write to the storage device. Therefore, this embodiment improves the overall input / output performance by allocating more input / output requests to the cache memory.
また、本発明の第1の実施の形態としてのストレージシステムおよび入出力制御装置は、ホスト装置毎に異なる入出力要求の特性に応じて、高負荷の入出力要求にも対応可能となる。 In addition, the storage system and the input / output control apparatus according to the first embodiment of the present invention can cope with a high-load input / output request according to the characteristics of the input / output request that differs for each host device.
その理由は、入出力要求監視部が、IOPSを監視し、ホスト属性判別部が、IOPSの監視結果に基づいて判別した新たなホスト属性をホスト属性設定部に通知するからである。これにより、本実施の形態は、図3に示すように、各ホスト装置に、より適切なホスト属性を設定することにより、より適切なキューの数を適用することができる。これにより、本実施の形態は、小さなデータサイズの入出力要求を頻繁に発行するホスト装置に対してより多くのキューを割り当てることが可能となり、そのようなホスト装置からの高負荷の入出力要求にも対応可能となる。
(第2の実施の形態)
次に、本発明の第2の実施の形態について図面を参照して詳細に説明する。なお、本実施の形態の説明において参照する各図面において、本発明の第1の実施の形態と同一の構成および同様に動作するステップには同一の符号を付して本実施の形態における詳細な説明を省略する。
The reason is that the input / output request monitoring unit monitors the IOPS, and the host attribute determining unit notifies the host attribute setting unit of the new host attribute determined based on the IOPS monitoring result. Thereby, as shown in FIG. 3, this embodiment can apply a more appropriate number of queues by setting a more appropriate host attribute to each host device. As a result, this embodiment makes it possible to allocate more queues to host devices that frequently issue I / O requests with a small data size, and high load I / O requests from such host devices. Can also be supported.
(Second Embodiment)
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. Note that, in each drawing referred to in the description of the present embodiment, the same reference numerals are given to the same configuration and steps that operate in the same manner as in the first embodiment of the present invention, and the detailed description in the present embodiment. Description is omitted.
本発明の第2の実施の形態としてのストレージシステム2の構成を図4に示す。図4において、ストレージシステム2は、本発明の第1の実施の形態としてのストレージシステム1に対して、入出力制御装置10に替えて入出力制御装置20を備える点が異なる。また、入出力制御装置20は、本発明の第1の実施の形態としての入出力制御装置10に対して、ホスト属性設定部11に替えてホスト属性設定部21と、ホスト属性判別部14に替えてホスト属性判別部24とを備え、さらに、パラメータ算出部25と、推奨設定提示部26とを備える点が異なる。ここで、推奨設定提示部26は、ホスト装置接続インタフェースと、メモリに記憶されたコンピュータ・プログラムおよび各種データを読み込んで実行するプロセッサとによって構成される。また、パラメータ算出部25は、メモリに記憶されたコンピュータ・プログラムおよび各種データを読み込んで実行するプロセッサによって構成される。また、パラメータ算出部25は、本発明のホスト属性判別部の一実施形態の一部分を構成する。また、推奨設定提示部26は、本発明のホスト属性設定部の一実施形態の一部分を構成する。なお、入出力制御装置20およびその各機能ブロックを構成するハードウェア構成は、上述の構成に限定されない。
FIG. 4 shows the configuration of the
また、入出力制御装置20は、本発明の第1の実施の形態としての入出力制御装置10と同様に、記憶装置80およびホスト装置90に接続され、ホスト装置90によって発行される記憶装置80に対する入出力要求を処理する。
Further, the input /
ホスト属性設定部21は、ホスト装置90毎に、各ホスト装置90の入出力要求の特性を表すホスト属性を設定する。ここで、本実施の形態では、ホスト属性として、ホスト装置90による入出力要求が任意の特性を示す程度に応じて第1のホスト属性から第2のホスト属性まで2つ以上の段階に分けられたホスト属性があらかじめ用意されている。ここで、例えば、任意の特性が、「データサイズが大きい入出力要求を頻繁に発行するためにスループットが優先される」という特性である場合、この特性を示す程度が最も大きい第1のホスト属性として、「スループット優先」が設けられる。また、この特性を示す程度が最も小さいことは、「データサイズが小さい入出力要求を頻繁に発行するためにIOPSが優先される」ことであるとみなすことができる。したがって、この場合、この特性を示す程度が最も小さい第2のホスト属性として、「IOPS優先」が設けられる。そして、「スループット優先」から「IOPS優先」まで、この特性を示す程度に応じて2つ以上の段階のホスト属性が設定される。本実施の形態では、「スループット優先」および「IOPS優先」の間に、「デフォルト」が設けられることにより、3段階のホスト属性が用意されているものとして、以降の説明を行う。
The host
さらに、本実施の形態では、上述の3段階のホスト属性に加えて、「カスタム」および「オート」という各ホスト属性が用意されている。「カスタム」とは、そのホスト装置90のパラメータが外部からの入力情報に基づいて設定されることを表している。「オート」とは、そのホスト装置90のパラメータが外部からの入力情報を用いることなく適切に変更されうることを表している。
Furthermore, in this embodiment, in addition to the above-described three-level host attributes, host attributes “custom” and “auto” are prepared. “Custom” indicates that the parameters of the
また、ホスト属性設定部21は、ホスト装置90毎に、外部からの入力情報に基づいて、上述したホスト属性のいずれかを設定する。例えば、ホスト属性設定部21は、ホスト属性設定用のユーザインタフェースをホスト装置90または管理端末(図示せず)に提供することにより、ホスト装置90や管理端末から入力される情報に基づいてホスト属性を設定してもよい。
The host
また、ホスト属性設定部21は、各ホスト装置90に設定されたホスト属性に応じて、各ホスト装置90の入出力処理に適用されるパラメータを設定する。本実施の形態では、ホスト属性設定部21は、パラメータとして、キャッシュページサイズおよびキューの数に関するパラメータを設定する。
In addition, the host
例えば、ホスト属性設定部21は、ホスト属性が「カスタム」以外に設定されている場合、各ホスト属性に対してあらかじめ定められたキャッシュページサイズを設定する。また、ホスト属性設定部21は、ホスト属性が「カスタム」に設定されている場合、キャッシュページサイズとして外部から入力される情報を用いてキャッシュページサイズを設定する。
For example, when the host attribute is set to other than “custom”, the host
また、例えば、ホスト属性設定部21は、キュー数に関するパラメータとして、各ホスト装置90に割り当てられるキューの最低限数Mおよび上限数Yを設定してもよい。
For example, the host
ここで、キューの最低限数Mとは、ストレージシステム2が高負荷の状態においても、各ホスト装置90について最低限確保されるキューの数である。このようなキューの最低限数Mは、各ホスト属性に応じてあらかじめ定められていてもよい。なお、ホスト属性設定部21は、各ホスト装置90に対して、全ホスト装置90の最低限数Mの合計値が、入出力制御装置20が備える全体のキュー数を超えないように、それぞれキューの最低限数Mを設定する。もし、各ホスト装置90の最低限数Mの合計値が全体のキュー数を超えてしまう場合、ホスト属性設定部21は、ホスト属性または最低限数Mの設定変更を促すユーザインタフェースを提示してもよい。
Here, the minimum number M of queues is the number of queues secured for each
また、キューの上限数Yとは、そのホスト装置90からの入出力要求が高負荷となった場合に、そのホスト装置90に割り当て可能なキューの上限数である。ホスト属性設定部21は、各ホスト装置90について上限数Yを、次式(1)を用いて算出してもよい。
Y=Xβ/N+M ・・・式(1)
ここで、Xは、入出力制御装置20において使用可能なキュー数である。使用可能なキュー数Xは、全体のキュー数から、各ホスト装置90の最低限数Mの合計値を引くことにより求められる。また、βは、各ホスト属性に対してあらかじめ定められた所定の係数である。また、Nは、接続されているホスト装置90の数である。また、Mは、上述のキューの最低限数である。
The queue upper limit number Y is the upper limit number of queues that can be assigned to the
Y = Xβ / N + M (1)
Here, X is the number of queues that can be used in the input /
ホスト属性設定部21によって設定されるキュー数に関するパラメータの一例を図5に示す。図5は、上述の式(1)を用いて各ホスト属性のホスト装置90に設定されたキューの最低限数Mおよび上限数Yを示している。なお、図5において、キューの上限数が∞(無限大)であるとは、そのホスト装置90に割り当てるキュー数に上限を設けないことを表す。例えば、キューの上限数が∞に設定されたホスト装置90からの入出力要求が高負荷となるとき、他のホスト装置90に割り当てられるキューが最低限キュー数Mに近い数となっても、そのホスト装置90に優先的にキューが割り当てられることを示している。
An example of the parameters related to the number of queues set by the host
これにより、各ホスト装置90には、ホスト属性設定部21により設定された最低限数Mおよび上限数Yを用いて、M以上Y以下のキューが割り当てられる。このような最低限数Mおよび上限数Yに基づくキューの割り当ては、例えば入出力処理部12により制御される。
As a result, each
また、例えば、ホスト属性設定部21は、ホスト属性が「カスタム」に設定されているホスト装置90については、キュー数に関わるパラメータとして外部から入力される情報を用いて、これらのパラメータを設定すればよい。この場合、ホスト属性設定部21は、ホスト装置90毎に、キューの最低限数Mおよび所定の係数βを表す情報を外部から入力されることにより、上述の式(1)を用いて上限数Yを算出してもよい。
Further, for example, for the
また、ホスト属性設定部21は、後述のホスト属性判別部24から通知される各ホスト装置90の新たなホスト属性および新たなパラメータを、推奨設定提示部26を用いて提示する。例えば、推奨設定提示部26は、ホスト装置90または管理端末に対して、新たなホスト属性および新たなパラメータを含む情報を送信することにより、送信先の装置にこれらの情報を表示させてもよい。具体的には、推奨設定提示部26は、前述の属性設定用ユーザインタフェースに、これらの新たなホスト属性および新たなパラメータを含めて、ホスト装置90または管理端末に提供してもよい。つまり、推奨設定提示部26は、新たなホスト属性をホスト装置90に設定させるよう利用者を支援することになる。または、推奨設定提示部26は、新たなパラメータをホスト属性「カスタム」におけるパラメータとしてホスト装置90に設定させるよう利用者を支援することになる。これにより、ホスト属性設定部21は、推奨設定提示部26の提示に応じて外部から入力される情報を用いて、各ホスト装置90に新たなホスト属性および新たなパラメータを設定可能となる。
Further, the host
ただし、ホスト属性設定部21は、ホスト属性が「オート」に設定されたホスト装置90については、推奨設定提示部26による提示を行うことなく、そのホスト装置90の入出力処理に適用されるパラメータを変更してもよい。この場合、ホスト属性判別部24は、後述のホスト属性判別部24から通知される新たなパラメータを、そのホスト装置90の入出力処理に適用されるパラメータとして設定すればよい。
However, the host
ホスト属性判別部24は、ホスト装置90毎に、入出力要求監視部13による監視結果に基づいて、新たなパラメータを算出するパラメータ算出部25を有する。
The host
例えば、パラメータ算出部25は、データサイズに関する監視結果に基づいて、新たなパラメータとしてのキャッシュページサイズを算出してもよい。このとき、例えば、パラメータ算出部25は、入出力要求監視部13によって得られた所定期間におけるデータサイズの実測値の平均値に所定のマージンを加えた値を、新たなキャッシュページサイズとして算出してもよい。
For example, the
また、例えば、パラメータ算出部25は、IOPSの監視結果に基づいて、新たなパラメータとしてキューの最低限数M’および上限数Y’を算出してもよい。例えば、パラメータ算出部25は、IOPSのデフォルト値γに対する実測値の割合Pが1未満であれば、新たなキューの最低限数M’および新たな上限数Y’を、それまでの最低限数Mおよび上限数Yより小さくなるよう算出する。また、IOPSのデフォルト値γに対する実測値の割合Pが1以上であれば、パラメータ算出部25は、新たなキューの最低限数M’および新たな上限数Y’を、それまでの最低限数Mおよび上限数Yより大きくなるよう算出する。このような新たなキューの最低限数M’および新たな上限数Y’を算出するため、例えば、パラメータ算出部25は、次式(2)および次式(3)を用いてもよい。
M’=P×M0 ・・・ 式(2)
Y’=X×P/N+M’ ・・・ 式(3)
ここで、M0は、その時点でそのホスト装置90に設定されているキューの最低限数Mを表す。また、Pは、P=IOPS実測値/γによって得られる値であり、前述のように、IOPSのデフォルト値γに対する実測値の割合である。なお、IOPSのデフォルト値γは、あらかじめストレージシステム2に定められた値であってもよい。あるいは、IOPSのデフォルト値γは、各ホスト装置90のIOPS実測値の平均値等が適用されてもよい。
For example, the
M ′ = P × M0 (2)
Y ′ = X × P / N + M ′ (3)
Here, M0 represents the minimum number M of queues set in the
また、ホスト属性判別部24は、ホスト装置90毎に、入出力要求監視部13による監視結果に基づいて、新たなホスト属性を判別する。具体的には、ホスト属性判別部24は、各ホスト装置90のホスト属性を、「スループット優先」寄りおよび「IOPS優先」寄りのいずれの方向に何段階変更するかを決定する。そして、ホスト属性判別部24は、決定した方向に決定した段階数分だけ、該ホスト装置90にその時点で設定されていたホスト属性を変更したホスト属性を、新たなホスト属性として判別する。なお、ホスト属性判別部24は、ホスト属性が「カスタム」または「オート」に設定されたホスト装置90については、新たなホスト属性を判別しなくてもよい。
Further, the host
例えば、ホスト属性判別部24は、データサイズまたはIOPSに関する監視結果に基づいて、次のようにホスト属性を変更する方向および変更する段階数を決定してもよい。具体的には、ホスト属性判別部24は、各ホスト装置90に関するキャッシュページ跨りの発生割合S/Lが多ければ(例えば、発生割合の値が閾値より大きければ)、そのホスト装置90に設定されているホスト属性を「スループット優先」寄りに変更すると決定してもよい。また、ホスト属性判別部24は、各ホスト装置90に関するキャッシュページ無駄遣いの発生割合N/Lが多ければ(例えば、発生割合の値が閾値より大きければ)、そのホスト装置90に設定されているホスト属性を「IOPS優先」寄りに変更すると決定してもよい。このとき、ホスト属性判別部24は、キャッシュページ跨りの発生割合S/Lまたはキャッシュページ無駄遣いの発生割合N/Lの値の大きさに応じて、該当する方向へ何段階変更するかを決定すればよい。
For example, the host
また、ホスト属性判別部24は、キャッシュページ跨りの発生割合S/Lおよびキャッシュページの無駄遣いの発生割合N/Lのどちらの割合も低い場合(例えば、それぞれの閾値以下である場合)には、現在のホスト属性をそのまま新たなホスト属性としてもよい。
In addition, the host
また、ホスト属性判別部24は、各ホスト装置90に関するIOPSのデフォルト値に対する実測値の割合Pが大きければ(例えば、Pが閾値より大きければ)、そのホスト装置90に設定されているホスト属性を「IOPS優先」寄りに変更すると決定してもよい。また、ホスト属性判別部24は、前述のPが小さければ(例えば、Pが閾値以下であれば)、そのホスト装置90に設定されているホスト属性を「スループット優先」寄りに変更すると決定してもよい。このとき、ホスト属性判別部24は、Pの値の大きさに応じて、該当する方向へ何段階変更するかを決定すればよい。
Further, if the ratio P of actual measurement values to the IOPS default value for each
また、ホスト属性判別部24は、上述のデータサイズに関する監視結果やIOPSに関する監視結果等、複数の情報に関する監視結果の組み合わせに基づいて、ホスト属性を変更する方向および変更する段階数を決定してもよい。
In addition, the host
このような複数の情報に関する監視結果の組み合わせに基づく新たなホスト属性の判別条件の一例を図6に示す。図6では、例えば、ホスト属性判別部24は、S/L≧0.5、N/L<0.5、および0.5≦P<0.8が満たされるホスト装置90については、「1段階スループット寄りへ」という判別結果を適用する。ここで、前述のように、ホスト属性としては、「カスタム」および「オート」以外では、「IOPS優先」、「デフォルト」、「スループット優先」の順に3段階のホスト属性が用意されている。したがって、「1段階スループット寄りへ」との判別結果は、その時点でそのホスト装置90のホスト属性が「IOPS優先」であれば、「IOPS優先」から「1段階スループット寄りへ」変更した「デフォルト」が新たなホスト属性として判別されることを表している。また、「2段階スループット寄りへ」との判別結果は、その時点でのそのホスト装置90のホスト属性が「IOPS優先」であれば、「IOPS優先」から「2段階スループット寄りへ」変更した「スループット優先」が新たなホスト属性として判別されることを表している。
An example of a new host attribute determination condition based on a combination of monitoring results regarding a plurality of pieces of information is shown in FIG. In FIG. 6, for example, the host
以上のように構成されたストレージシステム2の動作について、図7を参照して説明する。なお、図7において、入出力処理部12は、各ホスト装置90からの入出力要求を受信しながら、入出力要求を順次処理しているものとする。
The operation of the
まず、ホスト属性設定部21は、外部からの入力に応じて、各ホスト装置90についてホスト属性を設定する(ステップS11)。ここでは、「カスタム」、「オート」、「スループット優先」、「デフォルト」、「IOPS優先」のいずれかのホスト属性が設定されたものとする。
First, the host
例えば、前述のように、ホスト属性設定部21は、ホスト装置90または管理端末に提供した属性設定用ユーザインタフェースを介して、その装置で入力される情報を用いて、各ホスト装置90のホスト属性を設定すればよい。
For example, as described above, the host
次に、ホスト属性設定部21は、各ホスト装置90についてステップS11で設定されたホスト属性に基づいて、各ホスト装置90の入出力要求の処理において適用するキャッシュページサイズを設定する(ステップS12)。
Next, the host
例えば、前述のように、ホスト属性設定部21は、ステップS11で設定されたホスト属性が「カスタム」以外であれば、そのホスト属性に対してあらかじめ定められたキャッシュページサイズを設定してもよい。また、ホスト属性設定部21は、ステップS11で設定されたホスト属性が「カスタム」であれば、キャッシュページサイズとしてホスト装置90または管理端末で入力された値を設定してもよい。また、例えば、ステップS11で設定されたホスト属性が「オート」である場合、「オート」の場合に最初に適用すると定められたホスト属性(例えば、「デフォルト」)に対して定められたキャッシュページサイズを設定してもよい。
For example, as described above, if the host attribute set in step S11 is other than “custom”, the host
次に、ホスト属性設定部21は、各ホスト装置90についてステップS11で設定されたホスト属性に基づいて、各ホスト装置90の入出力要求の処理において用いるキューに関するパラメータを設定する(ステップS13)。このステップの詳細および具体例については後述する。
Next, the host
以降、入出力処理部12は、ステップS12およびステップS13で設定されたキャッシュページサイズおよびキューに関するパラメータを用いて、各ホスト装置90からの入出力要求を処理する。
Thereafter, the input /
次に、入出力要求監視部13は、各ホスト装置90に対する入出力要求の監視を開始する(ステップS14)。
Next, the input / output
次に、入出力要求監視部13は、各ホスト装置90からのIOPSを測定する(ステップS15)。
Next, the input / output
次に、入出力要求監視部13は、各ホスト装置90からの入出力要求のデータサイズを測定する(ステップS16)。
Next, the input / output
次に、入出力要求監視部13は、ステップS14での監視開始以降、所定期間が経過したか否かを判断する(ステップS17)。
Next, the input / output
ここで、所定期間が経過していない場合、入出力要求監視部13は、ステップS15からS16の監視処理を続行する。
Here, when the predetermined period has not elapsed, the input / output
一方、所定期間が経過した場合、パラメータ算出部25は、ステップS15のIOPSの監視結果に基づいて、各ホスト装置90に適切な新たなパラメータとしてキューの数を算出する(ステップS18)。
On the other hand, when the predetermined period has elapsed, the
例えば、前述のように、パラメータ算出部25は、ホスト装置90毎に、IOPSのデフォルト値γに対するステップS15における実測値の割合Pを用いて、前述の式(2)および式(3)を用いて、新たな最低限のキュー数M’および新たな上限数Y’を算出してもよい。このステップの具体例については後述する。
For example, as described above, the
次に、パラメータ算出部25は、ステップS16のデータサイズの監視結果に基づいて、各ホスト装置90に適切な新たなパラメータとしてキャッシュページサイズを算出する(ステップS19)。
Next, the
例えば、前述のように、パラメータ算出部25は、ホスト装置90毎に、所定期間においてステップS16で測定されたデータサイズの実測値の平均値に所定のマージンを加えた値を、新たなキャッシュページサイズとして算出してもよい。
For example, as described above, the
次に、ホスト属性判別部24は、ステップS15〜S16の監視結果に基づいて、各ホスト装置90に適切な新たなホスト属性を判別する(ステップS20)。
Next, the host
例えば、前述のように、ホスト属性判別部24は、ホスト装置90毎に、所定期間におけるキャッシュページ跨りの発生割合S/L、キャッシュページ無駄遣いの発生割合N/L、IOPSのデフォルト値γに対する実測値の割合P、または、これらの組み合わせ等に基づいて、この時点で設定されているホスト属性を、いずれの方向に何段階変更するかを決定することにより、新たなホスト属性を判別してもよい。
For example, as described above, the host
そして、ホスト属性判別部24は、各ホスト装置90について、ステップS20で判別した新たなホスト属性と、ステップS18〜S19で算出した新たなパラメータとを、ホスト属性設定部21に通知する。
Then, the host
次に、ホスト属性設定部21は、各ホスト装置90に設定されているホスト属性が、「オート」であるか否かを判断する(ステップS21)。
Next, the host
ここで、「オート」以外に設定されていると判断した各ホスト装置90について、ホスト属性設定部21は、現在設定されているホスト属性と、新たなホスト属性とが同一であるか否かを判断する(ステップS22)
ここで、現在のホスト属性と新たなホスト属性とが同一であると判断した各ホスト装置90について、入出力制御装置20は、ステップS14に戻り、入出力処理を続行しながら、入出力要求の監視を続行する。
Here, for each
Here, for each
一方、現在のホスト属性と新たなホスト属性とが同一でないと判断した各ホスト装置90について、推奨設定提示部26は、該当するホスト装置90毎に、新たなホスト属性および新たなパラメータを提示する(ステップS23)。
On the other hand, for each
例えば、前述のように、推奨設定提示部26は、ホスト装置90または管理端末に対して提供する属性設定用ユーザインタフェースに、新たなホスト属性と新たなパラメータとを表す情報を含めて送信することにより、ホスト装置90または管理端末にこれらの情報を表示させてもよい。
For example, as described above, the recommended setting presenting unit 26 transmits information including new host attributes and new parameters to the attribute setting user interface provided to the
そして、入出力制御装置20は、ステップS14に戻り、入出力処理を続行しながら、入出力要求の監視を続行する。
Then, the input /
なお、この後、ステップS23による提示処理に応じて、ホスト装置90または管理端末においてホスト属性またはパラメータが入力されることが考えられる。その場合、入出力制御装置20は、ステップS11からの動作を実行する。
After this, it is conceivable that a host attribute or parameter is input in the
一方、ステップS21において、「オート」に設定されていると判断した各ホスト装置90について、ホスト属性設定部21は、ステップS18〜S19で算出された新たなパラメータを用いて、キャッシュページサイズおよびキューの数の設定を変更する(ステップS24)。このとき、ホスト属性設定部21は、キャッシュページサイズおよびキュー数を変更したことを表す情報を、推奨設定提示部26を用いて提示してもよい。
On the other hand, for each
そして、入出力制御装置20は、ステップS14に戻り、入出力処理を続行しながら、入出力要求の監視を続行する。
Then, the input /
次に、ステップS13におけるキューに関するパラメータの設定動作の詳細について、図8を参照して説明する。 Next, details of the parameter setting operation relating to the queue in step S13 will be described with reference to FIG.
ここでは、まず、ホスト属性設定部21は、各ホスト装置90のキューの最低限数Mを決定する(ステップS31)。例えば、ホスト属性設定部21は、ステップS11で設定されたホスト属性が「カスタム」以外の各ホスト装置90については、各ホスト属性に対してあらかじめ定められたキューの最低限数Mを適用すればよい。また、ホスト属性設定部21は、ホスト属性設定部21は、ステップS11で設定されたホスト属性が「カスタム」である各ホスト装置90については、キューの最低限数Mとして入力された値を設定すればよい。
Here, first, the host
次に、ホスト属性設定部21は、入出力制御装置20に備えられた全体のキュー数から、各ホスト装置90に対して設定されたキューの最低限数Mの合計を引くことにより、使用可能なキュー数Xを求める(ステップS32)。
Next, the host
次に、ホスト属性設定部21は、入出力制御装置20において現在使用されているキュー数が閾値αを超えるか否かを判断する(ステップS33)。
Next, the host
ここで、閾値αを超えていないと判断した場合、ホスト属性設定部21は、入出力処理を所定期間続行した後(ステップS35)、再度ステップS33の判断処理を実行する。
If it is determined that the threshold value α is not exceeded, the host
一方、閾値αを超えると判断した場合、ホスト属性設定部21は、各ホスト装置90について使用可能なキューの上限数Yを設定する(ステップS34)。このとき、入出力制御装置20は、ステップS31で設定されたキューの最低限数Mと、所定の係数βとを用いて、前述の式(1)を用いて各ホスト装置90の上限数Yを算出すればよい。なお、この場合、「カスタム」以外のホスト属性については、所定の係数βは、各ホスト属性に対応付けてあらかじめ定められている。また、ホスト属性「カスタム」の場合、ホスト属性設定部21は、ステップS11において「カスタム」を表す情報とともに入力された所定の係数βの値を用いて、式(1)に基づき上限数Yを設定してもよい。あるいは、ホスト属性が「カスタム」の場合で、ステップS11において「カスタム」を表す情報と共にキューの上限数Yの値が既に入力されている場合、ホスト属性設定部21は、入力された上限数Yを設定すればよい。また、ホスト属性が「オート」の場合、ホスト属性設定部21は、ホスト属性判別部24から通知された新たなパラメータを用いて、上限数Yを設定すればよい。なお、ホスト属性が「オート」の場合で、まだホスト属性判別部24からの新たなパラメータの通知がない場合、ホスト属性設定部21は、例えば「デフォルト」に対して定められたキューの最低限数Mおよび所定の係数βを用いて上限数Yを設定してもよい。
On the other hand, if it is determined that the threshold value α is exceeded, the host
そして、入出力制御装置20は、入出力処理を所定期間続行した後(ステップS35)、再度ステップS33からの処理を実行する。
Then, the input /
なお、以上のようにキューに関するパラメータを設定するステップS13の処理は、ステップS14〜S17の監視処理と並行して行われていてもよい。 In addition, the process of step S13 which sets the parameter regarding a queue as mentioned above may be performed in parallel with the monitoring process of steps S14-S17.
次に、ステップS13における動作を具体的な数値を用いて説明する。例えば、入出力制御装置20に、「スループット優先」に設定されたホスト装置90が2台、「IOPS優先」に設定されたホスト装置90が1台、「デフォルト」に設定されたホスト装置90が1台、および、「カスタム」に設定されたホスト装置90が1台接続されていたことを想定する。また、「スループット優先」に対しては、あらかじめM=600、β=0.6が定められ、「IOPS優先」に対しては、あらかじめM=2000、β=∞が定められ、「デフォルト」に対しては、M=1000、β=1.0が定められていたとする。また、「カスタム」に設定されたホスト装置90には、M=800、β=0.8が入力されているものとする。また、ストレージシステム2内の全体のキュー数が10000であり、閾値αとして、全体のキュー数の0.8倍の8000が設定されている場合を考える。
Next, the operation in step S13 will be described using specific numerical values. For example, in the input /
この場合、キューの最低限数Mの全ホスト装置90の合計は5000である。そこで、使用可能なキュー数Xは、10000から5000を引いた5000となる。したがって、入出力制御装置20において使用されるキュー数が閾値8000を超えた場合(ステップS33でYes)、ホスト属性設定部21は、各ホスト装置90に対して高負荷時に使用可能なキューの上限数Yを図5のように算出し、設定する。入出力処理部12は、設定されたキューの最低限数Mおよび上限数Yにしたがって、各ホスト装置90に対してキューを割り当てる。これより、各ホストへ均等にキューを割り当てるよりも、比較的多くのキューをIOPS優先のホスト装置90に割り当てられることとなる。
In this case, the total of all the
次に、ステップS18における新たなキューに関するパラメータの算出動作を具体的な数値を用いて説明する。例えば、使用可能なキュー数Xが5000であるとする。また、IOPSのデフォルト値γとして、ストレージシステム2の全体のキュー数10000を、接続されているホスト装置90の台数5で割った2000が適用されている場合について考える。このとき、「スループット優先」(M=600、β=0.6、Y=1200)に設定されたホスト装置90からのIOPSの実測値が2500だったとする。この場合、パラメータ算出部25は、IOPSのデフォルト値γ=2000に対する実測値2500の割合P=1.25を算出する。そして、パラメータ算出部25は、式(2)に、それまでのキューの最低限数M=600およびP=1.25を適用することにより、新たなキューの最低限数M’=750を算出する。また、パラメータ算出部25は、式(3)に、P=1.25および新たなキューの最低限数M’=750を適用することにより、新たなキューの上限数Y’=2000を算出する。
Next, the parameter calculation operation for the new queue in step S18 will be described using specific numerical values. For example, it is assumed that the number of usable queues X is 5000. Further, a case is considered in which 2000, which is the total number of queues of the
以上で、入出力制御装置20の動作の説明を終了する。
Above, description of operation | movement of the input /
なお、ホスト属性設定部21は、ステップS24において、ホスト属性が「オート」に設定されているホスト装置90について、ステップS18〜S19で算出された新たなパラメータを設定すると説明した。この他、ホスト属性設定部21は、ホスト属性が「オート」に設定されているホスト装置90について、その入出力要求の特性が「スループット優先」、「デフォルト」、「IOPS優先」のいずれのホスト属性に該当するかに基づいて、該当するホスト属性に対してあらかじめ設定されているパラメータをステップS24で設定するようにしてもよい。
It has been described that the host
次に、本発明の第2の実施の形態の効果について述べる。 Next, the effect of the second exemplary embodiment of the present invention will be described.
本発明の第2の実施の形態としてのストレージシステムおよび入出力制御装置は、ホスト装置毎に異なる入出力要求の特性に応じて、さらに入出力性能を向上させることができる。 The storage system and the input / output control device according to the second embodiment of the present invention can further improve the input / output performance according to the characteristics of the input / output request that differs for each host device.
その理由は、入出力要求監視部が、ホスト装置毎に入出力要求を監視し、ホスト属性判別部が、ホスト装置毎に、監視結果に基づいて適切なホスト属性および適切なパラメータを求め、ホスト属性設定部が、ホスト属性判別部によって求められた適切なホスト属性および適切なパラメータを用いて、このホスト装置のホスト属性およびパラメータを変更するからである。これにより、本実施の形態は、ホスト装置毎の入出力要求の特性を考慮して、より適切なパラメータを設定可能となるからである。 The reason is that the input / output request monitoring unit monitors input / output requests for each host device, and the host attribute determining unit obtains appropriate host attributes and appropriate parameters for each host device based on the monitoring results. This is because the attribute setting unit changes the host attribute and parameter of the host device using the appropriate host attribute and the appropriate parameter obtained by the host attribute determination unit. This is because the present embodiment can set more appropriate parameters in consideration of the characteristics of input / output requests for each host device.
さらに、ホスト属性設定部は、新たなホスト属性および新たなパラメータを推奨設定として提示することにより、利用者に対して、ホスト装置毎に適切なホスト属性および適切なパラメータの設定を支援することができるからである。また、ホスト属性設定部は、ホスト属性がオートに設定されたホスト装置については、ホスト属性またはパラメータの入力情報を必要とせずに、適切なホスト属性および適切なパラメータに設定を変更することも可能だからである。 Furthermore, the host attribute setting unit can assist the user in setting appropriate host attributes and appropriate parameters for each host device by presenting new host attributes and new parameters as recommended settings. Because it can. In addition, the host attribute setting unit can change the settings to appropriate host attributes and appropriate parameters without requiring host attribute or parameter input information for host devices with the host attribute set to auto. That's why.
また、本発明の第2の実施の形態としてのストレージシステムおよび入出力制御装置は、ホスト装置毎に異なる入出力要求の特性に応じて、さらに適切にキューの数を割り当てることができる。 In addition, the storage system and the input / output control device according to the second embodiment of the present invention can assign the number of queues more appropriately according to the characteristics of the input / output request that differs for each host device.
その理由は、ホスト属性設定部が、各ホスト装置に設定されたホスト属性に基づいてキューの最低限数および上限数を設定し、パラメータ算出部が、入出力要求監視部による監視結果に基づいて、適切なキューの最低限数および上限数を新たに算出し、ホスト属性設定部が、算出された新たなキューの最低限数および上限数に基づいて、各ホスト装置のキューの最低限の数および上限数を設定可能とするからである。 The reason is that the host attribute setting unit sets the minimum number of queues and the upper limit number based on the host attributes set for each host device, and the parameter calculation unit is based on the monitoring result by the input / output request monitoring unit. The minimum number and maximum number of appropriate queues are newly calculated, and the host attribute setting unit determines the minimum number of queues for each host device based on the calculated minimum number and maximum number of queues. This is because the upper limit number can be set.
なお、本発明の第2の実施の形態において、キューの最低限数および上限数を設定することによりキューが割り当てられる例を中心に説明したが、本実施の形態は、他のキューの割り当て方法が採用された入出力制御装置およびストレージシステムにも適用可能である。その場合、ホスト属性設定部およびパラメータ算出部は、他のキューの割当方法において用いられるパラメータを設定および算出するようにすればよい。また、ホスト属性設定部およびパラメータ算出部は、式(1)〜(3)を用いて各種パラメータを算出する例を中心に説明したが、他の式を用いて各種パラメータを算出してもよい。また、各ホスト属性に対してあらかじめ設定されるキューの最低限数Mや所定の係数βの値は、上述の例において示した値に限らず、様々な値を適用可能である。 In the second embodiment of the present invention, the example in which queues are allocated by setting the minimum number and the upper limit number of queues has been mainly described. However, the present embodiment is not limited to other queue allocation methods. The present invention can also be applied to an input / output control device and a storage system in which is used. In this case, the host attribute setting unit and the parameter calculation unit may set and calculate parameters used in other queue allocation methods. In addition, the host attribute setting unit and the parameter calculation unit have been described mainly with respect to an example in which various parameters are calculated using the equations (1) to (3), but various parameters may be calculated using other equations. . The minimum number M of queues set in advance for each host attribute and the value of the predetermined coefficient β are not limited to the values shown in the above example, and various values can be applied.
また、本発明の第2の実施の形態において、パラメータ算出部は、適切なキャッシュページサイズの求め方として、所定期間におけるデータサイズの実測値の平均値に所定のマージンを加えた値を使用したが、各種監視結果に基づく他の算出方法により適切なキャッシュページサイズを算出してもよい。 In the second embodiment of the present invention, the parameter calculation unit uses a value obtained by adding a predetermined margin to the average value of the actual measurement values of the data size in a predetermined period, as a method for obtaining an appropriate cache page size. However, an appropriate cache page size may be calculated by other calculation methods based on various monitoring results.
また、本発明の第2の実施の形態では、ホスト属性として、スループット優先、デフォルトおよびIOPS優先の3段階が用意され、さらに、カスタムおよびオートを加えた5種類が用意されている例について説明した。その他、本発明の第2の実施の形態においてホスト属性は、スループット優先およびIOPS優先のみの2段階のホスト属性であってもよいし、スループット優先およびIOPS優先を含む4段階以上のホスト属性が用意されていてもよい。また、本発明の第2の実施の形態において、ホスト属性は、スループット優先およびIOPS優先に限らず、入出力要求の任意の特性について、その特性を示す程度に応じて第1のホスト属性から第2のホスト属性までの2段階以上のホスト属性が用意されていればよい。 In the second embodiment of the present invention, three types of throughput priority, default, and IOPS priority are prepared as host attributes, and five types including custom and auto are prepared. . In addition, in the second embodiment of the present invention, the host attribute may be a two-level host attribute with only throughput priority and IOPS priority, or four or more levels of host attributes including throughput priority and IOPS priority are prepared. May be. In the second embodiment of the present invention, the host attribute is not limited to throughput priority and IOPS priority, and any characteristic of the input / output request is changed from the first host attribute to the first according to the degree of the characteristic. Two or more host attributes up to two host attributes may be prepared.
また、上述した本発明の各実施の形態では、ホスト属性判別部は、入出力要求監視部による監視結果に基づいて、各ホスト装置に適切な新たなホスト属性を判別するものとして説明した。この他、ホスト属性判別部は、パラメータ算出部によって算出された新たなパラメータに基づいて、各ホスト装置に適切な新たなホスト属性を判別してもよい。例えば、あらかじめ各ホスト属性に対して各パラメータの範囲を記憶しておき、新たに算出されたパラメータの値を含む範囲に対応付けておいたホスト属性を、新たなホスト属性として判別してもよい。 Further, in each of the embodiments of the present invention described above, the host attribute determination unit has been described as determining a new host attribute appropriate for each host device based on the monitoring result by the input / output request monitoring unit. In addition, the host attribute determination unit may determine a new host attribute appropriate for each host device based on the new parameter calculated by the parameter calculation unit. For example, a range of each parameter may be stored in advance for each host attribute, and a host attribute associated with a range including a newly calculated parameter value may be determined as a new host attribute. .
また、上述した本発明の各実施の形態では、入出力要求監視部が、入出力要求のデータサイズに関する情報およびIOPSに関する情報を監視する例を中心に説明した。その他、本発明の各実施の形態において、入出力要求監視部は、ホスト装置が発行する入出力要求の特性を判断可能な他の情報を監視してもよい。また、ホスト属性判別部は、そのような他の情報の監視結果や、各種監視結果の組み合わせに基づいて、新たなホスト属性および新たなパラメータを判別すればよい。 Further, in each of the above-described embodiments of the present invention, the example in which the input / output request monitoring unit monitors the information regarding the data size of the input / output request and the information regarding the IOPS has been mainly described. In addition, in each embodiment of the present invention, the input / output request monitoring unit may monitor other information that can determine the characteristics of the input / output request issued by the host device. The host attribute determination unit may determine a new host attribute and a new parameter based on the monitoring result of such other information and the combination of various monitoring results.
また、上述した本発明の各実施の形態において、ホスト装置の識別子としてWWNを使用すると説明したが、他の識別情報を用いてもよい。 Further, in each of the above-described embodiments of the present invention, it has been described that the WWN is used as the identifier of the host device, but other identification information may be used.
また、上述した本発明の各実施の形態において、各フローチャートを参照して説明した入出力制御装置の動作を、本発明のコンピュータ・プログラムとしてコンピュータ装置の記憶装置(記憶媒体)に格納しておき、係るコンピュータ・プログラムを当該CPUが読み出して実行するようにしてもよい。そして、このような場合において、本発明は、係るコンピュータ・プログラムのコード或いは記憶媒体によって構成される。 In each embodiment of the present invention described above, the operation of the input / output control device described with reference to each flowchart is stored in a storage device (storage medium) of the computer device as a computer program of the present invention. The CPU may read and execute the computer program. In such a case, the present invention is constituted by the code of the computer program or a storage medium.
また、上述した各実施の形態は、適宜組み合わせて実施されることが可能である。 Moreover, each embodiment mentioned above can be implemented in combination as appropriate.
また、本発明は、上述した各実施の形態に限定されず、様々な態様で実施されることが可能である。 The present invention is not limited to the above-described embodiments, and can be implemented in various modes.
また、上述した各実施の形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
(付記1)
1つ以上の記憶装置を有するストレージシステムに備えられた入出力制御装置であって、
前記記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定するホスト属性設定部と、
前記ホスト装置から前記記憶装置に発行される入出力要求を受信すると、該入出力要求に応じた入出力処理を実行する入出力処理部と、
前記ホスト装置毎に前記入出力要求を監視する入出力要求監視部と、
前記入出力要求監視部による監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、判別した新たなホスト属性を前記ホスト属性設定部に通知するホスト属性判別部と、
を備えた入出力制御装置。
(付記2)
前記ホスト属性設定部は、前記ホスト属性判別部から通知される情報を外部に出力する推奨設定提示部を有し、前記推奨設定提示部による提示処理に応じて外部から入力される情報に基づいて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを設定することを特徴とする付記1に記載の入出力制御装置。
(付記3)
前記ホスト属性設定部は、前記ホスト属性判別部から通知される情報を前記推奨設定提示部により提示するか、前記ホスト属性判別部から通知される情報に基づいて前記推奨設定提示部による提示処理を行うことなく前記ホスト属性および前記パラメータを設定するかを、前記ホスト装置毎に選択することを特徴とする付記2に記載の入出力制御装置。
(付記4)
前記ホスト属性判別部は、前記監視結果に基づいて、前記ホスト装置毎に、前記入出力処理に関わる前記パラメータの新たな値を算出するパラメータ算出部を有し、前記パラメータ算出部により算出した新たなパラメータを前記新たなホスト属性と共に前記ホスト属性設定部に通知することを特徴とする付記1から付記3のいずれか1つに記載の入出力制御装置。
(付記5)
前記入出力要求監視部は、前記ホスト装置毎に、入出力要求におけるデータサイズを監視し、
前記ホスト属性判別部は、前記ホスト装置毎に、前記入出力要求監視部により得られるデータサイズに基づいて、前記新たなホスト属性を判別することを特徴とする付記1から付記4のいずれか1つに記載の入出力制御装置。
(付記6)
前記入出力要求監視部は、前記ホスト装置毎に、入出力要求におけるIOPS(Input Output Per Second)を監視し、
前記ホスト属性判別部は、前記ホスト装置毎に、前記IOPSの実測値に基づいて、前記新たなホスト属性を判別することを特徴とする付記1から付記5のいずれか1つに記載の入出力制御装置。
(付記7)
前記ホスト属性設定部は、前記入出力処理に関わる前記パラメータとして、前記入出力処理部によって用いられるキャッシュメモリにおけるキャッシュページサイズを前記ホスト装置毎に設定することを特徴とする付記1から付記6のいずれか1つに記載の入出力制御装置。
(付記8)
前記ホスト属性設定部は、前記入出力処理に関わる前記パラメータとして、前記入出力処理部によって受信される前記入出力要求のうち処理待ちの入出力要求を格納するキューの数に関するパラメータを前記ホスト装置毎に設定することを特徴とする付記1から付記7のいずれか1つに記載の入出力制御装置。
(付記9)
前記ホスト属性として、前記ホスト装置の入出力要求が任意の特性を示す程度に応じて第1のホスト属性から第2のホスト属性まで2つ以上の段階に分けられたホスト属性があらかじめ用意されているとき、
前記ホスト属性判別部は、前記ホスト装置毎に、前記監視結果に基づいて該ホスト装置のホスト属性を第1のホスト属性寄りおよび第2のホスト属性寄りのいずれの方向に何段階変更するかを決定し、決定した方向に決定した段階数分だけ、該ホスト装置に設定されていたホスト属性を変更したホスト属性を、前記新たなホスト属性とすることを特徴とする付記1から付記8のいずれか1つに記載の入出力制御装置。
(付記10)
付記1から付記9のいずれか1つに記載の入出力制御装置と、
1つ以上の前記記憶装置と、
を備えたストレージシステム。
(付記11)
1つ以上の記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定し、
前記ホスト装置から前記記憶装置に発行される入出力要求を監視し、
前記入出力要求の監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、
判別した新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更する、入出力制御方法。
(付記12)
前記新たなホスト属性を推奨設定として外部に出力することにより外部から入力される情報に基づいて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更することを特徴とする付記11に記載の入出力制御方法。
(付記13)
1つ以上の記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表すホスト属性を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定するホスト属性設定ステップと、
前記ホスト装置から前記記憶装置に発行される入出力要求を監視する入出力要求監視ステップと、
前記入出力要求監視ステップでの監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別するホスト属性判別ステップと、
前記ホスト属性判別ステップで判別された新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更するホスト属性変更ステップと、
をコンピュータ装置に実行させるコンピュータ・プログラム。
(付記14)
前記ホスト属性変更ステップにおいて、前記新たなホスト属性を推奨設定として外部に出力することにより外部から入力される情報に基づいて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更することを特徴とする付記13に記載のコンピュータ・プログラム。
A part or all of each of the above-described embodiments can be described as in the following supplementary notes, but is not limited thereto.
(Appendix 1)
An input / output control device provided in a storage system having one or more storage devices,
For each host device that issues an input / output request to the storage device, a host attribute indicating the characteristics of the input / output request of the host device is set, and parameters relating to input / output processing in the own device are set according to the host attribute. A host attribute setting section to perform,
When an input / output request issued from the host device to the storage device is received, an input / output processing unit that executes input / output processing according to the input / output request;
An input / output request monitoring unit for monitoring the input / output request for each host device;
A host attribute discriminating unit that discriminates a new host attribute of the host device for each of the host devices based on a monitoring result by the input / output request monitoring unit, and notifies the discriminated new host attribute to the host attribute setting unit When,
I / O control device with
(Appendix 2)
The host attribute setting unit has a recommended setting presentation unit that outputs information notified from the host attribute determination unit to the outside, and based on information input from the outside in accordance with a presentation process by the recommended setting presentation unit The input / output control apparatus according to
(Appendix 3)
The host attribute setting unit presents information notified from the host attribute determining unit by the recommended setting presenting unit, or performs a presentation process by the recommended setting presenting unit based on information notified from the host attribute determining unit. 3. The input / output control apparatus according to
(Appendix 4)
The host attribute determination unit has a parameter calculation unit that calculates a new value of the parameter related to the input / output processing for each of the host devices based on the monitoring result, and the new value calculated by the parameter calculation unit 4. The input / output control apparatus according to any one of
(Appendix 5)
The input / output request monitoring unit monitors the data size in the input / output request for each host device,
Any one of
(Appendix 6)
The input / output request monitoring unit monitors IOPS (Input Output Per Second) in the input / output request for each host device,
The input / output according to any one of
(Appendix 7)
The host attribute setting unit sets a cache page size in a cache memory used by the input / output processing unit for each host device as the parameter related to the input / output processing. The input / output control apparatus according to any one of the above.
(Appendix 8)
The host attribute setting unit, as the parameter related to the input / output processing, sets a parameter related to the number of queues for storing input / output requests waiting to be processed among the input / output requests received by the input / output processing unit. The input / output control device according to any one of
(Appendix 9)
As the host attribute, a host attribute divided into two or more stages from the first host attribute to the second host attribute is prepared in advance according to the degree to which the input / output request of the host device exhibits arbitrary characteristics. When
The host attribute determination unit determines, for each host device, how many steps to change the host attribute of the host device toward the first host attribute or the second host attribute based on the monitoring result. Any one of
(Appendix 10)
The input / output control device according to any one of
One or more of the storage devices;
Storage system with
(Appendix 11)
For each host device that issues an input / output request for one or more storage devices, a host attribute indicating the characteristics of the input / output request of the host device is set, and parameters related to input / output processing in the own device are set as the host attribute. Set according to
Monitoring I / O requests issued from the host device to the storage device;
Based on the monitoring result of the I / O request, for each host device, determine a new host attribute of the host device,
An input / output control method for changing the host attribute and the parameter for each of the host devices using the determined new host attribute.
(Appendix 12)
The host attribute and the parameter are changed for each of the host devices based on information input from outside by outputting the new host attribute as a recommended setting to the outside. I / O control method.
(Appendix 13)
For each host device that issues an input / output request for one or more storage devices, a host attribute indicating the characteristics of the input / output request of the host device is set, and parameters related to input / output processing in the own device are set as the host attribute. Host attribute setting step to be set according to
An I / O request monitoring step for monitoring an I / O request issued from the host device to the storage device;
A host attribute determination step for determining a new host attribute of the host device for each host device based on the monitoring result in the input / output request monitoring step;
Using the new host attribute determined in the host attribute determination step, a host attribute change step for changing the host attribute and the parameter for each host device;
Is a computer program that causes a computer device to execute.
(Appendix 14)
In the host attribute changing step, the host attribute and the parameter are changed for each host device based on information input from outside by outputting the new host attribute as a recommended setting to the outside. The computer program according to
1、2 ストレージシステム
10、20 入出力制御装置
11、21 ホスト属性設定部
12 入出力処理部
13 入出力要求監視部
14、24 ホスト属性判別部
25 パラメータ算出部
26 推奨設定提示部
80 記憶装置
90 ホスト装置
1, 2
Claims (10)
前記記憶装置に対する入出力要求を発行するホスト装置毎に、該ホスト装置の入出力要求の特性を表す変更可能なホスト属性としてIOPS(Input Output Per Second)またはスループットを優先する程度を表す属性値を設定するとともに、自装置における入出力処理に関わるパラメータを該ホスト属性に応じて設定するホスト属性設定部と、
前記ホスト装置から前記記憶装置に発行される入出力要求を受信すると、該入出力要求に応じた入出力処理を実行する入出力処理部と、
前記ホスト装置毎に前記入出力要求を監視する入出力要求監視部と、
前記入出力要求監視部による監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、判別した新たなホスト属性を前記ホスト属性設定部に通知して変更させるホスト属性判別部と、
を備えた入出力制御装置。 An input / output control device provided in a storage system having one or more storage devices,
For each host device that issues an input / output request to the storage device , an attribute value indicating the priority of IOPS (Input Output Per Second) or throughput as a changeable host attribute indicating the characteristics of the input / output request of the host device. A host attribute setting unit that sets parameters related to input / output processing in the device according to the host attribute;
When an input / output request issued from the host device to the storage device is received, an input / output processing unit that executes input / output processing according to the input / output request;
An input / output request monitoring unit for monitoring the input / output request for each host device;
Based on the monitoring result by the output request monitoring unit, for each of the host device, to determine a new host attributes of the host device, Ru new host attributes is determined by changes in notifying the host attribute setting unit A host attribute discriminator;
I / O control device with
前記ホスト属性判別部は、前記ホスト装置毎に、前記監視結果に基づいて該ホスト装置のホスト属性を第1のホスト属性寄りおよび第2のホスト属性寄りのいずれの方向に何段階変更するかを決定し、決定した方向に決定した段階数分だけ、該ホスト装置に設定されていたホスト属性を変更したホスト属性を、前記新たなホスト属性とすることを特徴とする請求項1から請求項4のいずれか1項に記載の入出力制御装置。 As the host attribute, a host attribute divided into two or more stages from the first host attribute to the second host attribute is prepared in advance according to the degree to which the input / output request of the host device exhibits arbitrary characteristics. When
The host attribute determination unit determines, for each host device, how many steps to change the host attribute of the host device toward the first host attribute or the second host attribute based on the monitoring result. 5. The host attribute obtained by changing the host attribute set in the host device by the number of stages determined and determined in the determined direction is set as the new host attribute. The input / output control apparatus according to any one of the above.
1つ以上の前記記憶装置と、
を備えたストレージシステム。 The input / output control device according to any one of claims 1 to 5,
One or more of the storage devices;
Storage system with
前記ホスト装置から前記記憶装置に発行される入出力要求を監視し、
前記入出力要求の監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別し、
判別した新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更する、入出力制御方法。 For each host device that issues an input / output request to one or more storage devices , this indicates the priority of IOPS (Input Output Per Second) or throughput as a changeable host attribute that represents the characteristics of the input / output request of the host device. Set the attribute value and set the parameters related to input / output processing in the device according to the host attribute.
Monitoring I / O requests issued from the host device to the storage device;
Based on the monitoring result of the I / O request, for each host device, determine a new host attribute of the host device,
An input / output control method for changing the host attribute and the parameter for each of the host devices using the determined new host attribute.
前記ホスト装置から前記記憶装置に発行される入出力要求を監視する入出力要求監視ステップと、
前記入出力要求監視ステップでの監視結果に基づいて、前記ホスト装置毎に、該ホスト装置の新たなホスト属性を判別するホスト属性判別ステップと、
前記ホスト属性判別ステップで判別された新たなホスト属性を用いて、前記ホスト装置毎に、前記ホスト属性および前記パラメータを変更するホスト属性変更ステップと、
をコンピュータ装置に実行させるコンピュータ・プログラム。
For each host device that issues an input / output request to one or more storage devices , this indicates the priority of IOPS (Input Output Per Second) or throughput as a changeable host attribute that represents the characteristics of the input / output request of the host device. A host attribute setting step for setting an attribute value and setting a parameter related to input / output processing in its own device according to the host attribute;
An I / O request monitoring step for monitoring an I / O request issued from the host device to the storage device;
A host attribute determination step for determining a new host attribute of the host device for each host device based on the monitoring result in the input / output request monitoring step;
Using the new host attribute determined in the host attribute determination step, a host attribute change step for changing the host attribute and the parameter for each host device;
Is a computer program that causes a computer device to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012138689A JP5678923B2 (en) | 2012-06-20 | 2012-06-20 | Storage system, input / output control device, input / output control method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012138689A JP5678923B2 (en) | 2012-06-20 | 2012-06-20 | Storage system, input / output control device, input / output control method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014002642A JP2014002642A (en) | 2014-01-09 |
| JP5678923B2 true JP5678923B2 (en) | 2015-03-04 |
Family
ID=50035740
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012138689A Expired - Fee Related JP5678923B2 (en) | 2012-06-20 | 2012-06-20 | Storage system, input / output control device, input / output control method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5678923B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6244972B2 (en) * | 2014-02-21 | 2017-12-13 | 富士通株式会社 | Storage control device, storage device and storage control program |
| GB2534404A (en) | 2015-01-23 | 2016-07-27 | Cnm Tech Gmbh | Pellicle |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08147218A (en) * | 1994-11-24 | 1996-06-07 | Fujitsu Ltd | Cache control unit |
| US6898664B2 (en) * | 2002-08-28 | 2005-05-24 | Hewlett-Packard Development Company, L.P. | Optimizing performance for a storage device within a computer system |
| JP2005025462A (en) * | 2003-07-01 | 2005-01-27 | Toshiba Corp | Storage system, variable control parameter control method and apparatus for redundant controller, and control program |
| JP4479284B2 (en) * | 2004-03-08 | 2010-06-09 | 株式会社日立製作所 | Management computer and system for setting up monitoring of computer system |
| JP2005339299A (en) * | 2004-05-28 | 2005-12-08 | Hitachi Ltd | Cache control method for storage device |
| JP4819369B2 (en) * | 2005-02-15 | 2011-11-24 | 株式会社日立製作所 | Storage system |
| JP2008065433A (en) * | 2006-09-05 | 2008-03-21 | Hitachi Ltd | Computer system and performance tuning method |
-
2012
- 2012-06-20 JP JP2012138689A patent/JP5678923B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014002642A (en) | 2014-01-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9406368B2 (en) | Dynamic temperature adjustments in spin transfer torque magnetoresistive random-access memory (STT-MRAM) | |
| CN106233269B (en) | Fine granularity bandwidth provisioning in a memory controller | |
| US9418721B2 (en) | Determining and storing bit error rate relationships in spin transfer torque magnetoresistive random-access memory (STT-MRAM) | |
| JP6260407B2 (en) | Storage management device, performance adjustment method, and performance adjustment program | |
| US9342245B2 (en) | Method and system for allocating a resource of a storage device to a storage optimization operation | |
| CN104102693B (en) | Object processing method and device | |
| US11087826B2 (en) | Storing method and apparatus of data | |
| CN108874324B (en) | An access request processing method, apparatus, device and readable storage medium | |
| JP6273966B2 (en) | Storage management device, performance adjustment method, and performance adjustment program | |
| US20200159444A1 (en) | Storage device throttling amount of communicated data depending on suspension frequency of operation | |
| JP5987498B2 (en) | Storage virtualization apparatus, storage virtualization method, and storage virtualization program | |
| JP7500991B2 (en) | Storage control device and storage control program | |
| CN114036078A (en) | Method and system for managing cache devices in a storage system | |
| JP2014228946A (en) | Information processing apparatus, information processing system, control method of information processing apparatus, and control program of information processing apparatus | |
| JP2011243117A (en) | Input/output control program, information processor and input/output control method | |
| JP5849794B2 (en) | Storage control device, storage control method, and storage control program | |
| JP5678923B2 (en) | Storage system, input / output control device, input / output control method, and computer program | |
| JP2016012288A (en) | Test apparatus, test program, and test method | |
| JP2016099746A (en) | Storage management device, storage management method, and storage management program | |
| JP2017194931A (en) | Storage management device, storage device management method, and storage device management program | |
| US11481341B2 (en) | System and method for dynamically adjusting priority-based allocation of storage system resources | |
| JP4332126B2 (en) | Caching control program, caching control device, and caching control method | |
| JP6848278B2 (en) | Storage management device, performance adjustment method and performance adjustment program | |
| CN105573920A (en) | Storage space management method and device | |
| CN105637483B (en) | Thread migration method, device and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131018 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140514 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140520 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140707 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20141209 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141222 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5678923 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |