JPH09237224A - Disk array device - Google Patents
Disk array deviceInfo
- Publication number
- JPH09237224A JPH09237224A JP8042544A JP4254496A JPH09237224A JP H09237224 A JPH09237224 A JP H09237224A JP 8042544 A JP8042544 A JP 8042544A JP 4254496 A JP4254496 A JP 4254496A JP H09237224 A JPH09237224 A JP H09237224A
- Authority
- JP
- Japan
- Prior art keywords
- access
- host system
- magnetic disk
- data
- 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.)
- Withdrawn
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、ディスクアレイ
装置に関するものであり、更に詳しくは、ホストからリ
ード要求が発生した場合、リード対象アドレスの近傍ア
ドレスのデータをキャッシュメモリに格納しておくこと
により、ホストからのリード要求に対する応答の高速化
を可能にしたディスクアレイ装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk array device, and more specifically, when a read request is issued from a host, data of an address near a read target address is stored in a cache memory. The present invention relates to a disk array device capable of speeding up response to a read request from a host.
【0002】[0002]
【従来の技術】ディスクアレイ装置とは、カリフォルニ
ア大学バークレー校において考案された「RAIDアー
キテクチャ」を用いた、複数の磁気ディスク装置を内蔵
するファイル装置である。この「RAIDアーキテクチ
ャ」の中でも、RAIDレベル0、レベル4、レベル5
と呼ばれるタイプのものは、データを、ブロック単位で
内蔵する磁気ディスク装置に分散して配置しており、こ
れらを並列にアクセスすることにより、高いスループッ
トを得ることができる。更に、RAIDレベル4、5で
は、内蔵する磁気ディスク装置の1台分の領域に冗長デ
ータを格納しているため、1台が故障しても処理を継続
することが可能であり、高い信頼性を特長としている。
以下、このRAIDレベル0、4、5を単にディスクア
レイ装置と呼ぶ。このディスクアレイ装置は、高信頼性
と共に高スループットを実現することができるとされて
いる。2. Description of the Related Art A disk array device is a file device incorporating a plurality of magnetic disk devices using the "RAID architecture" devised at the University of California, Berkeley. Among the "RAID architecture", RAID level 0, level 4, level 5
In the type called so called, data is distributed in a block unit in the built-in magnetic disk devices, and high throughput can be obtained by accessing these data in parallel. Further, in RAID levels 4 and 5, since redundant data is stored in the area of one built-in magnetic disk device, it is possible to continue processing even if one device fails, and high reliability is achieved. Is featured.
Hereinafter, the RAID levels 0, 4, and 5 will be simply referred to as disk array devices. It is said that this disk array device can realize high reliability and high throughput.
【0003】図2は、このディスクアレイ装置の代表的
な構成を示したものである。この図で、31はディスク
アレイ装置の制御部であり、32〜35は内蔵する磁気
ディスク装置、36〜39はそれぞれ制御部31と磁気
ディスク装置32〜35を接続するディスクインタフェ
ースである。そして、このディスクアレイ装置はホスト
インタフェース(ホストI/F)40にてホストシステ
ムと接続されている。また、41は、ディスクアレイ装
置に内蔵するキャッシュメモリであり、このキャッシュ
メモリを制御するプロセッサ42で構成されている。内
蔵する磁気ディスク装置の台数は、RAIDアーキテク
チャでは規定されていないが、以後は図2に示す4台構
成を例として説明する。FIG. 2 shows a typical configuration of this disk array device. In this figure, 31 is a control unit of the disk array device, 32 to 35 are magnetic disk devices incorporated therein, and 36 to 39 are disk interfaces for connecting the control unit 31 and the magnetic disk devices 32 to 35, respectively. The disk array device is connected to the host system by a host interface (host I / F) 40. Further, reference numeral 41 is a cache memory built in the disk array device, and is composed of a processor 42 which controls this cache memory. The number of built-in magnetic disk devices is not specified in the RAID architecture, but the four-device configuration shown in FIG. 2 will be described below as an example.
【0004】ディスクアレイ装置は、一般的にはホスト
システムに対して、あたかも1台の磁気ディスク装置で
あるかのように振舞うが、ホストシステムからみた、こ
の装置のディスクアドレス(ホストシステムからみたデ
ータのアドレス)上で連続するデータブロック43〜4
6は、実際にはそれぞれ個別の内蔵磁気ディスク装置上
に配置される。The disk array device generally behaves as if it were one magnetic disk device to the host system, but the disk address of this device as seen from the host system (data seen from the host system). Data addresses 43 to 4 consecutive on
6 are actually arranged on individual built-in magnetic disk devices.
【0005】図3は、ディスクアレイ装置におけるデー
タブロックの配置例の説明図である。図中、43〜46
は、それぞれデータブロックであり、例えば、ホストシ
ステムからみたデータの連続したアドレスd0 、d1 、
d2 、d3 は、実際には、磁気ディスク装置43、4
4、45、46にそれぞれ配置されている。また、デー
タブロック43〜46のデータサイズは、同一であり、
内蔵磁気ディスク装置のセクタ容量の整数倍である。FIG. 3 is an explanatory diagram of an example of arrangement of data blocks in the disk array device. 43 to 46 in the figure
Are data blocks, for example, continuous addresses d0, d1, of data viewed from the host system.
Actually, d2 and d3 are the magnetic disk devices 43 and 4,
4, 45, and 46, respectively. Further, the data sizes of the data blocks 43 to 46 are the same,
It is an integral multiple of the sector capacity of the built-in magnetic disk device.
【0006】次に、ホストシステムから、このディスク
アレイ装置にリード要求が発生した場合について説明す
る。ホストシステムは、マルチアクセス可能な場合と、
マルチアクセス不可能な場合がある。ここで、マルチア
クセスが可能なホストシステムとは、磁気ディスク装置
に、あるアクセス要求を発行した後、その要求に対する
応答を待たずに、次の異なる要求を出すことで、同時に
複数の要求を発行でき、更に、その要求順とは無関係
に、ディスクアレイ装置側が実行できた順に応答を返す
ことが許されるものである。一方、マルチアクセス不可
能なホストシステムとは、アクセスをシーケンシャルに
行うシステムである。Next, a case where a read request is issued from the host system to this disk array device will be described. If the host system is multi-accessible,
Multi-access may not be possible. Here, a multi-accessible host system is to issue multiple requests at the same time by issuing a certain access request to the magnetic disk device and then issuing the next different request without waiting for the response to the request. Further, it is possible to return the responses in the order in which the disk array device can execute them, regardless of the request order. On the other hand, a host system that is not multi-accessible is a system that performs access sequentially.
【0007】図4は、マルチアクセス可能な場合のリー
ドアクセスの説明図であり、これは、マルチアクセス可
能なホストシステムからのリード要求が、ディスクアレ
イ装置内のすべての磁気ディスク装置43〜46に対し
て順次発生した場合の、ディスクアレイ装置の動作を示
している。FIG. 4 is an explanatory diagram of read access in the case of multi-access, in which a read request from a multi-accessible host system is sent to all the magnetic disk devices 43 to 46 in the disk array device. The operation of the disk array device in the case of sequential occurrence is shown.
【0008】図中、47〜50はそれぞれ、磁気ディス
ク装置43〜46のリード時の動作に相当している。In the figure, 47 to 50 correspond to the read operation of the magnetic disk devices 43 to 46, respectively.
【0009】ホストシステムが47〜50のリード要求
を順次発行すると、ディスクアレイ装置は、これらのリ
ード要求を内部にキューレングし、実行可能なものか
ら、そのデータを実際に格納している内蔵磁気ディスク
装置にリード要求を発行する。この際、既に他のリード
要求を実行中であっても、リード要求の対象データを実
際に格納する磁気ディスク装置が動作中でなければ、こ
の要求は実行可能であり、同時には最高で内蔵する磁気
ディスク装置の台数分だけの要求を実行することができ
る。こうして内蔵磁気ディスクから読み出したデータ
は、ホストシステムからの要求順とは無関係な順にホス
トシステムに転送される。例えば、図示例では、ホスト
システムからのリード要求は、d0 〜d3 の順に行われ
るが、ホストシステムへのデータ転送は、d2 、d1 、
d0 、d3 の順に行われている。When the host system sequentially issues 47 to 50 read requests, the disk array device internally queues these read requests, and from the executable ones, the built-in magnetic disk actually storing the data. Issue a read request to the device. At this time, even if another read request is already being executed, this request can be executed if the magnetic disk device that actually stores the data requested by the read request is not in operation, and at the same time, it is built in at the maximum. It is possible to execute requests as many as the number of magnetic disk devices. In this way, the data read from the built-in magnetic disk is transferred to the host system in an order irrelevant to the order requested by the host system. For example, in the illustrated example, the read request from the host system is made in the order of d0 to d3, but the data transfer to the host system is done by d2, d1,
This is done in the order of d0 and d3.
【0010】これにより、ホストシステムは、磁気ディ
スク装置43〜46の処理を待つことなく、処理を続行
することができるため、スループットが向上する。As a result, the host system can continue the processing without waiting for the processing of the magnetic disk devices 43 to 46, thus improving the throughput.
【0011】図5は、マルチアクセス不可能な場合のリ
ードアクセスの説明図であり、これは、ホストシステム
からのリード要求が、ディスクアレイ装置内のすべての
磁気ディスク装置に対して、順次発生した場合の、ディ
スクアレイ装置の動作を示している。図中、51〜54
はそれぞれ、磁気ディスク装置43〜46のリード動作
に相当している。FIG. 5 is an explanatory diagram of read access in the case where multi-access is impossible. In this case, a read request from the host system is sequentially issued to all magnetic disk devices in the disk array device. The operation of the disk array device in this case is shown. 51-54 in the figure
Respectively correspond to the read operation of the magnetic disk devices 43 to 46.
【0012】マルチアクセス不可能なホストシステムの
場合、リード要求51を発生し、このリード要求に対す
る応答を受け取った後、次のリード要求52を発生す
る。同様に、リード要求53および54を順次発生す
る。この場合、通常、ある1個の磁気ディスク装置がリ
ード動作を行っている場合、他の3個の磁気ディスク装
置は、要求待ち状態になっており、1台の磁気ディスク
装置の性能以上の効率は発揮することができない。In the case of a host system incapable of multi-access, a read request 51 is generated, and after receiving a response to this read request, the next read request 52 is generated. Similarly, read requests 53 and 54 are sequentially generated. In this case, normally, when one magnetic disk device is performing a read operation, the other three magnetic disk devices are in a request waiting state, and efficiency higher than the performance of one magnetic disk device is achieved. Cannot exert.
【0013】また、図2でも示したように、通常、リー
ドアクセスを高速化するため、ディスクアレイ装置には
キャッシュメモリ41が搭載される。ホストシステムか
らのアクセス要求は、比較的シーケンシャルなアクセス
が多く、この場合、要求された領域の先の領域を予めキ
ャッシュメモリ41に読み込んでおくプリフェッチを行
うことでアクセスに対する応答を高速化することが可能
である。Further, as shown in FIG. 2, a cache memory 41 is usually mounted on the disk array device in order to speed up read access. The access request from the host system is often relatively sequential access. In this case, the area ahead of the requested area is read into the cache memory 41 in advance, and prefetching is performed to speed up the response to the access. It is possible.
【0014】しかし、ディスクアレイ装置の場合、ホス
トシステムからのマルチアクセスに対するスループット
の向上を目的とするため、1回のアクセスは1台の内蔵
ディスクへアクセスするのみで完結することが望まし
い。即ち、ディスクアレイ装置において、プリフェッチ
を行う場合は、各内蔵磁気ディスク装置43〜46への
データの分散配置の単位であるブロックの大きさまでに
抑えることが必要である。そのためには、あるリード要
求に対して、要求され領域を含むデータブロックの最後
までをプリフェッチの上限とすればよい。これにより、
シーケンシャルアクセス時の性能向上を図ることが可能
であり、かつホストシステムからのマルチアクセスに対
して効率よく動作できる。However, in the case of a disk array device, it is desirable that one access be completed by only accessing one built-in disk in order to improve the throughput with respect to multiple accesses from the host system. That is, in the disk array device, when prefetching is performed, it is necessary to suppress the size of a block, which is a unit of distributed arrangement of data to the internal magnetic disk devices 43 to 46. To that end, for a certain read request, the prefetch upper limit may be up to the end of the data block including the requested area. This allows
The performance at the time of sequential access can be improved, and the multi-access from the host system can operate efficiently.
【0015】[0015]
【発明が解決しようとする課題】上記のように、キャッ
シュメモリ41へのプリフェッチの単位が、ディスクア
レイ装置内の各磁気ディスク装置43〜46のブロック
単位である場合、マルチアクセス要求が可能であるホス
トシステムに対しては有効である。しかしながら、マル
チアクセスが不可能であるホストシステムに対しては、
ディスクアレイ装置内の磁気ディスク装置43〜46の
応答を順次待つ結果となるため、性能向上は望めない。
他方、キャッシュメモリ41へのプリフェッチをディス
クアレイ装置内の他の磁気ディスク装置の領域に及んで
行った場合、マルチアクセス要求が不可能であるホスト
システムに対しては、性能向上が望める。ところが、ホ
ストシステムがマルチアクセス可能である場合、ディス
クアレイ内の1台の磁気ディスク装置に対するアクセ
ス、およびプリフェッチで完結するにもかかわらず、2
台以上の磁気ディスク装置に対して、アクセス要求が発
生してしまい、従って、マルチアクセスの本来の目的で
ある並列アクセスを行う度合が減少してしまい、スルー
プットの低下を招いてしまうという問題があった。As described above, when the prefetch unit to the cache memory 41 is the block unit of each magnetic disk device 43 to 46 in the disk array device, the multi-access request is possible. Valid for host systems. However, for host systems that do not allow multi-access,
The result is that the responses of the magnetic disk devices 43 to 46 in the disk array device are sequentially waited for, so that improvement in performance cannot be expected.
On the other hand, when the prefetch to the cache memory 41 is performed to the area of another magnetic disk device in the disk array device, the performance improvement can be expected for the host system in which the multi-access request is impossible. However, when the host system is multi-accessible, even though the access to one magnetic disk device in the disk array and the prefetch are completed, 2
There is a problem in that an access request is generated to more than one magnetic disk device, and thus the degree of parallel access, which is the original purpose of multi-access, is reduced, leading to a decrease in throughput. It was
【0016】このような点から、ホストシステムがマル
チアクセス可能である場合や不可能である場合のいずれ
であっても、効率よく動作させることのできるディスク
アレイ装置の実現が望まれていた。From this point of view, it has been desired to realize a disk array device capable of operating efficiently regardless of whether the host system is multiaccessible or not.
【0017】[0017]
【課題を解決するための手段】本発明は、前述の課題を
解決するため次の構成を採用する。 〈請求項1の構成〉複数の磁気ディスク装置を内蔵し、
かつ、キャッシュメモリを備えたディスクアレイ装置に
おいて、ホストシステムからの要求がマルチアクセスで
ある場合、それぞれの磁気ディスク装置へのアクセス単
位を、各磁気ディスク装置へのデータの分散配置の単位
である1ブロックとし、いずれかの磁気ディスク装置に
格納されているデータに対するリード要求により、その
データを含むブロックをキャッシュメモリに格納し、ホ
ストシステムからの要求がマルチアクセスでない場合、
いずれかの磁気ディスク装置に格納されているデータに
対してリード要求があった場合は、そのデータを含むブ
ロックと、このブロックに連続するブロックをキャッシ
ュメモリに格納するキャッシュメモリ制御部を備えたこ
とを特徴とするものである。The present invention employs the following structure to solve the above-mentioned problems. <Structure of claim 1> A plurality of magnetic disk devices are built-in,
Further, in a disk array device having a cache memory, when the request from the host system is multi-access, the access unit to each magnetic disk device is a unit of distributed arrangement of data to each magnetic disk device. If a read request for data stored in one of the magnetic disk devices is made into a block and the block containing that data is stored in the cache memory, and the request from the host system is not multi-access,
When a read request is made for data stored in any of the magnetic disk devices, a block including the data and a cache memory control unit for storing a block continuous to this block in the cache memory are provided. It is characterized by.
【0018】〈請求項1の説明〉請求項1の発明は、ホ
ストシステムからディスクアレイ装置に対して、リード
要求が発生した場合、そのリード要求が、マルチアクセ
スにより要求か、あるいはそれ以外による要求かによっ
て、アクセス方法を変えるようにしたものである。<Explanation of Claim 1> According to the invention of Claim 1, when a read request is issued from the host system to the disk array device, the read request is a request by multi-access or a request by other than that. The access method is changed depending on whether or not.
【0019】即ち、キャッシュメモリ制御部は、ホスト
システムからの要求がマルチアクセスである場合は、1
ブロック単位で読み出してキャッシュメモリに格納す
る。これにより、並列アクセスを行うというマルチアク
セスの利点を十分に生かすことができる。That is, if the request from the host system is multi-access, the cache memory control unit 1
Read in block units and store in cache memory. This makes it possible to take full advantage of multi-access, which is parallel access.
【0020】また、ホストシステムからのリード要求が
マルチアクセスでない場合、ホストシステムには、リー
ド要求されたデータを含む1ブロックのみ応答するが、
キャッシュメモリには、要求されたデータを含む1ブロ
ックと、このブロックにアドレスの連続するブロックを
同時に格納する。従って、次にホストシステムからアド
レスが連続する次のブロックのデータにアクセス要求が
なされた場合は、キャッシュメモリのデータで応答する
ことができる。If the read request from the host system is not multi-access, only one block containing the read-requested data is returned to the host system.
In the cache memory, one block containing the requested data and blocks having consecutive addresses are stored simultaneously in this block. Therefore, when an access request is issued from the host system to the data of the next block having consecutive addresses, the data in the cache memory can be used as a response.
【0021】このように、ホストシステムがマルチアク
セス可能な場合やマルチアクセス不可能な場合のいずれ
であっても、ディスクアレイ装置として効率のよい動作
を行うことができる。As described above, even when the host system is capable of multi-access or incapable of multi-access, efficient operation can be performed as a disk array device.
【0022】〈請求項2の構成〉請求項1記載のディス
クアレイ装置において、キャッシュメモリ制御部は、ホ
ストシステムからのアクセス要求中、どのアクセスかを
識別するためのタグが含まれていた場合に、マルチアク
セスであると判定することを特徴とするディスクアレイ
装置。<Structure of Claim 2> In the disk array device according to Claim 1, when the cache memory control unit includes a tag for identifying which access is included in the access request from the host system. A disk array device characterized by being judged to be multi-access.
【0023】〈請求項2の説明〉ホストシステムがマル
チアクセスを行う場合、アクセス手順の中で、タグの送
出が行われる。タグとは、そのアクセスの順番を指し示
すものであり、要求を発行した順番と、それに対応する
応答の順番が必ずしも一致しないマルチアクセスにおい
ては必要となるものである。キャッシュメモリ制御部
は、ホストシステムからアクセス要求を受けた場合、こ
のタグが送出されているか否かを判別し、タグが含まれ
ていた場合は、マルチアクセスであると判定する。これ
により、ホストシステムからの要求がマルチアクセスか
否かを容易に判別することができる。<Explanation of Claim 2> When the host system performs multi-access, the tag is transmitted in the access procedure. The tag indicates the order of access, and is required in multi-access in which the order of issuing requests and the order of corresponding responses do not necessarily match. When the cache memory control unit receives an access request from the host system, the cache memory control unit determines whether or not this tag is transmitted, and when the tag is included, determines that the tag is multi-access. This makes it possible to easily determine whether the request from the host system is multi-access.
【0024】[0024]
【発明の実施の形態】以下、本発明の実施の形態を図面
を用いて詳細に説明する。 〈構成〉図1は本発明のディスクアレイ装置の具体例を
示す構成図である。図において、100はディスクアレ
イ制御部を示し、キャッシュメモリ1とキャッシュメモ
リ制御部2を備えている。また、3、4はディスクアレ
イ装置に内蔵される磁気ディスク装置であり、複数台が
設けられているが、これ以外の構成は図示省略してい
る。また、5、6はそれぞれ磁気ディスク装置3、4の
ディスクインタフェース、7は、ホストシステムとのホ
ストインタフェースである。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. <Structure> FIG. 1 is a structural diagram showing a specific example of the disk array device of the present invention. In the figure, reference numeral 100 denotes a disk array control unit, which includes a cache memory 1 and a cache memory control unit 2. Further, 3 and 4 are magnetic disk devices built in the disk array device, and a plurality of magnetic disk devices are provided, but other configurations are omitted in the drawing. Further, 5 and 6 are disk interfaces of the magnetic disk devices 3 and 4, respectively, and 7 is a host interface with the host system.
【0025】ここで、キャッシュメモリ制御部2は、制
御用プロセッサからなり、ホストシステムからの要求が
マルチアクセスである場合、それぞれの磁気ディスク装
置3、4へのアクセス単位を、各磁気ディスク装置3、
4へのデータ分散配置の単位である1ブロックとし、い
ずれかの磁気ディスク装置3(または4)に格納されて
いるデータに対してリード要求があった場合は、そのデ
ータを含むブロックをキャッシュメモリ1に格納し、ホ
ストシステムからの要求がマルチアクセスでない場合、
いずれかの磁気ディスク装置3(または4)に格納され
ているデータに対してリード要求があった場合は、その
データを含むブロックと、このブロックに連続するブロ
ックをキャッシュメモリ1に格納する機能を有してい
る。また、キャッシュメモリ制御部2は、ホストシステ
ムからのアクセス要求中、どのアクセスかを識別するた
めのタグが含まれていた場合に、マルチアクセスである
と判定する機能を有している。Here, the cache memory control unit 2 is composed of a control processor, and when the request from the host system is multi-access, the access unit to each magnetic disk device 3, 4 is set to each magnetic disk device 3. ,
One block, which is a unit of data distributed arrangement to four, and a read request for data stored in one of the magnetic disk devices 3 (or 4), a block including the data is cache memory. If the request from the host system is not multi-access,
When a read request is made for data stored in any of the magnetic disk devices 3 (or 4), a function of storing a block including the data and a block continuous to this block in the cache memory 1 is provided. Have Further, the cache memory control unit 2 has a function of determining multi-access when a tag for identifying which access is included in the access request from the host system.
【0026】また、図中、8、9は、磁気ディスク装置
3、4に格納されているホストシステムによるリード要
求の対象データのブロックであり、それぞれのデータサ
イズは、各内蔵磁気ディスク装置へのデータの分散配置
の単位である1ブロックである。Further, in the figure, 8 and 9 are blocks of data to be read requested by the host system, which are stored in the magnetic disk devices 3 and 4, and the data size of each is stored in each built-in magnetic disk device. One block is a unit of distributed arrangement of data.
【0027】〈動作〉先ず、ホストシステムがマルチア
クセス可能な場合を説明する。ホストシステムから、デ
ィスクアレイ装置に対して、データブロック8内のデー
タのリード要求が発行された場合、ディスクアレイ装置
内のキャッシュメモリ制御部2は、データブロック8を
磁気ディスク装置3からリードし、このリード処理が終
了次第、ホストシステムに対して、要求されたデータ
(データブロック8内のデータ)により応答すると同時
に、データブロック8をキャッシュメモリ1に格納す
る。図中、キャッシュメモリ1内のデータブロック8a
が格納されたデータブロックを示している。また、ホス
トシステムからデータブロック9内のデータに対してリ
ード要求があった場合も同様に処理を行い、キャッシュ
メモリ1内にデータブロック9aを格納する。<Operation> First, the case where the host system is multi-accessible will be described. When the host system issues a read request for the data in the data block 8 to the disk array device, the cache memory control unit 2 in the disk array device reads the data block 8 from the magnetic disk device 3, Upon completion of this read processing, the data block 8 is stored in the cache memory 1 at the same time as the requested data (data in the data block 8) is responded to the host system. In the figure, a data block 8a in the cache memory 1
Shows a data block in which is stored. Also, when the host system issues a read request for the data in the data block 9, the same process is performed and the data block 9a is stored in the cache memory 1.
【0028】1回のリードがブロック単位で行われ、か
つ1回のアクセスは1台の内蔵磁気ディスク装置3(ま
たは4)へのアクセスで完結するため、マルチアクセス
に対し、効率よく動作することができる。また、ホスト
システムからの要求が、シーケンシャルに発生した場
合、キャッシュメモリ1にブロック単位で格納した後
は、キャッシュメモリ1内のデータに要求が集中するの
で、ディスクアレイ装置として、効率よく動作できる。Since one read is performed in block units and one access is completed by accessing one built-in magnetic disk device 3 (or 4), it is possible to operate efficiently against multiple access. You can Further, when the requests from the host system are sequentially generated, the requests are concentrated on the data in the cache memory 1 after being stored in the cache memory 1 in units of blocks, so that the disk array device can operate efficiently.
【0029】次に、ホストシステムがマルチアクセス不
可能な場合を説明する。このディスクアレイ装置に対し
て、マルチアクセス以外の要求によりデータブロック8
内のデータのリード要求が発行された場合、キャッシュ
メモリ制御部2は、データブロック8、9を、それぞれ
磁気ディスク装置3、4から読み出し、両方のデータブ
ロック8、9をキャッシュメモリ1に格納し、ホストシ
ステムに対しては、要求されたデータ(データブロック
8内のデータ)により応答する。この場合、磁気ディス
ク装置3、4へのアクセスは、マルチアクセスで実行す
る。Next, a case where the host system cannot perform multi-access will be described. Data block 8 is sent to this disk array device by a request other than multi-access.
When a read request for the data in the data is issued, the cache memory control unit 2 reads the data blocks 8 and 9 from the magnetic disk devices 3 and 4, respectively, and stores both the data blocks 8 and 9 in the cache memory 1. , The host system responds with the requested data (data in the data block 8). In this case, access to the magnetic disk devices 3 and 4 is executed by multi-access.
【0030】データブロック8、9は、ホストシステム
からみた場合、アドレスが連続する領域であり、ホスト
システムからのアクセス要求がシーケンシャルに行われ
た場合、データブロック8に引き続き、アドレスが連続
する次のブロックに対してアクセス要求が発生する場合
が多い。よって、ホストシステムからの要求がマルチア
クセスでない場合も、ホストシステムに対して効率よく
応答できることが期待できる。When viewed from the host system, the data blocks 8 and 9 are areas where the addresses are continuous. When the access request is sequentially issued from the host system, the data blocks 8 and 9 continue to the next address. Access requests are often made to blocks. Therefore, even if the request from the host system is not multi-access, it can be expected that the host system can efficiently respond.
【0031】次に、キャッシュメモリ制御部2が、ホス
トシステムからのアクセス要求がマルチアクセスである
か否かを判定する動作を説明する。Next, the operation of the cache memory control unit 2 for determining whether or not the access request from the host system is multi-access will be described.
【0032】ホストシステムとディスクアレイ装置と
が、例えばSCSIインタフェースで接続される構成に
おいて、ホストシステムがマルチアクセスを行う場合、
アクセス手順の中で、タグの送出が行われる。タグと
は、そのアクセスの順番を指し示すためのものであり、
要求を発行した順番とそれに対応する応答の順番が必ず
しも一致しないマルチアクセスにおいては、必要となる
ものである。ディスクアレイ装置は、ホストシステムか
らアクセス要求を受けた場合、このタグが送出されてい
るか否かを判別する。これにより、ホストシステムから
の要求がマルチアクセスか否かを判別することができ
る。When the host system performs multi-access in a configuration in which the host system and the disk array device are connected by, for example, a SCSI interface,
The tag is transmitted in the access procedure. Tags are for indicating the order of access,
This is necessary in multi-access in which the order of issuing requests and the order of corresponding responses do not necessarily match. When receiving the access request from the host system, the disk array device determines whether or not this tag is transmitted. This makes it possible to determine whether or not the request from the host system is multi-access.
【0033】〈効果〉以上のように、上記具体例では、
ホストシステムからの要求がマルチアクセスである場
合、1ブロック単位のデータを、そのデータを格納する
1個の磁気ディスク装置3(または4)から読み出し、
キャッシュメモリ1に格納しておくことにより、それに
続くホストシステムからのリード要求に対して高速に応
答することが期待できる。また、ホストシステムからの
要求がマルチアクセスではない場合、ディスクアレイ装
置の内部で、連続するデータブロックを複数の磁気ディ
スク装置3、4からマルチアクセスで読み出し、キャッ
シュメモリ1に格納しておくことにより、ホストシステ
ムに対して高速に応答することが期待できる。これによ
り、ホストシステムに対するアクセスタイムを従来より
短縮することができるという効果がある。<Effect> As described above, in the above specific example,
When the request from the host system is multi-access, the data of one block unit is read from one magnetic disk device 3 (or 4) which stores the data,
By storing it in the cache memory 1, it can be expected to respond to a subsequent read request from the host system at high speed. If the request from the host system is not multi-access, the continuous data block is read from the plurality of magnetic disk devices 3 and 4 by multi-access inside the disk array device and stored in the cache memory 1. It can be expected to respond to the host system at high speed. As a result, there is an effect that the access time to the host system can be shortened as compared with the conventional case.
【0034】また、ホストシステムからのアクセス要求
がマルチアクセスであるか否かを、送出されるタグの有
無を判別することで判定するようにしたので、ホストシ
ステムからの要求がマルチアクセスか否かを容易に判別
することができる。Further, since it is determined whether or not the access request from the host system is multi-access by determining the presence / absence of a tag to be transmitted, whether or not the request from the host system is multi-access. Can be easily discriminated.
【図1】本発明のディスクアレイ装置の具体例を示す構
成図である。FIG. 1 is a configuration diagram showing a specific example of a disk array device of the present invention.
【図2】ディスクアレイ装置の代表的な構成を示す図で
ある。FIG. 2 is a diagram showing a typical configuration of a disk array device.
【図3】ディスクアレイ装置におけるデータブロックの
配置例の説明図である。FIG. 3 is an explanatory diagram of an arrangement example of data blocks in the disk array device.
【図4】マルチアクセス可能な場合のリードアクセスの
説明図である。FIG. 4 is an explanatory diagram of read access when multi-access is possible.
【図5】マルチアクセス不可能な場合のリードアクセス
の説明図である。FIG. 5 is an explanatory diagram of read access when multiple access is impossible.
1 キャッシュメモリ 2 キャッシュメモリ制御部 3、4 磁気ディスク装置 8、8a、9、9a データブロック 1 cache memory 2 cache memory controller 3, 4 magnetic disk device 8, 8a, 9, 9a data block
Claims (2)
つ、キャッシュメモリを備えたディスクアレイ装置にお
いて、 ホストシステムからの要求がマルチアクセスである場
合、前記それぞれの磁気ディスク装置へのアクセス単位
を、各磁気ディスク装置へのデータの分散配置の単位で
ある1ブロックとし、いずれかの磁気ディスク装置に格
納されているデータに対するリード要求により、当該デ
ータを含むブロックを前記キャッシュメモリに格納し、
前記ホストシステムからの要求がマルチアクセスでない
場合、いずれかの磁気ディスク装置に格納されているデ
ータに対してリード要求があった場合は、当該データを
含むブロックと、このブロックに連続するブロックを前
記キャッシュメモリに格納するキャッシュメモリ制御部
を備えたことを特徴とするディスクアレイ装置。1. In a disk array device including a plurality of magnetic disk devices and having a cache memory, when a request from a host system is multi-access, the access unit to each of the magnetic disk devices is One block, which is a unit of distributed arrangement of data to each magnetic disk device, is stored in the cache memory in response to a read request for data stored in one of the magnetic disk devices.
If the request from the host system is not multi-access, and if there is a read request for data stored in any of the magnetic disk devices, a block containing the data and a block continuous to the block are written. A disk array device comprising a cache memory control unit for storing in a cache memory.
いて、 キャッシュメモリ制御部は、ホストシステムからのアク
セス要求中、どのアクセスかを識別するためのタグが含
まれていた場合に、マルチアクセスであると判定するこ
とを特徴とするディスクアレイ装置。2. The disk array device according to claim 1, wherein the cache memory control unit is multi-access when a tag for identifying which access is included in the access request from the host system is included. A disk array device which is characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8042544A JPH09237224A (en) | 1996-02-29 | 1996-02-29 | Disk array device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8042544A JPH09237224A (en) | 1996-02-29 | 1996-02-29 | Disk array device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH09237224A true JPH09237224A (en) | 1997-09-09 |
Family
ID=12639011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8042544A Withdrawn JPH09237224A (en) | 1996-02-29 | 1996-02-29 | Disk array device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH09237224A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6427184B1 (en) | 1997-06-03 | 2002-07-30 | Nec Corporation | Disk drive with prefetch and writeback algorithm for sequential and nearly sequential input/output streams |
US7742051B2 (en) | 2006-03-27 | 2010-06-22 | Seiko Epson Corporation | Device control using data communication |
-
1996
- 1996-02-29 JP JP8042544A patent/JPH09237224A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6427184B1 (en) | 1997-06-03 | 2002-07-30 | Nec Corporation | Disk drive with prefetch and writeback algorithm for sequential and nearly sequential input/output streams |
US7742051B2 (en) | 2006-03-27 | 2010-06-22 | Seiko Epson Corporation | Device control using data communication |
US8203565B2 (en) | 2006-03-27 | 2012-06-19 | Seiko Epson Corporation | Device control using data communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5619728A (en) | Decoupled DMA transfer list storage technique for a peripheral resource controller | |
US6848034B2 (en) | Dense server environment that shares an IDE drive | |
US6484234B1 (en) | Method and apparatus for efficiently destaging data from a cache to two or more non-contiguous storage locations | |
JP4219602B2 (en) | Storage control device and control method of storage control device | |
US7886114B2 (en) | Storage controller for cache slot management | |
US6230239B1 (en) | Method of data migration | |
US6954839B2 (en) | Computer system | |
US5530897A (en) | System for dynamic association of a variable number of device addresses with input/output devices to allow increased concurrent requests for access to the input/output devices | |
US6542960B1 (en) | System and method for parity caching based on stripe locking in raid data storage | |
US20010002478A1 (en) | Raid striping using multiple virtual channels | |
US5335327A (en) | External memory control techniques with multiprocessors improving the throughput of data between a hierarchically upper processing unit and an external memory with efficient use of a cache memory | |
US8458289B1 (en) | Methods and apparatus for providing content | |
JP2002123424A (en) | System and method for dynamically reallocating memory in computer system | |
US8010733B1 (en) | Methods and apparatus for accessing content | |
JPH10105476A (en) | Device for generating parity block | |
JP4053208B2 (en) | Disk array controller | |
JPH09198308A (en) | Data storage system | |
JPH06309105A (en) | Readout-request servicing method and data processing system | |
JPH09237224A (en) | Disk array device | |
JP4461089B2 (en) | Storage control apparatus and storage control method | |
JP4025032B2 (en) | Disk control device and data access method thereof | |
JPH05289818A (en) | Disk array control system | |
JPH07121308A (en) | Disk device write-back control method | |
JP2733189B2 (en) | Disk array device input / output control method | |
JP2994917B2 (en) | Storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20030506 |