JPH11134252A - Information storage subsystem - Google Patents
Information storage subsystemInfo
- Publication number
- JPH11134252A JPH11134252A JP9292400A JP29240097A JPH11134252A JP H11134252 A JPH11134252 A JP H11134252A JP 9292400 A JP9292400 A JP 9292400A JP 29240097 A JP29240097 A JP 29240097A JP H11134252 A JPH11134252 A JP H11134252A
- Authority
- JP
- Japan
- Prior art keywords
- cache
- data
- disk
- control unit
- read request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】
【課題】 キャッシュとディスク装置間のリード要求を
行う際に、キャッシュ内に、ホストのリードデータ要求
範囲中にディスクへの未反映(のライト)データがどの
ようなパタ−ンで存在していても、ディスクへの1回の
データ転送要求を行うことによって性能ダウンさせない
ようにすること。
【解決手段】 記憶制御部内の外部記憶装置制御部10
9は、上位ホスト100のリード要求を処理する場合、
キャッシュ107上に、上記リード要求に対応するトラ
ックに対して、通常のデータスロット114の他に、そ
のデータスロット114とは別に、本発明により、その
トラックに対応して一時的に「ワークスロット」115
を割り当てる。
(57) [PROBLEMS] When performing a read request between a cache and a disk device, in the cache, what kind of pattern is the data not reflected (written) to the disk in the read data request range of the host. Even if the data exists, the performance must not be reduced by making a single data transfer request to the disk. SOLUTION: External storage device control unit 10 in the storage control unit
9 processes a read request from the host 100
According to the present invention, in addition to the normal data slot 114, a track corresponding to the track corresponding to the read request is temporarily stored in the cache 107 in accordance with the present invention. 115
Assign.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ホストコンピュー
タ等の上位処理装置(以下、上位ホストあるいは単に、
ホストと言う)に接続される記憶制御部と、磁気ディス
ク記憶装置、光ディスク記憶装置等のディスク装置から
構成された情報記憶部を有する情報記憶サブシステムに
関し、特に、上位ホストからのリ−ド要求に対して、情
報記憶部から記憶制御部内のキャッシュへデータ読み込
む処理を行うデータ転送制御方式を採る情報記憶サブシ
ステムに関する。The present invention relates to a host processing device such as a host computer (hereinafter referred to as a host computer or simply a host computer).
The present invention relates to a storage control unit connected to a host, and an information storage subsystem having an information storage unit composed of a disk device such as a magnetic disk storage device and an optical disk storage device. The present invention relates to an information storage subsystem adopting a data transfer control method for performing a process of reading data from an information storage unit to a cache in a storage control unit.
【0002】[0002]
【従来の技術】上位ホストから、ディスク記憶装置に対
して、ディスクとそのトラックを指定して、情報の読み
出し(リード)要求があったとき、記憶制御部内の外部
記憶装置制御部は、特開平1−161551号公報等に
示されるように、次のようなデータ転送制御を行うこと
が知られている。2. Description of the Related Art When a host requests a disk storage device to specify a disk and its track and read out (read) information, an external storage device control unit in the storage control unit operates as disclosed in It is known that the following data transfer control is performed as disclosed in Japanese Patent Application Laid-Open No. 1-161551.
【0003】すなわち、 (1)上位ホストからリード要求があった範囲内の全て
のデータが、記憶制御部内のキャッシュに存在しない、
いわゆる、キャッシュミスの場合は、ディスク記憶装置
へデータの転送を要求する。[0003] (1) All data within a range where a read request has been made from a higher-level host does not exist in a cache in a storage control unit.
In the case of a so-called cache miss, data transfer is requested to the disk storage device.
【0004】(2)また、上位ホストからリード要求が
あった範囲内の一部のデータがキャッシュミスで、他の
一部のデータがキャッシュに存在(キャッシュヒット)
し、かつ、このキャッシュヒットしたデータの中に、ま
だディスク記憶装置へ未反映の部分が存在する場合は、
キャッシュヒットし、かつ、ディスク記憶装置へ未反映
であるデータ部分を除いた部分について、ディスク記憶
装置へデータの転送を要求する。(2) In addition, some data within a range where a read request is made from a higher-level host is a cache miss, and some other data exists in a cache (cache hit).
And if there is a part that has not yet been reflected in the disk storage device in the cache hit data,
A request is made to transfer data to the disk storage device except for a data portion that has a cache hit and is not reflected in the disk storage device.
【0005】しかし、この制御方法では、キャッシュヒ
ットしているディスク装置へ未反映のデータ部分が分散
して、いろいろなパターンで存在する場合、上位ホスト
のリード要求範囲に対して一度にディスク装置へのデー
タ転送要求を指示してしまうとディスク装置へ未反映の
データ部分を上書きしてしまうので、そのような事態を
避けるために、ディスクへのデータ転送要求は、ディス
クへ未反映のデータ部分を除きながら、複数回に亘り、
データ転送要求動作をする必要がある。そのため、ディ
スクの回転待ち及びディスクアクセスの時間が増える欠
点があった。However, according to this control method, when the unreflected data portion is distributed to the disk device having a cache hit and exists in various patterns, the data is transferred to the disk device at a time with respect to the read request range of the upper host. If a data transfer request is issued, the data portion that has not been reflected on the disk device will be overwritten. Excluding, multiple times,
It is necessary to perform a data transfer request operation. For this reason, there is a disadvantage that the time required for disk rotation waiting and disk access increases.
【0006】[0006]
【発明が解決しようとする課題】上記したように、従来
の技術では、キャッシュヒットしているがディスク装置
へは未反映のデータ部分が分かれて、いろいろなパター
ンで存在する場合、上位ホストからのリード要求範囲に
対して、ディスク記憶装置に対するデータ転送要求は、
ディスクへ未反映のデータ部分を除いて、分割して複数
回に亘りデータ転送要求をすることになってしまうた
め、ディスクの回転待ち及びディスクアクセスの時間が
発生してしまう。As described above, in the prior art, when a cache hit occurs but the data portion not reflected on the disk device is divided and exists in various patterns, the data is transmitted from the upper host. For the read request range, the data transfer request to the disk storage device is:
Except for the data portion that has not been reflected on the disk, the data is divided and a data transfer request is made a plurality of times, so that a disk rotation wait and a disk access time occur.
【0007】したがって、本発明の目的は、キャッシュ
上のデータパターンのいかんに係らずに、上位ホストの
リード要求範囲に対してディスクへ一度のデータ転送要
求を行い、ディスクの回転待ちを軽減することにある。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to reduce the rotational delay of a disk by making a single data transfer request to a disk within a read request range of a host, regardless of the data pattern on the cache. It is in.
【0008】[0008]
【課題を解決するための手段】従来の技術において、デ
ィスクの回転待ち及びディスクアクセスの時間が増えて
しまうのは、キャッシュのデータパターンによって、上
位ホストのリード要求範囲に対してディスクへ複数回の
データ転送要求を行っているのが原因である。SUMMARY OF THE INVENTION In the prior art, the increase in disk rotation wait time and disk access time is caused by the data pattern of the cache, which causes the disk to be sent to the disk multiple times for the read request range of the host. This is because a data transfer request has been made.
【0009】そこで、本発明では、記憶制御部内の外部
記憶装置制御部は、上位ホストのリード要求を処理する
場合、キャッシュ上に、上記リード要求に対応するトラ
ックに対して、通常のデータスロットの他に、そのデー
タスロットとは別に、本発明により、そのトラックに対
応して一時的に「ワークスロット」を割り当てることを
第1の特徴とするものである。Therefore, according to the present invention, when the external storage device control unit in the storage control unit processes a read request from an upper host, the external storage device control unit stores a normal data slot in a cache with respect to a track corresponding to the read request. Another feature of the present invention is that a "work slot" is temporarily assigned to the track separately from the data slot according to the present invention.
【0010】そして、ステージングされたトラックのデ
ータは、上記データスロットのキャッシュミス部分に対
しては、データスロット側へステージングし、キャッシ
ュヒット部分のうち、ディスク記憶装置へ未反映のデー
タ部分は、上記ワークスロットへステージングすること
を第2の特徴とする。このように、データスロット及び
本発明によるワークスロットへのステージングが完了す
ると。上位ホストからのリード要求範囲の全てのデータ
は、データスロットあるいはワークスロットのいずれか
のスロットにキャッシュヒットすることになる。The data of the staged track is staged to the data slot side with respect to the cache miss portion of the data slot, and of the cache hit portion, the data portion that is not reflected in the disk storage device is The second feature is that staging to a work slot is performed. Thus, when the staging to the data slot and the work slot according to the present invention is completed. All data in the read request range from the upper host has a cache hit in either the data slot or the work slot.
【0011】本発明の第3の特徴によれば、記憶制御部
内の外部記憶装置制御部は、ディスク記憶装置へは、1
回のデータ転送要求を行い、上記のようにステージング
されたトラックのデータは、キャッシュミス部分に対し
ては、通常のスロットへステージングする。また、キャ
ッシュ内のディスク装置へ未反映のデータ部分は、ワー
クスロットへステージングすることによって、キャッシ
ュのデータパターンに影響されることなく1回のデータ
転送要求によりデータ転送が完了可能となり、ディスク
の回転待ち及びディスクアクセスの待ち時間が軽減さ
れ、効率の良いデータ転送が実現できる。According to a third feature of the present invention, the external storage device control unit in the storage control unit stores one disk storage device.
The data of the track staged as described above is sent to the normal slot for the cache miss portion. Further, by staging the data portion not reflected in the disk device in the cache to a work slot, the data transfer can be completed by one data transfer request without being affected by the data pattern of the cache, and the rotation of the disk can be completed. Waiting time and waiting time for disk access are reduced, and efficient data transfer can be realized.
【0012】本発明は、上記第1ないし第3の特徴によ
り、上位ホストと記憶制御部とのインタフェースにおい
ては、上位ホストのリードコマンドは、リード要求する
データが、キャッシュ内にある(キャッシュヒットす
る)か、否(キャッシュミスになる)か、あるいは、デ
ィスク装置へ反映済みか未反映かにより生じる、無数の
データパターンを、なんら考慮することない、単純なリ
ードコマンドであり、記憶制御部とディスク装置とのイ
ンタフェースにおけるリードデータ転送は、1回のリー
ド転送要求及びそれに応答するデータ転送動作とするこ
とができる。According to the first to third features of the present invention, in the interface between the upper host and the storage controller, the read command of the upper host has the data requested to be read in the cache (cache hit). ), No (a cache miss), or an infinite number of data patterns, which are caused by whether the data has been reflected or not reflected in the disk device. The read data transfer at the interface with the device can be a single read transfer request and a data transfer operation in response thereto.
【0013】以下、本発明を、図に示す実施の形態によ
って具体的に説明する。Hereinafter, the present invention will be described in detail with reference to an embodiment shown in the drawings.
【0014】[0014]
【発明の実施の形態】図1は、本発明の実施の形態とし
てディスクサブシステムの構成図を示す。図1におい
て、ディスク制御装置103は、上位装置100に接続
された上位光チャネル101との通信プロトコルを制御
する光通信制御部104と、ディスク装置111を制御
する外部記憶装置制御部109と、その双方と通信する
チャネル制御部106と、データを格納するキャッシュ
107とからなる。各制御部は、光ファイバケーブル1
01、光通信制御部・チャネル制御部間バス105、チ
ャネル制御部・外部記憶装置間制御部間バス108、外
部記憶装置制御部・ディスク装置間バス110、及び、
光通信制御部・チャネル制御部・チャネル制御部・外部
記憶装置間制御部間バス112により接続される。FIG. 1 shows the configuration of a disk subsystem according to an embodiment of the present invention. In FIG. 1, a disk control device 103 includes an optical communication control unit 104 that controls a communication protocol with a higher-level optical channel 101 connected to a higher-level device 100, an external storage device control unit 109 that controls a disk device 111, It comprises a channel control unit 106 that communicates with both, and a cache 107 that stores data. Each control unit has an optical fiber cable 1
01, an optical communication control unit / channel control unit bus 105, a channel control unit / external storage device control unit bus 108, an external storage device control unit / disk device bus 110,
The optical communication control unit / channel control unit / channel control unit / external storage device control unit 112 is connected by a bus 112.
【0015】キャッシュ107は、データを格納するデ
ータスロット114と、ワークスロット115を持つ。The cache 107 has a data slot 114 for storing data and a work slot 115.
【0016】光通信制御部104は、バッファ113を
持ち、上位チャネル101からの書き込み(ライト)デ
ータ、又は、チャネル制御部106からの読み出し(リ
ード)データを、このバッファ113へ取り込んでから
データ転送を行う。バッファ113に取り込まれたデー
タは、ハードウェア制御によって、チャネル制御部10
6、又は、上位光チャネル101へ転送を行う。光通信
制御部104は、上位光チャネル101からのデータの
書き込み、及び、読み込み要求をチャネル制御部106
へ通知する。The optical communication control unit 104 has a buffer 113, and takes in write (write) data from the upper channel 101 or read (read) data from the channel control unit 106, and transfers the data to the buffer 113. I do. The data taken into the buffer 113 is transmitted to the channel control unit 10 by hardware control.
6 or transfer to the upper optical channel 101. The optical communication control unit 104 sends data write and read requests from the upper optical channel 101 to the channel control unit 106.
Notify to
【0017】チャネル制御部106は、光通信制御部1
04のバッファ113とキャッシュ107間のデータ転
送を行う。チャネル制御部106は、光通信制御部10
4からのデータの書き込み要求及び読み込み要求を、外
部記憶装置制御部109へ通知する。The channel control unit 106 includes the optical communication control unit 1
Data transfer between the buffer 113 and the cache 107 is performed. The channel control unit 106 includes the optical communication control unit 10
4 to the external storage device control unit 109.
【0018】外部記憶装置制御部109は、データをデ
ィスク装置111より読み込み、キャッシュ107へ格
納する(リード)ステージング動作のデータ転送と、キ
ャッシュ107上のデータを、ディスク装置111へ反
映する(ライト)ステージングデータ転送とを行う。外
部記憶装置制御部109は、チャネル制御部106へキ
ャッシュ107とディスク装置111間のデータ転送が
完了したことをチャネル制御部106へ通知する。The external storage controller 109 reads data from the disk device 111 and stores it in the cache 107 (read). Data transfer in a staging operation, and reflects the data in the cache 107 to the disk device 111 (write). Perform staging data transfer. The external storage device control unit 109 notifies the channel control unit 106 that the data transfer between the cache 107 and the disk device 111 has been completed.
【0019】図2は、本発明の実施の形態における外部
記憶装置制御部109の、キャッシュ・ディスク間のデ
ータ転送制御動作を示すフローチャートである。以下、
図1及び図2により、外部記憶装置制御部109によ
る、キャッシュ・ディスク間のデータ転送制御動作の流
れを説明する。FIG. 2 is a flowchart showing a data transfer control operation between the cache disk and the external storage device control unit 109 according to the embodiment of the present invention. Less than,
The flow of the data transfer control operation between the cache and the disk by the external storage device control unit 109 will be described with reference to FIGS.
【0020】まず、上位ホストから、光チャネル101
を通して、ディスク制御装置103に、ディスク装置1
11のあるディスクの、あるトラック(仮にトラック1
とする)に対するリード要求があり、チャネル制御部1
06からディスク装置111の上記ディスクのトラック
1に対するデータ転送の指示、データ転送制御処理動作
が開始する(ステップ201)。First, from the upper host, the optical channel 101
Through the disk controller 103 to the disk device 1
Track of a certain disk (for example, track 1
), And the channel control unit 1
At 06, an instruction to transfer data to track 1 of the disk of the disk device 111 and a data transfer control processing operation start (step 201).
【0021】次に、キャッシュヒットあるいはキャッシ
ュミスの監視処理は、キャッシュ上に、トラック1のス
ロットが、キャッシュヒットしているか否かをチェック
することにより行う(ステップ202)。Next, the monitoring process for a cache hit or cache miss is performed by checking whether or not the slot of track 1 has a cache hit in the cache (step 202).
【0022】キャッシュミスの場合は、キャッシュ上に
トラック1のスロットとして、データスロット114の
みを割り当てる(ステップ203)。In the case of a cache miss, only the data slot 114 is allocated as a slot of track 1 on the cache (step 203).
【0023】キャッシュヒットの場合は、データヒット
・ミス処理に入り、まず、リード要求範囲内の全てのデ
ータがキャッシュに存在するか否かをチェックする(ス
テップ204)。In the case of a cache hit, data hit / miss processing is entered, and it is first checked whether or not all data within the read request range exists in the cache (step 204).
【0024】全てのデータが、キャッシュに存在する場
合は、チャネル制御部106へデータ転送完了通知を行
う(ステップ210)が、キャッシュに存在しないデー
タがある場合には、ワークスロット115の割り当て処
理に入る。If all the data exists in the cache, a data transfer completion notification is sent to the channel control unit 106 (step 210). enter.
【0025】ワークスロット115の割り当て処理にお
いて、キャッシュ上にトラック1のワークスロット11
5を割り当てる(ステップ205)。In the process of allocating the work slot 115, the work slot 11 of the track 1 is stored in the cache.
5 (step 205).
【0026】次に、ディスク装置111に対して、リー
ド要求範囲について1回のデータ転送要求指示を行う
(ステップ206)。Next, one data transfer request instruction is issued to the disk device 111 for the read request range (step 206).
【0027】続いて、ディスク制御装置103内の外部
記憶装置制御部109は、ステージング振り分け処理に
入る。ステージング振り分け処理において、ディスク装
置からステージングされたトラック1のデータが、キャ
ッシュミス部分か否かをチェックし(ステップ20
7)、キャッシュミス部分のデータは、トラック1のデ
ータスロット114へステージングし(ステップ20
8)、また、既にステージング済みのデータは、ワーク
スロット115へステージングする(ステップ20
9)。Subsequently, the external storage device control unit 109 in the disk control device 103 starts a staging distribution process. In the staging distribution process, it is checked whether the data of track 1 staged from the disk device is a cache miss part (step 20).
7), the data of the cache miss portion is staged to the data slot 114 of the track 1 (step 20).
8) Also, the staged data is staged to the work slot 115 (step 20).
9).
【0028】このようにして、ステージングが完了する
と、上位ホストからのリード要求範囲の全てのデータが
キャッシュ上に存在することになるので、外部記憶装置
制御部109は、チャネル制御部106へ、データ転送
完了通知を行う(ステップ210)。When the staging is completed in this manner, all data in the read request range from the upper host exists in the cache, so that the external storage controller 109 sends the data to the channel controller 106. A transfer completion notification is made (step 210).
【0029】最後に、ワークスロット115を開放し
(ステップ211)、データ転送制御動作を完了する
(ステップ212)。Finally, the work slot 115 is released (step 211), and the data transfer control operation is completed (step 212).
【0030】図3は、図2に示した、キャッシュ・ディ
スク間のデータ転送制御処理の具他例を、データ構造に
より示したものである。以下、図3のデータ転送制御処
理の例について説明する。FIG. 3 shows a specific example of the data transfer control processing between the cache disk and the disk shown in FIG. 2 by a data structure. Hereinafter, an example of the data transfer control process of FIG. 3 will be described.
【0031】前提条件として、ディスク装置111は磁
気ディスク装置HDDとし、HDDからキャッシュへの
データ転送は、リード要求範囲の中で1トラック単位で
行うものとする。As a precondition, the disk device 111 is a magnetic disk device HDD, and data transfer from the HDD to the cache is performed in units of one track in the read request range.
【0032】図3Aは、図2のステップ203に相当す
る場合を示し、リード要求範囲の全データが、キャッシ
ュに存在しないので、キャッシュ上のデータスロット1
14に、リード要求範囲の1トラック(論理アドレス空
間)を割り当てる(ステップ311)。HDDからは、
リード要求範囲のデータが、当該トラックからキャッシ
ュのデータスロット114に転送される(ステップ31
2)。FIG. 3A shows a case corresponding to step 203 in FIG. 2. Since all data in the read request range does not exist in the cache, data slot 1 in the cache is
14, one track (logical address space) in the read request range is allocated (step 311). From the HDD,
The data in the read request range is transferred from the track to the data slot 114 of the cache (step 31).
2).
【0033】図3Bないし図3Dは、図2のステップ2
04ないしステップ208に相当する場合を示す。FIGS. 3B to 3D show steps 2 and 3 of FIG.
A case corresponding to steps 04 to 208 is shown.
【0034】まず、図3Bにおいて、上位ホストからの
リード要求範囲のデータについて、ディスクへの未反映
部分とキャッシュヒット部分とを区別する(ステップ3
21)。図では、ディスクへ未反映部分は、濃い網掛け
で示し、キャッシュヒット部分は、薄い網掛けで、それ
ぞれ示している。なお、同図において、スロットの白抜
き部分は、キャッシュミス部分である。次に、キャッシ
ュの未使用(予備)領域を、ワークスロットとしてキャ
ッシュ上のリード要求範囲の当該トラック(論理アドレ
ス空間)を割り当てる(ステップ322)。この割り当
てられた未使用(予備)領域をワークスロットと呼ぶ。
このワークスロット割り当て動作は、図2のステップ2
05に相当する。First, in FIG. 3B, for the data in the read request range from the upper host, a portion not reflected on the disk and a cache hit portion are distinguished (step 3).
21). In the figure, portions not reflected on the disk are indicated by dark shading, and cache hit portions are indicated by light shading. Note that, in the figure, the blank portion of the slot is a cache miss portion. Next, the unused (spare) area of the cache is allocated as a work slot to the track (logical address space) of the read request range on the cache (step 322). The allocated unused (spare) area is called a work slot.
This work slot assignment operation is performed in step 2 of FIG.
05.
【0035】図3Cに移り、HDDのディスクからキャ
ッシュへのデータ転送(リード)要求範囲を、当該トラ
ックとする(ステップ323)。リード要求範囲は、図
6Bに示す、外部記憶装置制御部109のディスク内D
MAデータ転送制御情報リストテーブルを用いて管理す
る。Referring to FIG. 3C, the data transfer (read) request range from the disk of the HDD to the cache is set as the relevant track (step 323). The read request range is the D in the disk of the external storage device control unit 109 shown in FIG. 6B.
It is managed using the MA data transfer control information list table.
【0036】さらに、図3Dにおいて、ディスクリード
要求範囲のキャッシュミス部分のデータを、ディスクの
当該トラックからキャッシュのスロットに転送する(ス
テップ324)。このデータ転送は、図6Cに示す、外
部記憶装置制御部109のキャッシュ内DMAデータ転
送制御情報リストテーブルを用いて管理する。Further, in FIG. 3D, the data of the cache miss portion of the disk read request range is transferred from the track on the disk to the slot of the cache (step 324). This data transfer is managed using the in-cache DMA data transfer control information list table of the external storage device control unit 109 shown in FIG. 6C.
【0037】さらに、ディスクリード要求範囲の、ディ
スクへ未反映の部分データとキャッシュ部分のデータと
を、ディスクの当該トラックから、キャッシュのワーク
スロットに転送する(ステップ325)。このデータ転
送は、図6Dに示す、外部記憶装置制御部109のキャ
ッシュ内ワークスロットへのDMAデータ転送制御情報
リストテーブルを用いて管理する。Further, the partial data of the disk read request range not reflected on the disk and the data of the cache part are transferred from the relevant track of the disk to the work slot of the cache (step 325). This data transfer is managed using the DMA data transfer control information list table to the work slot in the cache of the external storage device controller 109 shown in FIG. 6D.
【0038】最後に、ワークスロットのエリアは、キャ
ッシュの未使用(予備)領域となり、ワークスロットへ
転送されたデータは無効(不要データ)になり(ステッ
プ326)、ワークスロットは開放される。これは、図
2のステップ211に対応する。Finally, the work slot area becomes an unused (spare) area of the cache, the data transferred to the work slot becomes invalid (unnecessary data) (step 326), and the work slot is released. This corresponds to step 211 in FIG.
【0039】図4は、外部記憶制御部109のキャッシ
ュDMAデータ転送リスト情報テーブルを示す。キャッ
シュDMAデータ転送リスト情報テーブル400は、リ
ード要求範囲のキャッシュミス部分のデータを、ディス
クの当該トラックからキャッシュ内のスロット114に
データ転送する情報と、リード要求範囲のディスクへの
未反映のデータ部分及びキャッシュヒット部分のデータ
を、ディスクの当該トラックからキャッシュ内のワーク
スロット115にデータ転送する情報とを、管理する。
キャッシュDMAデータ転送リスト情報テーブル400
では、スロットポインタ401、当該キャッシュアドレ
ス402、対象セグメントアドレス403、スロット内
オフセット値404、セグメント内オフセット値405
及び転送サイズ406の各情報を管理する。FIG. 4 shows a cache DMA data transfer list information table of the external storage control unit 109. The cache DMA data transfer list information table 400 includes information for transferring the data of the cache miss portion of the read request range from the relevant track of the disk to the slot 114 in the cache, and the data portion of the read request range not reflected on the disk. And information for transferring data of the cache hit portion from the track on the disk to the work slot 115 in the cache.
Cache DMA data transfer list information table 400
Then, the slot pointer 401, the cache address 402, the target segment address 403, the offset value 404 in the slot, and the offset value 405 in the segment
And the transfer size 406.
【0040】このキャッシュDMAデータ転送リスト情
報テーブル400を基に、図4の上部に示すように、キ
ャッシュ内で上位ホストのリード要求部分とワーク部分
とを振り分ける。Based on the cache DMA data transfer list information table 400, the read request portion and the work portion of the upper host are sorted in the cache as shown in the upper part of FIG.
【0041】図5は、ディスク内DMAデータ転送リス
ト情報テーブルである。ディスク内DMAデータ転送リ
スト情報テーブル500は、ディスクリード要求範囲を
制御する情報、すなわち、転送要求種別(いまの場合
は、リード)501、当該ボリューム番号502、SC
SIブロック番号503、SCSIブロック数504の
各情報を管理する。FIG. 5 shows an in-disk DMA data transfer list information table. The in-disk DMA data transfer list information table 500 includes information for controlling the disk read request range, that is, the transfer request type (in this case, read) 501, the volume number 502, and the SC.
Each information of the SI block number 503 and the SCSI block number 504 is managed.
【0042】図6Aないし図6Dは、外部記憶制御部の
キャッシュ・ディスク間のデータ転送制御を詳細に示し
たものである。FIGS. 6A to 6D show in detail the data transfer control between the cache disk and the external storage controller.
【0043】まず、図6Aは、上位ホストからのリード
コマンドのリード要求範囲のキャッシュ上の1トラック
分の論理アドレスを示す。キャッシュ上の1トラック分
の論理アドレス空間は、4つのセグメント(セグメント
#0、#1、#2、#3)に区割りされている。上位ホ
ストからのリード要求範囲内のキャッシュ内スロットに
は、ディスクへ未反映のデータ、並びに、データのキャ
ッシュヒット及びキャッシュミスが存在する。スロット
ポインタ#1は、キャッシュスロットのポインタ、スロ
ットポインタ#2は、キャッシュのワークスロットのポ
インタを示す。アドレスA、B、C、D、E、F、G、
H、I及びJは、キャッシュスロットのアドレスを示
す。DMAデータ転送リスト#、、及びは、デ
ィスクからキャッシュスロットへのデータ転送部分を示
す。DMAデータ転送リスト#、、、及び
は、ワークスロットへのデータ転送部分を示す。リード
要求範囲Uは、ディスクへのリード要求範囲を示す。First, FIG. 6A shows a logical address for one track on the cache in the read request range of the read command from the upper host. The logical address space for one track on the cache is divided into four segments (segments # 0, # 1, # 2, # 3). The slots in the cache within the read request range from the upper host include data that has not been reflected on the disk, and cache hits and cache misses of the data. Slot pointer # 1 indicates a cache slot pointer, and slot pointer # 2 indicates a cache work slot pointer. Addresses A, B, C, D, E, F, G,
H, I, and J indicate the addresses of the cache slots. The DMA data transfer list #, and the data transfer portion from the disk to the cache slot are shown. The DMA data transfer lists #, #, and # indicate the data transfer portion to the work slot. The read request range U indicates a read request range for the disk.
【0044】図6Bは、外部記憶装置制御部のディスク
内DMAデータ転送制御情報リストテーブルを示す。こ
のディスク内DMAデータ転送制御情報リストテーブル
600を使い、当該キャッシュスロットのデータをディ
スクから1回のデータ転送要求をする。このデータ転送
要求種別601は、いまの場合、「リード」であり、ボ
リューム番号602は、ボリューム#Uを示している。
SCSIに関しては、SCSIブロック番号#V、SC
SIブロック数#Wの場合を示している。SCSIブロ
ック番号603は、当該キャッシュスロットのデータが
存在するディスク内の先頭SCSIブロックの番号を示
し、SCSIブロック数604は、当該キャッシュスロ
ットのデータが存在するディスク内の全SCSIブロッ
ク数(1トラック)を示す。FIG. 6B shows an in-disk DMA data transfer control information list table of the external storage device controller. Using the in-disk DMA data transfer control information list table 600, one data transfer request is made for the data in the cache slot from the disk. In this case, the data transfer request type 601 is “read”, and the volume number 602 indicates volume #U.
For SCSI, SCSI block number #V, SC
The case where the number of SI blocks is #W is shown. The SCSI block number 603 indicates the number of the first SCSI block in the disk in which the data of the cache slot is present, and the SCSI block number 604 is the total number of SCSI blocks in the disk in which the data of the cache slot is present (one track). Is shown.
【0045】図6Cは、外部記憶装置制御部のキャッシ
ュ内データスロットデータ転送制御情報リストテーブル
を示す。図6Cのキャッシュ内データスロットデータ転
送制御情報リストテーブル600DSを使い、ディスク
からキャッシュスロットへのデータ転送制御を行う。す
なわち、キャッシュミス部分、、、は、ディス
クからキャッシュへ、データDMAデータ転送リスト#
、、、によって、キャッシュスロットへデータ
転送する。FIG. 6C shows a cache data slot data transfer control information list table of the external storage device controller. The data transfer control from the disk to the cache slot is performed using the cache data slot data transfer control information list table 600DS of FIG. 6C. That is, the cache miss portion is a data DMA data transfer list # from the disk to the cache.
,..., The data is transferred to the cache slot.
【0046】また、図6Dは、外部記憶装置制御部のキ
ャッシュ内ワークスロットデータ転送制御情報リストテ
ーブル600WSを示す。図6Dのキャッシュ内ワーク
スロットデータ転送制御情報リストテーブル600DS
を使い、ディスクからキャッシュ内ワークスロットへの
データ転送制御を行う。すなわち、ディスクへ未反映の
データ及びデータのキャッシュヒット部分、、、
、は、ディスクからキャッシュへデータDMA転送
リスト#、、、、によって、ワークスロット
へデータ転送する。FIG. 6D shows a work slot data transfer control information list table 600WS in the cache of the external storage device controller. Work slot data transfer control information list table 600DS in cache of FIG. 6D
To control the data transfer from the disk to the work slot in the cache. That is, data not reflected on the disk and the cache hit portion of the data,.
Transfer data from the disk to the cache according to the data DMA transfer list #,.
【0047】[0047]
【発明の効果】以上述べたように、本発明によれば、キ
ャッシュとディスク装置間のリード要求を行う際に、キ
ャッシュ内にホストのリードデータ転送要求範囲内にデ
ィスクへの実反映(のライト)データがどのようなパタ
ーンで存在していても、ディスクへの1回のデータ転送
要求をおおなうことによって、ディスクの回転待ち時間
を軽減し、上位ホストからのリード要求範囲に対しディ
スクへのアクセスか数を軽減することによって性能ダウ
ンさせない効果がある。As described above, according to the present invention, when a read request is made between a cache and a disk device, the actual reflection to the disk within the range of the host's read data transfer request in the cache is performed. Regardless of the pattern in which the data exists, by completing a single data transfer request to the disk, the disk rotation waiting time is reduced, and the read request range from the upper host to the disk is reduced. There is an effect that the performance is not reduced by reducing the number of accesses or the number of accesses.
【図1】ディスクサブシステムのブロック構成図。FIG. 1 is a block diagram of a disk subsystem.
【図2】キャッシュ・ディスク間のデータ転送制御処理
動作を示すフローチャート。FIG. 2 is a flowchart showing a data transfer control processing operation between a cache disk.
【図3A】図2のステップのうち。リード要求範囲のト
ラックのデータがキャッシュヒットしない場合のデータ
転送制御動作におけるデータ構造によるフローチャー
ト。FIG. 3A shows the steps of FIG. 2; 9 is a flowchart of a data structure in a data transfer control operation when data of a track in a read request range does not cause a cache hit;
【図3B】図2のステップのうち。リード要求範囲のデ
ータにキャッシュヒットしないデータがある場合のデー
タ転送制御動作におけるデータ構造によるフローチャー
ト。FIG. 3B is one of the steps of FIG. 9 is a flowchart of a data structure in a data transfer control operation when there is data that does not cause a cache hit in data in a read request range.
【図3C】図2のステップのうち。リード要求範囲のデ
ータにキャッシュヒットしないデータがある場合のデー
タ転送制御動作におけるデータ構造によるフローチャー
ト。FIG. 3C is among the steps of FIG. 2; 9 is a flowchart of a data structure in a data transfer control operation when there is data that does not cause a cache hit in data in a read request range.
【図3D】図2のステップのうち。リード要求範囲のデ
ータにキャッシュヒットしないデータがある場合のデー
タ転送制御動作におけるデータ構造によるフローチャー
ト。FIG. 3D is one of the steps of FIG. 2; 9 is a flowchart of a data structure in a data transfer control operation when there is data that does not cause a cache hit in data in a read request range.
【図4】外部記憶装置制御部のキャッシュ内DMAデー
タ転送リスト情報テーブルの構成及び使用図。FIG. 4 is a diagram showing the configuration and use of an in-cache DMA data transfer list information table of an external storage device control unit.
【図5】外部記憶装置制御部のディスク内DMAデータ
転送制御情報リストテーブルの構成及び使用図。FIG. 5 is a diagram showing the configuration and use of an in-disk DMA data transfer control information list table of an external storage device control unit.
【図6A】外部記憶装置制御部のキャッシュ・ディスク
関のデータ転送制御の詳細のうち、リード要求範囲のキ
ャッシュ上の1トラック分の論理アドレスの説明図。FIG. 6A is an explanatory diagram of logical addresses for one track on a cache in a read request range in details of cache disk-related data transfer control of the external storage device control unit.
【図6B】外部記憶装置制御部のキャッシュ・ディスク
関のデータ転送制御の詳細のうち、外部記憶装置制御部
のディスク内DMAデータ転送制御情報リストテーブル
の構成図。FIG. 6B is a configuration diagram of an in-disk DMA data transfer control information list table of the external storage device control unit in details of cache disk-related data transfer control of the external storage device control unit.
【図6C】外部記憶装置制御部のキャッシュ・ディスク
関のデータ転送制御の詳細のうち、外部記憶装置制御部
のキャッシュ内データスロットへのDMAデータ転送制
御情報リストテーブルの構成図。FIG. 6C is a configuration diagram of a DMA data transfer control information list table to the data slot in the cache of the external storage device control unit in details of the cache disk data transfer control of the external storage device control unit.
【図6D】外部記憶装置制御部のキャッシュ・ディスク
関のデータ転送制御の詳細のうち、外部記憶装置制御部
のキャッシュ内ワークスロットへのDMAデータ転送制
御情報リストテーブルの構成図。FIG. 6D is a configuration diagram of a DMA data transfer control information list table for a work slot in a cache of the external storage device control unit, among details of the cache disk data transfer control of the external storage device control unit.
【符号の説明】 101…上位光チャネル、102…光ファイバケーブ
ル、103…光ディスク制御装置、104…光通信制御
部、105…光通信制御部・チャネル制御部間バス、1
06…チャネル制御部、107…キャッシュ、108…
チャネル制御部・外部記憶装置制御部間バス、109…
外部記憶装置制御部、110…外部記憶装置制御部・デ
ィスク装置間バス、111…ディスク装置、112…チ
ャネル制御部・外部記憶装置制御部・キャッシュ間バ
ス、113…キャッシュ、114…スロット、115…
ワークスロット[Description of Reference Numerals] 101: upper optical channel, 102: optical fiber cable, 103: optical disk controller, 104: optical communication controller, 105: bus between optical communication controller and channel controller, 1
06 ... channel control unit, 107 ... cache, 108 ...
A bus between the channel control unit and the external storage device control unit;
External storage device control unit, 110: external storage device control unit / disk device bus, 111: disk device, 112: channel control unit / external storage device control unit / cache bus, 113: cache, 114: slot, 115 ...
Work slot
Claims (3)
ディスク装置から構成された情報記憶部を有する情報記
憶サブシステムにおいて、上記記憶制御部はキャッシュ
を備え、上記上位装置からのデータリード要求に対し
て、上記キャッシュに存在しないキャッシュミス部分
を、上記情報記憶部から、キャッシュ上のデータスロッ
トに読み込み、上記キャッシュ内で上記上位処理装置の
リード要求部分とワーク部分とに振り分けることを特徴
とする情報記憶サブシステム。A storage control unit connected to a host processing device;
In an information storage subsystem having an information storage unit constituted by a disk device, the storage control unit includes a cache, and in response to a data read request from the higher-level device, a cache miss portion that does not exist in the cache is replaced by the information. An information storage subsystem, wherein the information is read from a storage unit to a data slot on a cache, and is divided into a read request part and a work part of the host processor in the cache.
ディスク装置から構成された情報記憶部を有する情報記
憶サブシステムにおいて、上記記憶制御部はキャッシュ
を備え、上記上位装置からのデータリード要求に対し
て、上記キャッシュにデータスロット及びワークスロッ
トを設定し、上位処理装置のリード要求部分中の、上記
キャッシュに存在しないキャッシュミス部分を、上記情
報記憶部からキャッシュ上の上記データスロットに読み
込み、上位処理装置のリード要求部分中のキャッシュミ
ス部分以外のデータを、上記情報記憶部分から上記ワー
クスロットへデータ転送し、上記キャッシュ内で上記上
位処理装置のリード要求部分とワーク部分とに振り分け
ることを特徴とする情報記憶サブシステム。2. A storage control unit connected to a host processor,
In an information storage subsystem having an information storage unit configured from a disk device, the storage control unit includes a cache, and in response to a data read request from the higher-level device, sets a data slot and a work slot in the cache, A cache miss portion that does not exist in the cache in the read request portion of the host processor is read from the information storage unit into the data slot on the cache, and data other than the cache miss portion in the read request portion of the host processor is read. An information storage subsystem for transferring data from the information storage part to the work slot and distributing the data in the cache into a read request part and a work part of the host processor.
ディスク装置から構成された情報記憶部を有する情報記
憶サブシステムにおいて、上記記憶制御部は、キャッシ
ュを備え、上記上位処理装置からリード要求範囲を指定
したリード要求コマンドを受けると、上記リード要求コ
マンドに応じたデータ作成に必要なデータを判断し、当
該必要なデータを、上記情報記憶部から1回のデータ転
送により受信することを特徴とする情報記憶サブシステ
ム。3. A storage control unit connected to a host processor,
In an information storage subsystem having an information storage unit configured from a disk device, the storage control unit includes a cache, and, when receiving a read request command specifying a read request range from the higher-level processing device, converts the read request command to the read request command. An information storage subsystem characterized by determining data necessary for data creation according to the data, and receiving the necessary data from the information storage unit by one data transfer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9292400A JPH11134252A (en) | 1997-10-24 | 1997-10-24 | Information storage subsystem |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9292400A JPH11134252A (en) | 1997-10-24 | 1997-10-24 | Information storage subsystem |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11134252A true JPH11134252A (en) | 1999-05-21 |
Family
ID=17781303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9292400A Pending JPH11134252A (en) | 1997-10-24 | 1997-10-24 | Information storage subsystem |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11134252A (en) |
-
1997
- 1997-10-24 JP JP9292400A patent/JPH11134252A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5418929A (en) | Controller for storage unit and method of controlling storage unit | |
| JP4322068B2 (en) | Storage system and disk load balance control method thereof | |
| US6230239B1 (en) | Method of data migration | |
| JP4219602B2 (en) | Storage control device and control method of storage control device | |
| US7555599B2 (en) | System and method of mirrored RAID array write management | |
| JP3431972B2 (en) | Virtual disk system | |
| US8028127B2 (en) | Automated on-line capacity expansion method for storage device | |
| US6772283B2 (en) | Disk control device and method processing variable-block and fixed-block accesses from host devices | |
| US6467022B1 (en) | Extending adapter memory with solid state disks in JBOD and RAID environments | |
| US7337281B2 (en) | Storage system and data caching method in the system | |
| EP1617320A2 (en) | Computer system and method for migrating from one storage system to another | |
| US6205529B1 (en) | Method and apparatus for defragmenting a storage device using a copy function in the device control logic | |
| JPH11501429A (en) | Configuration of mass storage function using host processor memory | |
| JPH0727495B2 (en) | Data transfer method | |
| EP0777183A1 (en) | Computer cache system | |
| JP2010049502A (en) | Storage subsystem and storage system having the same | |
| JPH07104817B2 (en) | Data record transfer method | |
| US7032093B1 (en) | On-demand allocation of physical storage for virtual volumes using a zero logical disk | |
| US7080128B2 (en) | Inter-processor communication method using a disk cache in a network storage system | |
| JP2003006135A (en) | Input / output control device, input / output control method, and information storage system | |
| JP2003131818A (en) | RAID configuration between clusters in cluster configuration storage | |
| JPH11134252A (en) | Information storage subsystem | |
| JP3111912B2 (en) | Disk cache control method | |
| JP2000285022A (en) | Disk controller | |
| JP2001022614A (en) | Hierarchical storage system |