JP2012243117A - Storage medium control device, storage device, storage medium control method, and program - Google Patents
Storage medium control device, storage device, storage medium control method, and program Download PDFInfo
- Publication number
- JP2012243117A JP2012243117A JP2011113221A JP2011113221A JP2012243117A JP 2012243117 A JP2012243117 A JP 2012243117A JP 2011113221 A JP2011113221 A JP 2011113221A JP 2011113221 A JP2011113221 A JP 2011113221A JP 2012243117 A JP2012243117 A JP 2012243117A
- Authority
- JP
- Japan
- Prior art keywords
- storage medium
- page
- access
- data
- storage
- 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.)
- Granted
Links
Images
Abstract
【課題】HSMにより複数の記憶媒体に対する制御を行う記憶媒体制御装置として、記憶媒体間でのデータ移動単位のサイズを増加させることなく、データを管理するための管理情報の総容量の増加を有効に抑制することで、効率的なデータ移動制御を実現する。
【解決手段】所定数のページからなるページセットを定義し、ページセットのアクセス頻度に基づいて高速記憶媒体111に格納すべきページを含む可能性のあるページセット(対象ページセット)を決定する。そして、対象ページセットに含まれるページのうちで、現在は低速記憶媒体112に記憶されており、かつアクセスが行われたページを選択して高速記憶媒体111に移動させる。このための管理情報としてページセット管理テーブル161とページ管理テーブル162を備える。
【選択図】図2As a storage medium control device for controlling a plurality of storage media by HSM, it is effective to increase the total capacity of management information for managing data without increasing the size of a data movement unit between storage media By restraining to a low level, efficient data movement control is realized.
A page set including a predetermined number of pages is defined, and a page set (target page set) that may include a page to be stored in a high-speed storage medium 111 is determined based on the access frequency of the page set. Then, out of the pages included in the target page set, a page that is currently stored in the low-speed storage medium 112 and accessed is selected and moved to the high-speed storage medium 111. As management information for this purpose, a page set management table 161 and a page management table 162 are provided.
[Selection] Figure 2
Description
本発明は、アクセス性能が異なる複数の記憶媒体を制御する記憶媒体制御装置と、この記憶媒体制御装置に上記複数の記憶媒体が備えられた記憶装置に関する。また、上記記憶媒体制御装置に対応する記憶媒体制御方法と、記憶媒体制御装置に当該記憶媒体制御方法に対応する機能を実現させるためのプログラムに関する。 The present invention relates to a storage medium control device that controls a plurality of storage media having different access performances, and a storage device provided with the plurality of storage media in the storage medium control device. The present invention also relates to a storage medium control method corresponding to the storage medium control apparatus and a program for causing the storage medium control apparatus to realize a function corresponding to the storage medium control method.
近年、情報通信技術の進化やその適用分野の拡大に伴って、情報処理システムが扱うデータ量は著しく増加してきている。このような背景に対応して、データを格納するストレージ装置に関すれば、記憶容量の増加やアクセス性能の高速化が図られている状況にある。 In recent years, the amount of data handled by an information processing system has increased remarkably with the evolution of information communication technology and the expansion of its application fields. Corresponding to such a background, the storage apparatus for storing data is in a situation where the storage capacity is increased and the access performance is increased.
ストレージ装置の記憶容量を増加させるために、例えばストレージ装置内部でデータを格納する記憶媒体数を増加させるという手法が知られている。この手法は、記憶容量を増加させる手法として最も容易なものの1つであり多くのストレージ装置において採用されている。このようなストレージ装置では、内部の複数の記憶媒体について外部からは単一の大容量の記憶領域としてみえるように管理することが行われる。 In order to increase the storage capacity of the storage device, for example, a method of increasing the number of storage media that store data in the storage device is known. This technique is one of the easiest techniques for increasing the storage capacity, and is used in many storage apparatuses. In such a storage apparatus, management is performed so that a plurality of internal storage media can be seen from the outside as a single large-capacity storage area.
また、ストレージ装置の大容量化に伴って、アクセスの即時性、つまり、アクセス性能も向上させることが要求される。このための最も容易な手法の1つとして、例えばストレージ装置が備える記憶媒体自体のアクセス性能を向上させるということが広く行われている。また、RAID0やRAID5のように複数の記憶媒体に同時並行でアクセスするストライピングを採用することによりアクセス性能の向上を図るという手法も知られている。
Further, with the increase in capacity of storage devices, it is required to improve immediacy of access, that is, access performance. As one of the easiest methods for this purpose, for example, improving the access performance of the storage medium itself provided in the storage apparatus is widely performed. There is also known a method of improving access performance by adopting striping that simultaneously accesses a plurality of storage media such as
しかし、ストレージ装置が備える記憶媒体について大容量化と高いアクセス性能を両立させることは、コストや技術的な問題から困難であることも知られている。具体的に、多くのストレージ装置が記憶媒体として備えるHDD(Hard Disk Drive)は、記憶容量が大きい一方でアクセス性能は低い。HDDは、特に記憶領域上で非連続なデータに対するアクセス(ランダムアクセス)を継続的に行うような場合にアクセス性能が相当に低下する。 However, it is also known that it is difficult to achieve both large capacity and high access performance for the storage medium provided in the storage apparatus due to cost and technical problems. Specifically, HDDs (Hard Disk Drives) provided as storage media in many storage apparatuses have a large storage capacity but a low access performance. The access performance of the HDD is considerably deteriorated particularly when continuous access (random access) to discontinuous data on the storage area is performed.
そこで、HDDより高いアクセス性能の記憶媒体を使用することも行われるようになっていきている。このような記憶媒体の1つとして、SSD(Solid State Drive)が知られている。SSDの多くはNANDフラッシュメモリなどの半導体記憶素子を使用しており、HDDより高いアクセス性能を持つ。しかし、このSSDのような記憶媒体は、一般にHDDよりも記憶容量が小さく高価である。これらHDDやSSDに限らず、一般的に、容量が大きく安価な記憶媒体はアクセス性能が低く、アクセス性能が高い記憶媒体は容量が小さく高価であるという傾向にある。 Therefore, the use of storage media with higher access performance than HDDs is also being carried out. As one of such storage media, SSD (Solid State Drive) is known. Many SSDs use a semiconductor storage element such as a NAND flash memory and have higher access performance than HDDs. However, a storage medium such as this SSD generally has a smaller storage capacity and is more expensive than an HDD. Not only these HDDs and SSDs, generally, storage media with large capacity and low cost tend to have low access performance, and storage media with high access performance tend to have small capacity and high cost.
上記の問題への対策として、HSM(Hierarchical Storage Management)と呼ばれる技術が知られている。一般的に、情報処理システムが扱うデータのうち、アクセス頻度の高いデータもしくは高いアクセス性能を求められるデータは全体の一部である。HSMは、この点に着目し、アクセス性能は高いが高価な記憶媒体と、アクセス性能が低いが安価で大容量化が容易な記憶媒体とを使用して例えば1つの記憶領域として管理しようというものである。 As a countermeasure against the above problem, a technique called HSM (Hierarchical Storage Management) is known. Generally, among data handled by an information processing system, data with high access frequency or data requiring high access performance is a part of the whole. HSM pays attention to this point, and uses a storage medium that has high access performance but is expensive and a storage medium that has low access performance but is inexpensive and easy to increase its capacity, for example, to manage it as one storage area. It is.
そして、HSMを適用したストレージ装置では、アクセス性能の高い小容量の記憶媒体の記憶領域にアクセス頻度の高いデータを格納し、残るデータをアクセス性能の低い記憶媒体の記憶領域に格納するようにして制御を行う。これにより、安価な記憶媒体が持つ大容量および低コストであるという利点と、高価な記憶媒体が持つ高いアクセス性能という利点の両者を最大限に発揮させることができる。 In a storage apparatus to which HSM is applied, data with high access frequency is stored in a storage area of a small capacity storage medium with high access performance, and the remaining data is stored in a storage area of a storage medium with low access performance. Take control. As a result, it is possible to maximize both the advantages of a large capacity and low cost of an inexpensive storage medium and the advantage of high access performance of an expensive storage medium.
HSMでは、アクセス頻度の高いデータを所定のデータ単位で検出するのに基づいて、アクセス性能が高い小容量の記憶媒体に格納すべきデータを決定する。具体的に、ブロック単位によりデータのアクセスが行われるストレージ装置の場合、高速で小容量の記憶媒体と低速で大容量の記憶媒体との間のデータの移動は、一定数の連続するブロックにより形成されるページを単位として行われる。 In HSM, data to be stored in a small-capacity storage medium with high access performance is determined based on detecting data with high access frequency in a predetermined data unit. Specifically, in the case of a storage device in which data is accessed in block units, data movement between a high-speed, small-capacity storage medium and a low-speed, large-capacity storage medium is formed by a fixed number of consecutive blocks. This is done in units of pages.
特許文献1には、RAMとROM(RAMのほうがアクセス速度が高い)を備えるシステムとして次のような構成が知られている。つまり、ページ単位でアクセス頻度を監視した情報に基づいてメモリの配置変換情報を決定する。そして、配置変換情報に基づいてメモリの使用頻度に応じたメモリの再配置と、これに対応するようにメモリマネージメントユニットのページテーブルのアドレス情報を書き換えようというものである(例えば、特許文献1参照)。
上記ページは、ストレージ装置が外部のホストに対してアクセス(入出力)を許可するすべての記憶領域に対して定義されるため、アクセス頻度の計測は、記憶領域におけるすべてのページについて行う必要がある。 Since the above page is defined for all storage areas that the storage device permits access (input / output) to an external host, access frequency must be measured for all pages in the storage area. .
また、HSMにおいては、記憶媒体ごとのアドレスと、各記憶媒体を統合した全体記憶領域に対するアドレス空間との対応関係の管理が必要である。より具体的には、例えばHSMによる構成のもとで任意のページのデータにアクセスするためには、上記アドレス空間上の各ページを格納(記憶)している記憶媒体自体を示すアドレスと、記憶媒体におけるページの格納先アドレスが必要になる。 In the HSM, it is necessary to manage the correspondence between the address for each storage medium and the address space for the entire storage area in which each storage medium is integrated. More specifically, for example, in order to access data of an arbitrary page under the configuration of HSM, an address indicating a storage medium itself storing (storing) each page in the address space, and storage The storage address of the page on the medium is required.
ストレージ装置の記憶領域におけるページ数は、外部のホストに対してストレージ装置が提供を許可する記憶容量に比例して増加する。また、1ページあたりの容量(サイズ)の増加に応じて、記憶領域におけるページ数は反比例する。 The number of pages in the storage area of the storage device increases in proportion to the storage capacity that the storage device permits to be provided to an external host. The number of pages in the storage area is inversely proportional to the increase in capacity (size) per page.
ストレージ装置において1ページあたりの容量の増加を抑えて小容量のページ単位によりHSMを実現するためには、膨大な数のページについてのアクセス頻度の計測およびアドレス情報の管理が必要になる。つまり、ページのサイズを小さくした場合に、ページ管理に必要なアドレスやアクセス頻度情報の容量が増大してしまうという問題が生じる。 In order to suppress the increase in capacity per page and realize HSM in a small capacity page unit in the storage apparatus, it is necessary to measure access frequency and manage address information for a huge number of pages. That is, when the page size is reduced, there arises a problem that the capacity of addresses and access frequency information necessary for page management increases.
具体例として、1ページあたりの管理情報の容量を64byte、ストレージの記憶領域の総容量を100TBとした場合、ページサイズが1GBであれば管理情報の総容量は、
100TB/1GB×64byte=6400KB
であり、約6.4MBとなる。一方、1ページのサイズが1MBである場合は、管理情報の総容量は、
100TB/1MB×64byte=6400MB
となり、約6.4GBにまでサイズが増加する。
As a specific example, assuming that the management information capacity per page is 64 bytes and the total storage capacity of the storage is 100 TB, if the page size is 1 GB, the total management information capacity is
100TB / 1GB × 64byte = 6400KB
It is about 6.4 MB. On the other hand, when the size of one page is 1 MB, the total capacity of the management information is
100TB / 1MB × 64byte = 6400MB
And the size increases to about 6.4 GB.
上記のような記憶媒体の容量の増加に伴う管理情報のサイズの増加を回避するには、例えば1ページあたりのサイズを大きくして、記憶領域におけるページ数を少なくすればよい。この手法はページサイズの変更のみで実現が可能であり、複雑な制御が不要ではある。しかし、ページ数を少なくするのに応じては1ページあたりのサイズが増加するため、きめ細かなデータの制御を行えなくなるという問題を生じる。例えば、アクセス頻度の高いページにおけるすべてのブロックのアクセス頻度が高いとは限らず、実際にアクセス頻度の高いブロックはページの一部であるという場合は当然に生じ得る。このような場合であっても、記憶媒体間でのデータの移動はページ単位であるために、高頻度でアクセスされるブロックが一部のみのページ全体を高速で小容量の記憶媒体に移動させることになってしまう。つまり、高速で小容量の記憶媒体の記憶領域を有効に活用することができないという課題を抱えることになる。 In order to avoid the increase in the size of the management information accompanying the increase in the capacity of the storage medium as described above, for example, the size per page may be increased to reduce the number of pages in the storage area. This method can be realized only by changing the page size, and does not require complicated control. However, since the size per page increases as the number of pages is reduced, there arises a problem that fine data control cannot be performed. For example, not all blocks in a frequently accessed page have a high access frequency, and a block having a high access frequency may actually be a part of the page. Even in such a case, since data movement between storage media is in units of pages, the entire page with only a part of frequently accessed blocks is moved to a small-capacity storage medium at high speed. It will be. That is, there is a problem that the storage area of a high-speed and small-capacity storage medium cannot be effectively used.
そこで、本発明は、上述の課題を解決することのできる記憶媒体制御装置、記憶装置、記憶媒体制御方法、プログラムを提供することを目的とする。 Accordingly, an object of the present invention is to provide a storage medium control device, a storage device, a storage medium control method, and a program that can solve the above-described problems.
本発明は、上述の課題を解決すべくなされたもので、所定のアクセス速度の第1の記憶媒体と当該第1の記憶媒体よりもアクセス速度が低い第2の記憶媒体との間でデータを移動させる際のデータ単位によりアクセスの有無を検出するとともに、前記データ単位が所定数連続して形成されるデータ単位セットによりアクセス頻度を計測するアクセス監視手段と、前記アクセス監視手段により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手段と、前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手段と、前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手段とを備えることを特徴とする記憶媒体制御装置である。 The present invention has been made in order to solve the above-described problem. Data is transferred between a first storage medium having a predetermined access speed and a second storage medium having an access speed lower than that of the first storage medium. Access monitoring means for detecting presence / absence of access by a data unit when moving, and measuring access frequency by a data unit set in which a predetermined number of the data units are continuously formed, and access measured by the access monitoring means A target page set determining means for determining a target page set including a page to be stored in the first storage medium based on a measurement result of the frequency, the target page set included in the target page set, and the second A transfer for detecting a page stored in a storage medium and accessed as movement target data to be moved to the first storage medium. And object data detecting means, a storage medium control apparatus, characterized in that it comprises a data moving means for moving the moving object data from said second storage medium to said first storage medium.
また、本発明は、所定のアクセス速度の第1の記憶媒体と、当該第1の記憶媒体よりもアクセス速度が低い第2の記憶媒体とからなる記憶手段と、前記第1の記憶媒体と前記第2の記憶媒体との間でデータを移動させる際のデータ単位によりアクセスの有無を検出するとともに、前記データ単位が所定数連続して形成されるデータ単位セットによりアクセス頻度を計測するアクセス監視手段と、前記アクセス監視手段により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手段と、前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手段と、前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手段とを備えることを特徴とする記憶装置である。 In addition, the present invention provides a storage unit including a first storage medium having a predetermined access speed and a second storage medium having an access speed lower than that of the first storage medium, the first storage medium, Access monitoring means for detecting presence / absence of access by a data unit when moving data to / from a second storage medium and measuring access frequency by a data unit set in which a predetermined number of the data units are continuously formed A target page set determining unit that determines a target page set including a page to be stored in the first storage medium based on a measurement result of the access frequency measured by the access monitoring unit; and A page that is included, stored in the second storage medium, and accessed is to be moved to the first storage medium And moving object data detecting means for detecting a moving object data, a storage device, characterized in that it comprises a data moving means for moving the moving object data from said second storage medium to said first storage medium.
本発明によれば、HSMに対応して複数の記憶媒体に対する制御を行う記憶媒体制御装置として、記憶媒体間でのデータ移動単位のサイズを増加させることなく、データを管理するための管理情報の総容量の増加を有効に抑制できるという効果が得られる。 According to the present invention, as a storage medium control device that controls a plurality of storage media corresponding to HSM, management information for managing data without increasing the size of a data movement unit between storage media is provided. The effect that the increase in the total capacity can be effectively suppressed is obtained.
<情報処理システムの構成>
図1は、本発明の実施の形態における情報処理システムの構成例を示している。この図に示す情報処理システムは、ストレージ100と複数のホスト200をネットワーク300経由で通信可能に接続して構成される。
<Configuration of information processing system>
FIG. 1 shows a configuration example of an information processing system in an embodiment of the present invention. The information processing system shown in this figure is configured by connecting a
ストレージ100は、HSM(Hierarchical Storage Management)に対応してアクセスが高速な記憶媒体と低速な記憶媒体とを組み合わせた記憶部を備えて構成される。
The
ホスト200は、例えばネットワーク300に接続された端末装置であり、ネットワーク300経由でストレージ100にアクセスして、ストレージ100に記憶されているデータを取得することができる。このために、ホスト200は、ネットワーク300経由でストレージ100に対してアクセス要求を送信する。このアクセス要求に応じてストレージ100は、要求されたデータを記憶部から読み出して、要求元のホスト200に送信する。つまり、ストレージ100は、データ配信サーバとして機能している。
The
<ストレージの構成>
図2は、ストレージ100の構成例を示している。ストレージ100は、記憶部110、アクセス監視部120、対象ページセット決定部130、移動対象ページ検出部140、データ移動部150、作業メモリ160、通信部170およびアクセス制御部180を備える。
<Storage configuration>
FIG. 2 shows a configuration example of the
記憶部110は、ホスト200からアクセスに応じて送信すべきデータを記憶する。この記憶部110は、HSMに対応しており、高速記憶媒体111と低速記憶媒体112を備える。高速記憶媒体111は、アクセス性能として、一定以上の速度によるアクセスが可能な記憶媒体である。また、低速記憶媒体112は、高速記憶媒体111よりもアクセス速度が低速な記憶媒体である。
The
高速記憶媒体111および低速記憶媒体112に採用される記憶デバイスとしては特に限定されるものではないが、一例として、高速記憶媒体111にはSSD(Solid State Drive)を採用することが考えられる。SSDにはNANDフラッシュメモリを使用したものが広く知られている。また、低速記憶媒体112には、HDD(Hard Disk Drive)を採用することが考えられる。
The storage devices employed in the high-
上記の例からも分かるように、一般的に、高速記憶媒体111は、低速記憶媒体112よりも容量単価が高く、したがって、高速記憶媒体111として実装される容量は、低速記憶媒体112よりも小さくなる。また、高速記憶媒体111と低速記憶媒体112の間では、アクセス頻度に基づいてデータの移動が行われるのであるが、このデータの移動はページ単位で行われる。記憶部110に対するデータのアクセスはブロック単位で行われるものとする。ページは、アドレスが連続する一定数のブロックの集合として形成される。
As can be seen from the above example, the high-
さらに、本実施の形態においては、高速記憶媒体111および低速記憶媒体112から成る記憶部110の記憶容量全体を、アドレスが連続する一定数のページの集合から成るページセットに分割し、このページセットによってもデータを管理可能とされている。
Further, in the present embodiment, the entire storage capacity of the
アクセス監視部120は、アクセス制御部180におけるアクセス要求に応答した処理状況を監視するもので、アクセス状況として、1つにはページ単位のアクセスを検出する。アクセス監視部120は、この検出結果に基づいて、作業メモリ160におけるページ管理テーブル162に登録されているページのアクセスフラグを更新する。アクセスフラグは、対応ページに対するアクセスの有無を示す。
The
また、アクセス監視部120は、アクセス状況として、アクセス頻度をページ単位ではなくページセットの単位で計測する。アクセス監視部120は、計測したアクセス頻度の情報を作業メモリ160におけるページセット管理テーブル161に対して書き込む。なお、ページセット管理テーブル161およびページ管理テーブル162の構造例については後述する。また、アクセス監視部120は、アクセスが発生するのに応じて、このアクセスされたデータに該当するページ(アクセスページ)を移動対象ページ検出部140に通知する。
Further, the
対象ページセット決定部130は、ページセット管理テーブル161が格納するページセットごとのアクセス頻度を任意の時間間隔で読み出して取得する。そして、この取得したアクセス頻度に基づいて、高速記憶媒体111を格納先とするページを含むページセット(対象ページセット)を決定する。対象ページセット決定部130は、対象ページセットを決定する過程において、ページセットをアクセス頻度の高い順に整列する処理を実行する。そして、この整列結果からページセットをアクセス頻度が高い順に整列した整列順データ163を生成し、作業メモリ160に記憶させる。また、対象ページセット決定部130は、対象ページセットの決定結果に応じて、ページセット管理テーブル161の内容も更新する。なお、対象ページセット決定部130による格納先記憶媒体の決定手順については後述する。
The target page set
移動対象ページ検出部140は、移動対象ページを検出する。移動対象ページとは、その格納先について、低速記憶媒体112から高速記憶媒体111に移動させるべきページをいう。移動対象ページ検出部140は、アクセス要求が行われたページとして、対象ページセットに含まれており、かつ、低速記憶媒体112に記憶されているという条件を満たすページを移動対象ページとして検出する。また、移動対象ページ検出部140は、検出した移動対象ページの移動をデータ移動部150に対して指示する。
The movement target
例えばページセットの単位で高速記憶媒体111に移動させるというデータ移動制御とすることも可能ではある。しかし、ページセットのアクセス頻度が高いとしても、そのページセットに含まれる各ページのアクセス頻度は均一ではなく、したがって、アクセス頻度の高いページセットにおいてアクセス頻度の低いページが含まれる可能性がある。このような理由から、ページセットの単位でデータの移動を行うことは、アクセス頻度の低い相当数のページも高速記憶媒体111に格納してしまうことになり、小容量の高速記憶媒体111の利用効率を下げることにつながる。そこで、本実施の形態では、アクセス頻度の高いページセットから、さらに、アクセス頻度が高いと推定されるページを移動対象ページとして選択することとしている。
For example, it is possible to perform data movement control in which data is moved to the high-
データ移動部150は、移動対象ページ検出部140の指示に応じて、移動対象ページを低速記憶媒体112から高速記憶媒体111に移動させるための制御を実行する。また、移動対象ページを移動させるに際して、高速記憶媒体111における空き容量が不足している場合には、高速記憶媒体111に格納されているページのうちからアクセス頻度が低いものから順に低速記憶媒体112に移動させるための制御も実行する。そして、このようなページの移動結果が反映されるようにページ管理テーブル162の内容を更新する。
The
作業メモリ160は、記憶部110に記憶されるデータを高速記憶媒体111と低速記憶媒体112の間で移動させるのに必要な管理情報を記憶する部位である。具体的に、作業メモリ160は、上記管理情報として、ページセット管理テーブル161、ページ管理テーブル162および整列順データ163を記憶する。
The
通信部170は、ネットワーク300経由で通信を行うための部位である。通信部170によりホスト200からのアクセスに応答することが可能となる。
The
アクセス制御部180は、ホスト200がネットワーク300を経由して行うデータアクセスに応答して、記憶部110に対するアクセス制御を実行する部位である。例えば、アクセス制御部180は、ホスト200から送信されたアクセス要求を通信部170から受け取ると、要求されたデータを記憶部110から読み出す。そして、読み出したデータをアクセス応答として通信部170から要求元のホスト200に対して送信する。アクセス監視部120は、例えば、アクセス制御部180が受け付けたアクセス要求が指定するデータを識別することにより、この識別したデータに該当するページまたはページセットを検出することができる。
The
<管理情報の構造>
続いて、作業メモリ160において記憶される管理情報の構造例について説明する。まず、図3(a)を参照してページセット管理テーブル161について説明する。この図に示すページセット管理テーブル161は、ページセットごとに、記憶領域アドレス、高速記憶媒体格納先アドレス、低速記憶媒体格納先アドレス、包含ページ、アクセス頻度の項目を対応付けた構造を有する。
<Management information structure>
Next, an example of the structure of management information stored in the
記憶領域アドレスは、記憶部110の高速記憶媒体111と低速記憶媒体112の記憶領域を統合して成る全記憶領域における対応ページセットのアドレスを示す。高速記憶媒体格納先アドレスは、対応ページセットにおいて高速記憶媒体111に格納されるページのアドレスが示される。また、対応ページセットにおいて高速記憶媒体111に格納されるページが存在しない場合には、無効を示す特定のアドレスを指定する(図では「−−−−」と示している)。この高速記憶媒体格納先アドレスに有効値が格納されていることにより、対応ページセットにおける少なくとも1つのページが高速記憶媒体111に格納されていることが示される。なお、高速記憶媒体格納先アドレスに代えて、対応ページセットにおけるページが高速記憶媒体111に格納されているか否かを示すフラグとすることも考えられる。
The storage area address indicates the address of the corresponding page set in all storage areas formed by integrating the storage areas of the high
低速記憶媒体格納先アドレスは、対応ページセットにおいて低速記憶媒体112に格納されるページのアドレスが示される。包含ページは、対応ページセットに含まれるすべてのページについてのページIDが示される。アクセス頻度は、アクセス監視部120により検出された対応ページセットに対するアクセス頻度の値が示される。
The low-speed storage medium storage destination address indicates the address of a page stored in the low-
次に、図3(b)を参照して、ページ管理テーブル162の構造例について説明する。この図に示すページ管理テーブル162は、ページごとに、ページID、ページセットアドレス、格納先記憶媒体、格納先アドレスおよびアクセスフラグを対応付けた構造を有する。 Next, a structural example of the page management table 162 will be described with reference to FIG. The page management table 162 shown in this figure has a structure in which a page ID, a page set address, a storage destination storage medium, a storage destination address, and an access flag are associated with each page.
ページIDは、対応ページを識別するための識別子である。ページセットアドレスは、対応ページを含むページセットが格納される記憶部110の記憶領域におけるアドレスを示す。ページセットアドレスによっては、対応ページを含むページセットを一意に識別することができる。格納先記憶媒体は、対応ページが格納される記憶媒体が高速記憶媒体111と低速記憶媒体112のいずれであるのかを示す値を格納する。ここでは、「1」「0」の2値により高速記憶媒体111と低速記憶媒体112とを識別することとしている。
The page ID is an identifier for identifying the corresponding page. The page set address indicates an address in the storage area of the
格納先アドレスは、対応ページが格納される高速記憶媒体111または低速記憶媒体112のアドレスを示す。アクセスフラグは、対応ページを含むページセットが対象ページセットとなった場合において対応ページに対するアクセスが行われたか否かを有無をフラグである。ここでは、「1」によりアクセスが有ったことを示し、「0」によりアクセスが無いことを示すこととしている。このアクセスフラグは、アクセス監視部120によるページアクセスの検出結果に応じて更新されるものとなる。
The storage destination address indicates the address of the high
図4は、整列順データ163の構造例を示している。整列順データは、例えば1からの昇順による整列順ごとに、アクセス頻度の高い順にしたがってページセットごとのページセットアドレスを配列した構造を有する。
FIG. 4 shows an example of the structure of the
<ページ移動制御の概要>
図5を参照して、本実施の形態のストレージ100において実行されるページ移動制御の概要について説明する。図5(a)には記憶部110における記憶領域全体が模式的に示されている。この図5(a)における記憶部110の記憶領域は、高速記憶媒体111と低速記憶媒体112の各記憶領域をページセットPSの単位で分割されている。
<Overview of page movement control>
With reference to FIG. 5, an overview of page movement control executed in the
対象ページセット決定部130により、上記図5(a)におけるページセットのうちから、低速記憶媒体112の記憶領域における2つのページセットPS1およびPS2が、対象ページセットとして決定されたとする。この場合、ページセットPS1およびPS2は、アクセス頻度が高いページを含んでいることになる。
Assume that the target page set
図5(b)および図5(c)は、それぞれ、ページセットPS1およびPS2をページPGの単位で分割して示している。そして、アクセス監視部120からの通知に応答して、移動対象ページ検出部140が移動対象ページの検出処理を行った結果、図5(b)に示されるページセットPS1におけるページPG11、PG12およびPG13が移動対象ページとして検出されたものとする。また、図5(c)に示されるページセットPS2におけるページPG21、PG22およびPG23が移動対象ページとして検出されたものとする。
FIG. 5B and FIG. 5C show the page sets PS1 and PS2 divided in units of page PG, respectively. Then, in response to the notification from the
データ移動部150は、移動対象ページとして検出されたページPG11、PG12、PG13、ページPG21、PG22およびPG23を、低速記憶媒体112から高速記憶媒体に移動させる制御を実行する。この際、データ移動部150は、高速記憶媒体に空き容量があれば、その空き容量に対して移動対象ページを格納するように移動させる。空き容量が不足している場合には、高速記憶媒体111に格納されているページについて、アクセス頻度が低い順に低速記憶媒体112に移動させて空き容量を確保し、この空き容量に移動対象ページを格納するように移動させる。
The
このように、本実施の形態では、アクセス頻度について、ページ単位ではなく、ページセット単位で計測することとしている。そして、この計測結果に基づいて、高速記憶媒体111に格納すべきページを含むページセット(対象ページセット)を決定したうえで、実際のページに対するアクセス状況に応じて、移動対象ページを決定し、ページ単位でのデータの移動を行うこととしている。これにより、本実施の形態では、後述するように、管理情報(ページセット管理テーブル161およびページ管理テーブル162)のサイズの肥大化を抑制して効率的にデータ移動制御を行うことが可能となる。
Thus, in the present embodiment, the access frequency is measured in units of page sets, not in units of pages. And based on this measurement result, after determining the page set (target page set) including the page to be stored in the high-
図6は、本実施の形態のページ移動制御の処理タイミング例を示している。処理タイミングとしては、図示するように、一定の移動制御実行期間が連続するものとなる。例えば第n移動制御実行期間が開始されるのに応じて、まず、アクセス監視部120によるアクセス状況の監視が開始される。そして、第n移動制御実行期間の終了時点から或る一定時間前のタイミングでアクセス状況の監視が終了される。このアクセス状況監視の終了に続き、対象ページセット決定部130は、対象ページセットを決定するための処理を実行する。なお、対象ページセットの決定に際しては、同じ第n移動制御実行期間におけるアクセス状況監視結果として得られたページセットのアクセス頻度の情報を利用する。
FIG. 6 shows an example of processing timing of page movement control according to the present embodiment. As the processing timing, as shown in the figure, a certain movement control execution period continues. For example, in response to the start of the n-th movement control execution period, first, the
そして、この第n移動制御実行期間におけるページについてのアクセス状況監視結果と、上記対象ページセットの決定結果とに基づく高速記憶媒体111へのページ移動制御は、次の第(n+1)移動制御実行期間において実行される。また、第(n+1)移動制御実行期間においては、次のアクセス状況監視と対象ページセット決定の各処理が実行される。このように、本実施の形態におけるページ移動制御は、現在のアクセス状況に応じて動的に実行される。
The page movement control to the high-
<処理手順>
図7および図8のフローチャートを参照して、ストレージ100において実行されるページ移動制御のための処理手順例について説明する。まず、図7により、対象ページセットを決定するまでの処理手順例について説明する。この図7に示される処理は、図6との対応では、1つの移動制御実行期間におけるアクセス状況監視とこれに続く対象ページセット決定の処理に該当する。
<Processing procedure>
A processing procedure example for page movement control executed in the
対象ページセット決定部130は、新たな移動制御実行期間を開始させたうえで(ステップS101)、ページセット管理テーブル161におけるアクセス頻度の値をリセットする(ステップS102)。
The target page set
次に、アクセス監視部120は、移動制御実行期間の開始とともに、一定時間にわたってデータのアクセス状況を監視する処理を実行する(ステップS103)。このアクセス状況監視処理の結果の1つとして、ページセット単位のアクセス頻度が計測される。そこで、アクセス監視部120は、このアクセス頻度の計測結果が反映されるように、ページセット管理テーブル161におけるアクセス頻度の値を更新する(ステップS104)
Next, the
次に、対象ページセット決定部130は、上記ステップS104により更新されたページセット管理テーブル161のアクセス頻度を参照することにより、アクセス頻度が高い順にページセットを整列する処理を実行する(ステップS105)。対象ページセット決定部130は、このページセットを整列した結果を、整列順データ163として生成して作業メモリ160に記憶させる。
Next, the target page set
次に、対象ページセット決定部130は、対象ページセットを決定するための処理を実行する(ステップS106)。この対象ページセットを決定するための処理としては、例えば次のようになる。対象ページセット決定部130は、整列順データ163を参照することにより、アクセス頻度が高い順にしたがって、ページセットを対象ページセットとして順次決定していく、この決定処理は、例えば対象ページセットを高速記憶媒体111に格納していったと仮定して、これ以上のページセットを格納できるに足る残容量が無くなるまで実行される。あるいは、予め定めた所定数に応じた上位のページセットを整列順データ163から選択して、これを対象ページセットとして決定するという手法も考えることができる。
Next, the target page set determining
次に、対象ページセット決定部130は、上記ステップS106による対象ページセットの決定結果が反映されるようにページ管理テーブル162を更新する(ステップS107)。つまり、対象ページセット決定部130は、例えば、今回決定した対象ページセットを高速記憶媒体111に格納するとした場合のアドレスを暫定的に決定し、このアドレスの値を、ページ管理テーブル162において対象ページセットに対応付けられた高速記憶媒体格納先アドレスに格納する。また、対象ページセットとして決定されなかったページセットに対応する高速記憶媒体格納先アドレスには無効値を格納する。
Next, the target page set
次に、図8のフローチャートを参照して、対象ページセットの決定後において、移動対象ページを検出してページ移動制御を完了させるまでの処理手順例について説明する。この図に示す処理は、図6との対応では、1つの移動制御実行期間におけるページ移動制御に該当する。 Next, with reference to the flowchart of FIG. 8, a description will be given of a processing procedure example after the target page set is determined until the movement target page is detected and the page movement control is completed. The processing shown in this figure corresponds to page movement control in one movement control execution period in correspondence with FIG.
まず、アクセス監視部120は、先の図7のステップS103によるアクセス状況監視の実行期間においてホスト200からアクセス要求のあったページ(アクセスページ)を移動対象ページ検出部140に対して通知する(ステップS201)。
First, the
また、アクセス監視部120は、図7のステップS103によるアクセス状況監視の実行期間において検出されたページに対するアクセス結果に基づいて、ページ管理テーブル162におけるアクセスフラグを更新する(ステップS202)。つまり、上記アクセスページとして検出されたページに対応するアクセスフラグには、アクセスが有ったことを示す「1」を格納する。これに対して、アクセス要求の無かったページに対応するアクセスフラグには、アクセスが無かったことを示す「0」を格納する。
Further, the
先のステップS201によるアクセスページの通知を受けた移動対象ページ検出部140は、移動対象ページの検出処理として、まず、通知されたアクセスページについて移動対象条件と照合する(ステップS203)。ここでの移動対象条件とは、移動対象ページに該当するためのアクセスページについての条件である。具体的には、先の図7のステップS106により決定された対象ページセットに含まれており、かつ、現時点で低速記憶媒体112に格納されているページであることを、その条件とする。還元すれば、移動対象ページは、対象ページセットに含まれているページのうちで、低速記憶媒体112に格納されており、かつ、アクセスが行われたという条件を満たすページとなる。
Receiving the notification of the access page in the previous step S201, the movement target
そして、上記条件を満たすページを特定するため、移動対象ページ検出部140は、ページセット管理テーブル161の包含ページと高速記憶媒体格納先アドレスを参照する。これにより、通知されたアクセスページのうちから、対象ページセットに含まれているアクセスページを特定する。このように特定されたアクセスページが移動対象ページの候補となる。
In order to identify a page that satisfies the above condition, the movement target
次に、移動対象ページ検出部140は、ページ管理テーブル162においてアクセスページのページIDに対応する格納先記憶媒体を参照して、上記移動対象ページの候補のなかから、上記現在低速記憶媒体112に格納されているアクセスページに絞り込みを行う。この絞り込みの結果残ることとなったアクセスページを移動対象ページとして検出する。
Next, the movement target
次に、移動対象ページ検出部140は、上記ステップS203による照合によって、少なくとも1つの移動対象ページが検出されたか否かについて判定する(ステップS204)。ここで、移動対象ページが検出されないと判定した場合には(ステップS204:NO)、ページの移動制御を実行することなく処理を終了する。これに対して、移動対象ページが検出されたと判定した場合(ステップS204:YES)、移動対象ページ検出部140は、データ移動部150に対して、高速記憶媒体111への移動対象ページの移動を指示する(ステップS205)。
Next, the movement target
この移動の指示に応じて、データ移動部150は、高速記憶媒体111の空き容量を確認し(ステップS206)、認識した空き容量に対して、すべての移動対象ページを格納可能か否かについて判定する(ステップS207)。ここで、空き容量が不足しており、すべての移動対象ページを格納できない場合(ステップS207:NO)、データ移動部150は、低速記憶媒体112に格納されている1つのページを選択して高速記憶媒体111に移動させるための処理を実行する(ステップS208)。
In response to this movement instruction, the
上記ステップS208として、データ移動部150は、整列順データ163を参照してアクセス頻度が最も低いページセットを認識する。次に、ページセット管理テーブル161の包含ページを参照してアクセス頻度が最低のページセットに含まれるページを認識する。次に、データ移動部150は、ページ管理テーブル162の格納先記憶媒体を参照することにより、アクセス頻度が最低のページセットに含まれていると認識したページのうちから、高速記憶媒体111に格納されているページを1つ選択する。選択されたページは、アクセス頻度が最低のページセットに含まれるものであるため、高速記憶媒体111に格納されてはいるが、現在のアクセス状況と照らし合わせた場合にはアクセス頻度が低くなっていると推定できる。そこで、データ移動部150は、選択したページを、低速記憶媒体112に移動して格納させる。そして、ステップS206に戻る。これにより、高速記憶媒体111の空き容量が確保されるまで、上記の手順により、アクセス頻度が最低とみなされたページが、順次、低速記憶媒体112に移動されていく。
In step S208, the
そして、移動対象ページを格納可能な高速記憶媒体111の空き容量が確保できたことを判定すると(ステップS207:YES)、データ移動部150は、高速記憶媒体111において確保された空き容量に対して移動対象ページを移動させる(ステップS209)。次に、データ移動部150は、上記ステップS208およびS209によるページの移動結果が反映されるように、ページセット管理テーブル161とページ管理テーブル162を更新する(ステップS210)。ページセット管理テーブル161においては、移動されたページを含むページセットに対応する高速記憶媒体格納先アドレスが更新される。ページ管理テーブル162においては、移動されたページについての格納先記憶媒体が更新される。
When it is determined that the free capacity of the high-
<管理情報のサイズ>
本実施の形態における管理情報と、通常のHSMのシステムにおいて使用が想定される管理情報について比較を行う。例として、ここではページサイズを1MBとし、ページセットのサイズは256MBとする。さらに、記憶部110としての全体の記憶容量を1PB(=1048576GB)とする。
<Management information size>
A comparison is made between the management information in the present embodiment and the management information assumed to be used in a normal HSM system. As an example, here, the page size is 1 MB, and the size of the page set is 256 MB. Further, the total storage capacity of the
まず、図10は、通常のHSMのシステムにおいて使用が想定される管理情報として、1つのページ管理テーブル400を示している。通常のHSMのシステムでは、ページ単位のみにより管理を行う。このために、本実施の形態のようにページセットを管理するための管理情報は用意されない。 First, FIG. 10 shows one page management table 400 as management information assumed to be used in a normal HSM system. In a normal HSM system, management is performed only in units of pages. For this reason, the management information for managing the page set as in the present embodiment is not prepared.
この図に示すページ管理テーブル400は、ページごとに格納先記憶媒体、格納先アドレスおよびアクセス頻度の項目が対応付けられた構造を有する。このページ管理テーブル400における各項目は、ページのアドレス順にしたがって配列されている。 The page management table 400 shown in this figure has a structure in which storage destination storage media, storage destination addresses, and access frequency items are associated with each page. The items in the page management table 400 are arranged according to the page address order.
そのうえで、格納先記憶媒体については、高速記憶媒体111と低速記憶媒体112とに対応して2値を取り得ればよいことから1bitとなる。また、格納先アドレスについては記憶媒体の容量に応じて4byteとする。また、アクセス頻度についても4byteとしている。
In addition, the storage destination storage medium is 1 bit because it is sufficient to obtain a binary value corresponding to the high-
上記の場合において1つのページを管理するのに必要な情報サイズは
65bit=1bit+4byte×2
となる。また、1PBの記憶領域におけるページ数は、
1PB/1MB=1073741824
となる。したがって、ページ管理テーブル400のサイズは、
1073741824×65bit=8724152320byte=8320MB
となる。
In the above case, the information size required to manage one page is 65 bits = 1 bit + 4 bytes × 2
It becomes. The number of pages in the 1PB storage area is
1PB / 1MB = 1073741824
It becomes. Therefore, the size of the page management table 400 is
1073741824 × 65 bits = 8724152320 bytes = 8320 MB
It becomes.
一方、図9(a)および図9(b)は、それぞれ、本実施の形態のページセット管理テーブル161とページ管理テーブル162を示している。まず、この図に示すページセット管理テーブル161は、ページセットごとに対応する項目を、ページセットのアドレス順に配列した構造となっており、図3(a)における記憶領域アドレスと包含ページが省略されている。この場合、ページセット管理テーブル161における列の位置によりページセットを一意に特定できるために、記憶領域アドレスの項目は不要とすることができる。また、ページセットを形成するページ数は固定であるために、包含ページの項目も不要とすることができる。これにより、図9(a)のページセット管理テーブル161は、高速記憶媒体格納先アドレス、低速記憶媒体格納先アドレスおよびアクセス頻度の3項目のみとすることができる。 On the other hand, FIG. 9A and FIG. 9B respectively show the page set management table 161 and the page management table 162 of the present embodiment. First, the page set management table 161 shown in this figure has a structure in which items corresponding to each page set are arranged in the order of the address of the page set, and the storage area address and the included page in FIG. 3A are omitted. ing. In this case, since the page set can be uniquely specified by the column position in the page set management table 161, the storage area address item can be made unnecessary. Further, since the number of pages forming the page set is fixed, the item of the included page can be made unnecessary. As a result, the page set management table 161 in FIG. 9A can include only the three items of the high-speed storage medium storage destination address, the low-speed storage medium storage destination address, and the access frequency.
そのうえで、高速記憶媒体格納先アドレスと低速記憶媒体格納先アドレスについては、それぞれ3byteとしている。これらの格納先アドレスは、図10のページ管理テーブル400の格納先アドレスの4byteに対して1byte小さくなっている。これは以下のような理由による。1つのページセットは256MBであり、1ページのサイズである1MBに対して256倍である。したがって、記憶領域に格納されるページセットの数は、同じ記憶媒体に格納されるページに対して(1/256)となる。これにより、ページ単位でアドレスを管理する場合と比較して、ページセットのアドレス管理に必要な情報量も(1/256)でよいことになる。したがって、ページセットのアドレスが示される高速記憶媒体格納先アドレスと低速記憶媒体格納先アドレスについては、4byteよりも1byte少なくすることができる。また、アクセス頻度については、図10のページ管理テーブル400と同様に4byteとしている。つまり、1つのページセットに対応する情報量は、10byte(=3byte+3byte+4byte)である。 In addition, the high-speed storage medium storage destination address and the low-speed storage medium storage destination address are each 3 bytes. These storage destination addresses are 1 byte smaller than the storage destination address of 4 bytes in the page management table 400 of FIG. This is due to the following reasons. One page set is 256 MB, which is 256 times the size of 1 MB, which is the size of one page. Therefore, the number of page sets stored in the storage area is (1/256) for pages stored in the same storage medium. As a result, as compared with the case where addresses are managed in units of pages, the amount of information necessary for address management of page sets can be (1/256). Therefore, the high-speed storage medium storage destination address and the low-speed storage medium storage destination address indicating the page set address can be 1 byte less than 4 bytes. Further, the access frequency is 4 bytes as in the page management table 400 of FIG. That is, the amount of information corresponding to one page set is 10 bytes (= 3 bytes + 3 bytes + 4 bytes).
また、図9(b)に示されるページ管理テーブル162は、1つのページに格納先記憶媒体、格納先アドレスおよびアクセスフラグの項目を対応付けた構造となっており、図3(b)におけるページIDとページセットアドレスが省略されている。このページ管理テーブル162は、ページのアドレス順にしたがって上記各項目を配列している。これにより、ページを識別するためのページIDは不要とすることができる。また、ページのアドレス順にしたがって配列したことで、各ページが含まれるページセットも一意に特定可能になるため、ページセットアドレスも不要とすることができる。 Further, the page management table 162 shown in FIG. 9B has a structure in which items of storage destination storage medium, storage destination address, and access flag are associated with one page, and the page in FIG. ID and page set address are omitted. The page management table 162 arranges the above items according to the page address order. Thereby, a page ID for identifying a page can be made unnecessary. Further, by arranging according to the page address order, the page set including each page can be uniquely identified, so that the page set address can be made unnecessary.
そのうえで、格納先記憶媒体については1bitとし、格納先アドレスについては1byteとしている。アクセスフラグは、アクセスの有無に応じて2値を取り得ればよいので1bitとしている。 In addition, the storage destination storage medium is 1 bit, and the storage destination address is 1 byte. The access flag is set to 1 bit because it is sufficient to take a binary value in accordance with the presence or absence of access.
格納先アドレスが1byteであるのは次のような理由による。つまり、高速記憶媒体111と低速記憶媒体112のそれぞれの記憶領域においてページを格納する領域は、そのページを含むページセットを格納するアドレスに対応した所定範囲となるように制約を受ける。このため、ページのアドレスとしては、ページセット内でのページの位置のみを管理すればよいことになる。具体的に、256MBのページセットに対して1MBである1ページが格納される位置は256通り存在することになる。したがって、ページ管理テーブル162の格納先アドレスについては1byteでよいことになる。これにより、ページ管理テーブル162において1つのページに対応する情報量は、10bit(=1byte+1bit+1bit)となる。
The storage destination address is 1 byte for the following reason. In other words, the area for storing a page in each storage area of the high-
本実施の形態における管理情報の総サイズは、上記図9(a)および図9(b)に示したページセット管理テーブル161とページ管理テーブル162の各サイズを合計したものとなる。記憶部110の記憶領域におけるページセット数は、
1PB/256MB=4194304個
となる。また、ページ数は、図10の場合と同様に1073741824個である。したがって、ページセット管理テーブル161とページ管理テーブル162の合計は、
10byte×4194304+10bit×1073741824=1320MB
となる。これに対して、図10におけるページ管理テーブル400の容量は8320MBであり、本実施の形態では、管理情報の容量が大幅に削減されていることが分かる。このように、本実施の形態においては管理情報の容量の増加が抑制されるものであり、これにより効率的にデータ移動制御を行うことが可能になる。
The total size of the management information in this embodiment is the sum of the sizes of the page set management table 161 and the page management table 162 shown in FIGS. 9A and 9B. The number of page sets in the storage area of the
1PB / 256MB = 4194304. Further, the number of pages is 1073741824 as in the case of FIG. Therefore, the sum of the page set management table 161 and the page management table 162 is
10 bytes x 4194304 + 10 bits x 1073741824 = 1320MB
It becomes. On the other hand, the capacity of the page management table 400 in FIG. 10 is 8320 MB, and it can be seen that the capacity of management information is greatly reduced in this embodiment. As described above, in this embodiment, an increase in the capacity of management information is suppressed, thereby enabling efficient data movement control.
なお、整列順データ163は、ページセットのアクセス頻度順にしたがってページセットアドレスを配列しただけの構造であるために、その容量は非常に小さく、管理情報の増加にはほとんど影響しない。具体的に、ページセットアドレスについては、高速記憶媒体格納先アドレスおよび低速記憶媒体格納先アドレスと同様に3byteでよい。したがって、整列順データ163は、
3byte×4194304=12582912byte=12MB
となる。
The
3 bytes × 4194304 = 12582912 bytes = 12 MB
It becomes.
上記実施の形態では、移動対象ページ検出部140は、アクセス監視部120からのアクセスページの通知に基づいて移動対象ページを検出することとしている。これ以外にも、例えば移動対象ページ検出部140が、アクセス監視部120により更新されたページ管理テーブル162のアクセスフラグを参照してアクセスページを認識して移動対象ページの検出を行うようにしてもよい。また、移動対象ページ検出部140は、その検出結果を示す情報を作業メモリ160に保持させることとする。そのうえで、データ移動部150は、例えば移動対象ページ検出部140からの移動指示に代えて、上記検出結果を示す情報を参照し、この情報が更新されたタイミングに応じて移動対象ページの移動を行うようにしてもよい。また、対象ページセット決定部130が、アクセス頻度の高い順によりページセットを配列する処理は、必ずしもアクセス状況監視の終了ごとに行う必要はなく、例えばアクセス頻度について更新が行われたタイミングで行うようにしてもよい。また、データ移動部150によるページ移動制御は、必ずしも、移動制御実行期間の開始タイミングにおいて実行する必要はなく、例えばストレージ100の負荷が高いような状況であれば、負荷が一定以下に低下するまで待機した後に実行するようにしてもよい。
In the above embodiment, the movement target
また、上記実施の形態においては、記憶部110において各1つの高速記憶媒体111と低速記憶媒体112を備えることとしているが、少なくともいずれか一方について複数を備える構成としてもよい。また、高速記憶媒体111と低速記憶媒体112を、それぞれ、異なるストレージ装置が備えるような構成とすることも考えられる。
In the above-described embodiment, each
また、上述のストレージ100は内部にコンピュータシステムを有している。そして、これまでにおいて説明したストレージ100の処理は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって実行される。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
The above-described
110 記憶部
111 高速記憶媒体
112 低速記憶媒体
120 アクセス監視部
130 対象ページセット決定部
140 移動対象ページ検出部
150 データ移動部
160 作業メモリ
161 ページセット管理テーブル
162 ページ管理テーブル
163 整列順データ
170 通信部
180 アクセス制御部
200 ホスト
300 ネットワーク
400 ページ管理テーブル
DESCRIPTION OF
Claims (5)
前記アクセス監視手段により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手段と、
前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手段と、
前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手段と、
を備えることを特徴とする記憶媒体制御装置。 Detecting presence / absence of access based on a data unit when moving data between a first storage medium having a predetermined access speed and a second storage medium having a lower access speed than the first storage medium, and Access monitoring means for measuring access frequency by a data unit set in which a predetermined number of data units are continuously formed; and
A target page set determining unit that determines a target page set including a page to be stored in the first storage medium based on a measurement result of the access frequency measured by the access monitoring unit;
A page included in the target page set, stored in the second storage medium, and accessed is detected as movement target data to be moved to the first storage medium. Moving object data detection means;
Data moving means for moving the data to be moved from the second storage medium to the first storage medium;
A storage medium control apparatus comprising:
前記アクセス監視手段は、前記データ単位のアクセスの有無の検出結果に応じて前記アクセス有無情報を更新するともに、前記データ単位セットのアクセス頻度の計測結果に応じて前記アクセス頻度情報を更新し、
前記対象ページセット決定手段は、前記アクセス頻度情報に基づいて、前記対象ページセットを決定し、
前記移動対象データ検出手段は、前記格納先記憶媒体情報に基づいて前記第2の記憶媒体に格納されているページを検出し、前記アクセス有無情報に基づいて前記アクセスが行われたページを検出する、
ことを特徴とする請求項1に記載の記憶媒体制御装置。 A storage destination address of the first storage medium, a storage destination address of the second storage medium, data movement unit set management information in which access frequency information is associated with each data unit set, and a storage medium of the storage destination Further comprising a working memory for storing data unit management information in which storage destination storage medium information, a storage destination address, and access presence / absence information indicating the presence / absence of access are associated with each data unit;
The access monitoring means updates the access presence / absence information according to the detection result of presence / absence of access of the data unit, and updates the access frequency information according to the access frequency measurement result of the data unit set,
The target page set determining means determines the target page set based on the access frequency information,
The movement target data detection unit detects a page stored in the second storage medium based on the storage destination storage medium information, and detects a page that has been accessed based on the access presence / absence information. ,
The storage medium control device according to claim 1.
前記第1の記憶媒体と前記第2の記憶媒体との間でデータを移動させる際のデータ単位によりアクセスの有無を検出するとともに、前記データ単位が所定数連続して形成されるデータ単位セットによりアクセス頻度を計測するアクセス監視手段と、
前記アクセス監視手段により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手段と、
前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手段と、
前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手段と、
を備えることを特徴とする記憶装置。 Storage means comprising a first storage medium having a predetermined access speed and a second storage medium having an access speed lower than that of the first storage medium;
By detecting the presence / absence of access by a data unit when data is moved between the first storage medium and the second storage medium, and by a data unit set in which a predetermined number of the data units are continuously formed Access monitoring means for measuring access frequency;
A target page set determining unit that determines a target page set including a page to be stored in the first storage medium based on a measurement result of the access frequency measured by the access monitoring unit;
A page included in the target page set, stored in the second storage medium, and accessed is detected as movement target data to be moved to the first storage medium. Moving object data detection means;
Data moving means for moving the data to be moved from the second storage medium to the first storage medium;
A storage device comprising:
前記アクセス監視手順により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手順と、
前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手順と、
前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手順と、
を備えることを特徴とする記憶媒体制御方法。 Detecting presence / absence of access based on a data unit when moving data between a first storage medium having a predetermined access speed and a second storage medium having a lower access speed than the first storage medium, and An access monitoring procedure for measuring access frequency by a data unit set in which a predetermined number of data units are continuously formed;
A target page set determination procedure for determining a target page set including a page to be stored in the first storage medium based on a measurement result of the access frequency measured by the access monitoring procedure;
A page included in the target page set, stored in the second storage medium, and accessed is detected as movement target data to be moved to the first storage medium. A procedure for detecting data to be moved;
A data movement procedure for moving the data to be moved from the second storage medium to the first storage medium;
A storage medium control method comprising:
所定のアクセス速度の第1の記憶媒体と当該第1の記憶媒体よりもアクセス速度が低い第2の記憶媒体との間でデータを移動させる際のデータ単位によりアクセスの有無を検出するとともに、前記データ単位が所定数連続して形成されるデータ単位セットによりアクセス頻度を計測するアクセス監視手順と、
前記アクセス監視手順により計測されたアクセス頻度の計測結果に基づいて、前記第1の記憶媒体に格納すべきページを含む対象ページセットを決定する対象ページセット決定手順と、
前記対象ページセットに含まれており、かつ、前記第2の記憶媒体に格納されており、かつ、アクセスが行われたページを、前記第1の記憶媒体に移動させるべき移動対象データとして検出する移動対象データ検出手順と、
前記移動対象データを前記第2の記憶媒体から前記第1の記憶媒体に移動させるデータ移動手順と、
を実行させるためのプログラム。 In the storage medium control device,
Detecting presence / absence of access based on a data unit when moving data between a first storage medium having a predetermined access speed and a second storage medium having a lower access speed than the first storage medium, and An access monitoring procedure for measuring access frequency by a data unit set in which a predetermined number of data units are continuously formed;
A target page set determination procedure for determining a target page set including a page to be stored in the first storage medium based on a measurement result of the access frequency measured by the access monitoring procedure;
A page included in the target page set, stored in the second storage medium, and accessed is detected as movement target data to be moved to the first storage medium. A procedure for detecting data to be moved;
A data movement procedure for moving the data to be moved from the second storage medium to the first storage medium;
A program for running
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011113221A JP5716537B2 (en) | 2011-05-20 | 2011-05-20 | Storage medium control device, storage device, storage medium control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011113221A JP5716537B2 (en) | 2011-05-20 | 2011-05-20 | Storage medium control device, storage device, storage medium control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012243117A true JP2012243117A (en) | 2012-12-10 |
| JP5716537B2 JP5716537B2 (en) | 2015-05-13 |
Family
ID=47464753
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011113221A Expired - Fee Related JP5716537B2 (en) | 2011-05-20 | 2011-05-20 | Storage medium control device, storage device, storage medium control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5716537B2 (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014112104A1 (en) * | 2013-01-18 | 2014-07-24 | 株式会社日立製作所 | Computer system, data management method, and host computer |
| WO2014132966A1 (en) * | 2013-02-26 | 2014-09-04 | 日本電気株式会社 | Storage system, storage device, storage device control method and control program, management device, and management device control method and control program |
| JP2014191503A (en) * | 2013-03-26 | 2014-10-06 | Fujitsu Ltd | Control program of storage control device, control method of storage control device, storage control device, and storage system |
| JP2014199596A (en) * | 2013-03-29 | 2014-10-23 | 富士通株式会社 | Data arrangement program, data arrangement method, and information processor |
| JP2016184326A (en) * | 2015-03-26 | 2016-10-20 | 富士通株式会社 | Hierarchical storage device, hierarchical storage controller, hierarchical storage control program, and method for controlling hierarchical storage |
| JP2017502435A (en) * | 2013-10-27 | 2017-01-19 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated | I/O Memory Map Unit and North Bridge |
| WO2019130249A1 (en) * | 2017-12-27 | 2019-07-04 | Toshiba Memory Corporation | System and method for accessing and managing key-value data over networks |
| US10440198B2 (en) | 2016-12-05 | 2019-10-08 | Canon Kabushiki Kaisha | Image processing apparatus, mobile terminal, and methods for controlling the same |
| US10642545B2 (en) | 2016-08-05 | 2020-05-05 | Canon Kabushiki Kaisha | Information processing apparatus that controls shifting between power states in accordance with remaining storage capacity and control method thereof |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007293486A (en) * | 2006-04-24 | 2007-11-08 | Fujitsu Ltd | Disk device, disk control method and program |
| JP2010257094A (en) * | 2009-04-23 | 2010-11-11 | Hitachi Ltd | Extraction method of migration candidate file in hierarchical storage management system |
-
2011
- 2011-05-20 JP JP2011113221A patent/JP5716537B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007293486A (en) * | 2006-04-24 | 2007-11-08 | Fujitsu Ltd | Disk device, disk control method and program |
| JP2010257094A (en) * | 2009-04-23 | 2010-11-11 | Hitachi Ltd | Extraction method of migration candidate file in hierarchical storage management system |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014112104A1 (en) * | 2013-01-18 | 2014-07-24 | 株式会社日立製作所 | Computer system, data management method, and host computer |
| US9619154B2 (en) | 2013-01-18 | 2017-04-11 | Hitachi, Ltd. | Computer system, data management method, and host computer |
| JPWO2014132966A1 (en) * | 2013-02-26 | 2017-02-02 | 日本電気株式会社 | Storage system, storage device, storage device control method and control program, management device, management device control method and control program |
| WO2014132966A1 (en) * | 2013-02-26 | 2014-09-04 | 日本電気株式会社 | Storage system, storage device, storage device control method and control program, management device, and management device control method and control program |
| JP2014191503A (en) * | 2013-03-26 | 2014-10-06 | Fujitsu Ltd | Control program of storage control device, control method of storage control device, storage control device, and storage system |
| JP2014199596A (en) * | 2013-03-29 | 2014-10-23 | 富士通株式会社 | Data arrangement program, data arrangement method, and information processor |
| JP2017502435A (en) * | 2013-10-27 | 2017-01-19 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated | I/O Memory Map Unit and North Bridge |
| US10223280B2 (en) | 2013-10-27 | 2019-03-05 | Advanced Micro Devices, Inc. | Input/output memory map unit and northbridge |
| JP2016184326A (en) * | 2015-03-26 | 2016-10-20 | 富士通株式会社 | Hierarchical storage device, hierarchical storage controller, hierarchical storage control program, and method for controlling hierarchical storage |
| US10642545B2 (en) | 2016-08-05 | 2020-05-05 | Canon Kabushiki Kaisha | Information processing apparatus that controls shifting between power states in accordance with remaining storage capacity and control method thereof |
| US10440198B2 (en) | 2016-12-05 | 2019-10-08 | Canon Kabushiki Kaisha | Image processing apparatus, mobile terminal, and methods for controlling the same |
| WO2019130249A1 (en) * | 2017-12-27 | 2019-07-04 | Toshiba Memory Corporation | System and method for accessing and managing key-value data over networks |
| US10715499B2 (en) | 2017-12-27 | 2020-07-14 | Toshiba Memory Corporation | System and method for accessing and managing key-value data over networks |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5716537B2 (en) | 2015-05-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5716537B2 (en) | Storage medium control device, storage device, storage medium control method, and program | |
| US8775731B2 (en) | Write spike performance enhancement in hybrid storage systems | |
| US9792073B2 (en) | Method of LUN management in a solid state disk array | |
| US7506101B2 (en) | Data migration method and system | |
| US9635123B2 (en) | Computer system, and arrangement of data control method | |
| CN106610903B (en) | Hierarchical memory system, memory controller and deduplication and memory hierarchy method | |
| US8954658B1 (en) | Method of LUN management in a solid state disk array | |
| JP6146087B2 (en) | Storage control program, storage control method, storage system, and hierarchical control apparatus thereof | |
| CN101118477A (en) | Method for improving disk data access efficiency | |
| US20140025916A1 (en) | Storage system and storage control method | |
| CN103559138A (en) | Solid state disk (SSD) and space management method thereof | |
| US9361033B2 (en) | Compound storage system and storage control method | |
| JP5857849B2 (en) | Storage device, activation device determination method, and program | |
| JP6323445B2 (en) | Storage apparatus, method and program | |
| US20180341423A1 (en) | Storage control device and information processing system | |
| CN101957729B (en) | Logical block transformation method and method and device compatible with reading and writing of user based on same | |
| US9699254B2 (en) | Computer system, cache management method, and computer | |
| JP2008192020A (en) | RAID control apparatus and control method thereof | |
| CN104133909A (en) | Multi-layer file system | |
| JP6112193B2 (en) | Access control program, disk device, and access control method | |
| JP5505195B2 (en) | Memory control device and control method | |
| JP2014238771A (en) | Storage controller, access control method, and control program | |
| JP2017162166A (en) | Storage system and storage system control method | |
| CN119229912A (en) | NVMe write IO initiator circuit of NVMe controller | |
| CN103558991B (en) | Data hierarchical storage processing method, device and storage device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140306 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141114 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141209 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150127 |
|
| 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: 20150217 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150302 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5716537 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |