JPH0612188A - Data transfer control system for external storage controller - Google Patents

Data transfer control system for external storage controller

Info

Publication number
JPH0612188A
JPH0612188A JP16726292A JP16726292A JPH0612188A JP H0612188 A JPH0612188 A JP H0612188A JP 16726292 A JP16726292 A JP 16726292A JP 16726292 A JP16726292 A JP 16726292A JP H0612188 A JPH0612188 A JP H0612188A
Authority
JP
Japan
Prior art keywords
external storage
data
host device
control device
data transfer
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
Application number
JP16726292A
Other languages
Japanese (ja)
Inventor
Katsuhiro Kawaguchi
勝洋 川口
Katsunori Nakamura
勝憲 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16726292A priority Critical patent/JPH0612188A/en
Publication of JPH0612188A publication Critical patent/JPH0612188A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To minimize a connecting time with a host device by adding the element of a command chain time and a reconnecting time to the data processing time at the host device side, and deciding data quantity to be read at first by considering the data processing time of an external storage device. CONSTITUTION:A magnetic disk controller 1 is connected through a channel port 2 with the host device, and recognizes which channel port generates an activation from an activation detecting circuit 3. A microprocessor 4 which mainly controls a data trasfer at the host device side is connected through a bus line 6 with a microprocessor 5 which mainly controls the data trasfer at a slave device side. At the time of operating the data trasfer between a disk volume 10 and the host device, the microprocessor 4 selects the microprocessor 5. A buffer 7 stores the data to be read and written in the disk volume 10 by the microprocessor 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部記憶制御装置のデ
ータ転送制御方式に係わり、特に外部記憶装置から上位
装置へデータ転送を行う場合のデータ先読み量を最適化
することで、転送データが外部記憶制御装置内のデータ
バファに停留する時間を最小することにより上位装置、
外部記憶制御装置のスループットを向上させるデータ転
送制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control system for an external storage control device, and more particularly, by optimizing a data read-ahead amount when transferring data from an external storage device to a host device, By minimizing the time to stay in the data buffer in the external storage controller, the host device,
The present invention relates to a data transfer control method for improving the throughput of an external storage control device.

【0002】[0002]

【従来の技術】上位装置と外部記憶装置とのデータ転送
において、上位装置と外部記憶装置とのデータ転送能力
の能力差を吸収するために、外部記憶装置を制御する外
部記憶制御装置内にデータバファを設け、当該データバ
ファを介してデータ転送を行うことが一般的に行われて
いる。特に、外部記憶装置側のデータ転送能力が上位装
置側のそれに比べて著しく小さい場合には、上位装置と
データ転送を開始する前に予め、外部記憶装置と外部記
憶制御装置間でデータ転送を開始してデータバファに転
送データを格納しておく、いわゆるデータの先読みが行
われる。
2. Description of the Related Art In data transfer between a host device and an external storage device, data is stored in an external storage control device that controls the external storage device in order to absorb a difference in data transfer capability between the host device and the external storage device. It is common practice to provide a buffer and transfer data via the data buffer. In particular, if the data transfer capacity of the external storage device is significantly smaller than that of the host device, start the data transfer between the external storage device and the external storage control device before starting the data transfer with the host device. Then, the transfer data is stored in the data buffer, so-called data prefetching is performed.

【0003】このデータ先読みに関する技術として、例
えば特開昭62−92022号公報に記載される技術
に、上位装置側のデータ転送レートが外部記憶制御装置
側のデータ転送レートよりも大きい場合、データ転送量
×データ転送レート比の分だけ先読みを行う手段があ
る。
As a technique related to this data prefetching, for example, in the technique disclosed in Japanese Patent Laid-Open No. 62-92022, data transfer is performed when the data transfer rate on the host device side is higher than the data transfer rate on the external storage control device side. There is a means for prefetching for the amount x data transfer rate ratio.

【0004】データ転送に要する時間はデータ転送量/
データ転送レートで決定されるため、上位装置と外部記
憶制御装置のデータ転送時間を最小にするには外部記憶
装置のデータ転送レートと上位装置のデータ転送レート
の比率に転送すべき総データ量を乗じたデータ量を先読
みのデータ量とするが最も合理的である。
The time required for data transfer is the data transfer amount /
Since it is determined by the data transfer rate, in order to minimize the data transfer time between the host device and the external storage controller, the total amount of data to be transferred must be set to the ratio of the data transfer rate of the external storage device to the data transfer rate of the host device. It is the most rational to use the multiplied data amount as the read-ahead data amount.

【0005】ところが、近年では上位装置と外部記憶制
御装置を接続するインタフェースに光ファイバ等が利用
される場合があり、従来使用されているメタルケーブル
よりも、飛躍的にケーブル長が延長させることが可能に
なっている。
However, in recent years, an optical fiber or the like may be used as an interface for connecting a higher-level device and an external storage control device, and the cable length can be remarkably extended as compared with the conventionally used metal cable. It is possible.

【0006】このため、従来ではほぼ固定時間と考えら
れたコマンドチェイン時間や上位装置との再接続時間も
インタフェースのケーブル長の影響が無視できなくなっ
ている。
For this reason, the influence of the cable length of the interface cannot be neglected in the command chain time and the reconnection time with the host device, which are considered to be almost fixed in the past.

【0007】上位装置からの入出力命令は通常、複数の
コマンドがチェインされるため、データ転送時間を計算
する場合もコマンドチェイン時間を考慮にいれる必要が
ある。
Since a plurality of commands are usually chained in an input / output command from a host device, it is necessary to take the command chain time into consideration when calculating the data transfer time.

【0008】すなわち、上記の公報に開示された技術で
は、かかる状況において先読みするデータ量を最適化す
ることができない場合があり、上位装置との接続時間を
最小にするという目的が達成できなくなるという問題が
あった。
In other words, the technique disclosed in the above publication may not be able to optimize the amount of data to be read in advance in such a situation, and the purpose of minimizing the connection time with the host device cannot be achieved. There was a problem.

【0009】また、データ処理量が多く、先読みできる
データ量が制御装置内のデータバファの容量に制限され
る場合に関しても上記の技術では対処できないという問
題がある。
Further, there is a problem that the above technique cannot deal with the case where the amount of data processing is large and the amount of data that can be read in advance is limited by the capacity of the data buffer in the control device.

【0010】[0010]

【発明が解決しようとする課題】本発明では、上記の問
題に鑑み、上位装置側のデータ処理時間にコマンドチェ
イン時間と再接続時間の要素を加味して、外部記憶装置
側のデータ処理時間と比較することで、先読みするデー
タ量を決定することにより、前記の状況下においても、
当初の目的を達成することができる手段を提供すること
にある。
In view of the above problems, the present invention considers the data processing time on the external storage device side by adding the command chain time and the reconnection time to the data processing time on the host device side. By determining the amount of data to be read ahead by comparing, even under the above-mentioned situation,
It is to provide a means by which the original purpose can be achieved.

【0011】[0011]

【課題を解決するための手段】本発明の目的は、データ
転送開始以前に、上位装置側のデータ処理時間と外部記
憶装置側のデータ転送時間を比較して、データ先読み量
を決定する手段と、データ転送量から、先読み量の不足
を予測する手段を備えることにより達成される。前記目
的は、データ転送開始以前のコマンドにおいてコマンド
チェイン時間を計測する手段、上位装置および外部記憶
装置のデータ転送レートをプリセット情報として与える
手段、上位装置に接続要求を発行してから応答があるま
での時間を計測する手段と、これらの情報を組合せデー
タ先読み量決定する手段によって実現される。
SUMMARY OF THE INVENTION An object of the present invention is to determine the amount of data read ahead by comparing the data processing time on the host device side with the data transfer time on the external storage device side before starting data transfer. This is achieved by providing a means for predicting a shortage of the prefetch amount from the data transfer amount. The purpose is to measure the command chain time in the command before the start of data transfer, a means for giving the data transfer rate of the host device and the external storage device as preset information, and a response from issuing a connection request to the host device. Is realized by means for measuring the time, and means for determining the amount of prefetching of combined data of these pieces of information.

【0012】[0012]

【作用】データ入出力に使用されるコマンドチェイン
は、データ転送を開始するコマンド以前に少なくとも、
特定かつ少なくとも2個のコマンドを含み、コマンドチ
ェイン時間の計測と、データ転送量を判断できるための
情報が与えられることが必要である。
The command chain used for data input / output must be at least before the command to start data transfer.
It is necessary to include specific and at least two commands, and to be provided with information for measuring the command chain time and determining the data transfer amount.

【0013】例えば、磁気ディスク制御装置の場合に
は、DEFINE EXTENT コマンドとLOCATERECORD コマンド
が、データ転送開始前に発行されるためコマンドチェイ
ン時間の計測可能であり、LOCATE RECORD コマンドによ
り、処理レコード数とデータ長が与えられるため、デー
タ転送量を予測することが可能である。
For example, in the case of a magnetic disk controller, since the DEFINE EXTENT command and the LOCATE RECORD command are issued before the start of data transfer, the command chain time can be measured. Since the length is given, it is possible to predict the data transfer amount.

【0014】コマンドチェイン時間は、ほぼ一定間隔で
コマンドの種類には依存しない。また、上位装置側のデ
ータ転送レートも、インストール時に外部記憶制御装置
の構成情報として設定されることが多い。外部記憶装置
の転送レートや、データバファ容量などもプリセット情
報として与えることが可能である。
The command chain time is almost constant and does not depend on the type of command. In addition, the data transfer rate on the host device side is often set as the configuration information of the external storage control device at the time of installation. The transfer rate of the external storage device, the data buffer capacity, and the like can be given as preset information.

【0015】上位装置に対する再接続に要する時間は、
上位装置側の負荷状況に応じて変動する可能性もある
が、過去の履歴情報を持つことで、およその時間を予測
することが可能である。
The time required for reconnection to the host device is
Although it may vary depending on the load status of the host device, it is possible to predict the approximate time by having the past history information.

【0016】上記の情報を得ることができれば、正確な
データ処理時間を求めることが可能になるため、上位装
置側、外部記憶装置側のデータ転送能力に応じて先読み
データ量を算出することができる。
If the above information can be obtained, an accurate data processing time can be obtained. Therefore, the amount of read-ahead data can be calculated according to the data transfer capabilities of the host device side and the external storage device side. .

【0017】[0017]

【実施例】本発明の実施例を磁気ディスクサブシステム
を用いて説明する。
Embodiments of the present invention will be described with reference to a magnetic disk subsystem.

【0018】図1は、本発明の一実施例である磁気ディ
スクサブシステムを用いて構築される計算機システムの
一例を示すブロックである。図1において、磁気ディス
ク制御装置1はチャネルポート2を通じて上位装置に接
続され、起動検出回路3により、どのチャネルポートか
ら起動がきたかを知ることができる。上位装置側のデー
タ転送の制御を主に司るマイクロプロセッサ4と下位装
置側のデータ転送の制御を主に司るマイクロプロセッサ
5はバス線6により接続されており、ディスクボリュー
ム10と上位装置とのデータ転送を行うときにはマイク
ロプロセッサ4はマイクロプロセッサ5を選択する。バ
ファ7はマイクロプロセッサ5がディスクボリューム1
0にリードライトするデータを格納するためのデータバ
ファである。
FIG. 1 is a block diagram showing an example of a computer system constructed by using a magnetic disk subsystem which is an embodiment of the present invention. In FIG. 1, the magnetic disk control device 1 is connected to a host device through a channel port 2, and the activation detection circuit 3 can know from which channel port the activation came. The microprocessor 4 which mainly controls the data transfer on the upper device side and the microprocessor 5 which mainly controls the data transfer on the lower device side are connected by a bus line 6, and the data between the disk volume 10 and the upper device is connected. When transferring, the microprocessor 4 selects the microprocessor 5. In the buffer 7, the microprocessor 5 has a disk volume 1
It is a data buffer for storing data to be read / written to 0.

【0019】以下、本発明の効果を図2、図3及び図4
を用いて説明する。
Hereinafter, the effects of the present invention will be described with reference to FIGS. 2, 3 and 4.
Will be explained.

【0020】図4は上位装置側がディスクボリューム1
0に対してリード動作を指示する一連のコマンド群の一
例を示している。DEFINE EXTENTコマンド
41は、ディスクボリューム10に対するシーク動作と
ライト動作の許容範囲を指定するためのコマンドであ
る。LOCATE RECORDコマンド42は処理す
べき位置付け情報とレコード数、後続のオペレーション
(リードライトの種別等)を指定するためのコマンドで
ある。このLOCATE RECORDコマンド42に
おいてディスクボリューム10に対してシーク、セット
セクタの機械的動作を伴う位置付け動作の命令が発行さ
れるため、このコマンドで上位装置を一旦解放する。位
置付けが完了した後、上位装置に対し割り込み要求を発
行して再接続を行いREADDATAコマンド43がチ
ェインされる。このコマンド数は予めLOCATE R
ECORD42で指定された数のコマンドだけチェイン
される。したがって磁気ディスク制御装置1は何レコー
ド分のデータを処理するかは上位装置とのデータ転送開
始前に知ることが可能である。
In FIG. 4, the disk volume 1 is on the upper device side.
An example of a series of commands for instructing a read operation to 0 is shown. The DEFINE EXTENT command 41 is a command for designating the allowable range of the seek operation and the write operation for the disk volume 10. The LOCATE RECORD command 42 is a command for designating the positioning information to be processed, the number of records, and the subsequent operation (read / write type, etc.). In this LOCATE RECORD command 42, a command for a positioning operation accompanied by a mechanical operation of seek and set sector is issued to the disk volume 10, so that the upper device is temporarily released by this command. After the positioning is completed, an interrupt request is issued to the upper device to reconnect and the READDATA command 43 is chained. The number of commands is LOCATE R
Only the number of commands designated by ECORD 42 is chained. Therefore, the magnetic disk control device 1 can know how many records of data to process before starting the data transfer with the host device.

【0021】図3の構成情報30は、上位装置のデータ
転送レート情報31、ディスクボリューム10のデータ
転送レート情報32および上位装置のコマンドチェイン
時間(コマンドを発行する時間間隔)情報33により構
成される。コマンドチェイン時間33はコマンドとコマ
ンドの発行間隔をマイクロプロセッサ4のマイクロプロ
グラムが DEFINE EXTENT コマンド 41と LOCATE RECO
RD コマンド42の間のコマンドチェイン時間を記録し
た情報である。また、再接続時間34は、ディスクボリ
ューム10からのセクタ割り込みをマイクロプロセッサ
5が検出してから上位装置に対して接続要求を発行して
許可されるまでの時間を測定した記録であり、過去のN
回分の履歴情報から構成されている。
The configuration information 30 of FIG. 3 is composed of data transfer rate information 31 of the higher-level device, data transfer rate information 32 of the disk volume 10 and command chain time (time interval between command issuance) information 33 of the higher-level device. . In the command chain time 33, the command and the command issuing interval are set by the microprogram of the microprocessor 4 by the DEFINE EXTENT command 41 and the LOCATE RECO command.
This is information recording the command chain time between the RD commands 42. The reconnection time 34 is a record of the time taken from the detection of the sector interrupt from the disk volume 10 by the microprocessor 5 to the issuance of a connection request to the host device and the permission of the connection request. N
It consists of historical information for each batch.

【0022】本発明においては、先読みデータ量を最適
化させるための手段を説明するため、先読みデータ量を
決定するためのもとになる情報であるコマンドチェイン
時間33や再接続時間34を測定する手段にそのものに
関しては言及しない。
In the present invention, in order to explain the means for optimizing the amount of read-ahead data, the command chain time 33 and the reconnection time 34, which are the basic information for determining the amount of read-ahead data, are measured. It does not refer to the means itself.

【0023】これらの情報は公知の技術により測定が可
能である。
These pieces of information can be measured by known techniques.

【0024】図2において、LOCATE RECOR
D42を受領した時に、ディスクボリューム10からデ
ータをリードすることを検知するとそのパラメータから
データ転送処理量を計算する(ステップ101)。次に
上位装置側の処理時間とディスクボリューム10側の処
理時間を計算する(ステップ102)。処理時間の予測
は構成情報30を用いて行われる。その結果を比較し
て、上位装置側の処理時間とディスクボリューム10側
の処理時間の比率rがX以上(X>1)であるかを判断
する(ステップ103)。X以下であれば、処理時間に
大差ないと判断してステップ107に進む。X以上であ
る場合にはステップ104に進み先読みデータ量を決定
する。ステップ104では、先読みしてから上位装置に
追い付かれるまでのデータ量を予測する。処理時間の比
率がr、先読みするデータ量をS0とすると上位装置に
追い付かれるまでに処理可能なデータ処理量Sは等比級
数の和で以下のように表現することができる。
In FIG. 2, LOCATE RECORD
When D42 is received and it is detected that the data is read from the disk volume 10, the data transfer processing amount is calculated from the parameter (step 101). Next, the processing time on the host device side and the processing time on the disk volume 10 side are calculated (step 102). The processing time is predicted using the configuration information 30. By comparing the results, it is determined whether the ratio r of the processing time on the host device side and the processing time on the disk volume 10 side is X or more (X> 1) (step 103). If it is less than or equal to X, it is determined that there is not much difference in processing time, and the process proceeds to step 107. If it is greater than or equal to X, the process proceeds to step 104 to determine the amount of prefetch data. In step 104, the amount of data from the prefetching to the time when the higher-level device catches up is predicted. If the processing time ratio is r and the amount of data to be read ahead is S0, the amount of data processing S that can be processed before the higher-level device catches up can be expressed as the sum of geometric series as follows.

【0025】[0025]

【数1】 S=S0・(1−r*(i+1))/(1−r) ここで、r*(i+1)はrの(i+1)乗である。i
は追い付かれるまでに処理したレコード数である。(i
≦log(1/S0)/logrを満足する最大整数)
すなわち、i番目のレコードを上位装置に転送したあと
に、上位装置と切り離して先読み処理を行わせるための
判断に用いられる。
## EQU00001 ## S = S0. (1-r * (i + 1)) / (1-r) where r * (i + 1) is the (i + 1) th power of r. i
Is the number of records processed before being caught up. (I
≤log (1 / S0) / maximum integer that satisfies logr)
That is, the i-th record is transferred to the higher-level device, and then used for the determination for prefetching processing separately from the higher-level device.

【0026】ステップ105では、ステップ101で計
算したデータ量が何回の先読みを必要かを計算するため
のステップである。ステップ106でマイクロプロセッ
サ5に先読みさせる情報を作成する。そして、ステップ
107でシーク、セットセクタ命令を発行してマイクロ
プロセッサ4は、位置決め、先読みが終了の割り込みが
あるまで他のサービスを行う。通常はセットセクタが完
了するとセクタレディという割り込み信号がディスクボ
リューム10から上がるのでマイクロプロセッサ5はこ
れを契機にマイクロプロセッサ4及び上位装置との再結
合を行っている。
Step 105 is a step for calculating how many times the read-ahead is required for the data amount calculated in step 101. In step 106, the information to be read ahead by the microprocessor 5 is created. Then, in step 107, the seek and set sector instructions are issued, and the microprocessor 4 performs other services until there is an interrupt for ending positioning and prefetching. Normally, when the set sector is completed, an interrupt signal "sector ready" rises from the disk volume 10, and the microprocessor 5 is triggered by this to reconnect with the microprocessor 4 and the host device.

【0027】ステップ108で、マイクロプロセッサ5
がセクタレディを検出後先読み処理を開始する。ステッ
プ104で計算したデータ量を先読みしたところでマイ
クロプロセッサ5はマイクロプロセッサ4に対して接続
要求を発行する。この接続要求を行うタイミングはバフ
ァ7の容量を越えないように再接続時間34を考慮して
いつ行うかを決定する(ステップ109)。マイクロプ
ロセッサ4はマイクロプロセッサ5からの接続要求を検
出すると上位装置に対して再接続要求を発行する(ステ
ップ110)。再接続要求が受領され、上位装置からリ
ードコマンドが発行されるとマイクロプロセッサ4はバ
ファ7から先読みしたデータを上位装置に転送する(ス
テップ111)。ステップ112では、上位装置側とデ
ィスクボリューム10の処理状態を監視して、残転送量
のデータ転送方式を上位装置と結合したままで行うか、
上位装置を切り離し再度先読みを実行するかを判断す
る。再度先読みを行う場合にはステップ113で上位装
置に対して切り離し要求を発行する。上位装置を接続し
たまま行う場合にはステップ114でそのままデータ転
送終了を待つ。以上のような制御を行えば下位装置のデ
ータ転送能力に依存しないで上位装置側のデータ転送を
行うことが可能となり、上位装置と磁気ディスク制御装
置の接続することができる。
In step 108, the microprocessor 5
Starts prefetch processing after detecting sector ready. The microprocessor 5 issues a connection request to the microprocessor 4 when the amount of data calculated in step 104 is read ahead. The timing for making this connection request is determined in consideration of the reconnection time 34 so as not to exceed the capacity of the buffer 7 (step 109). Upon detecting the connection request from the microprocessor 5, the microprocessor 4 issues a reconnection request to the host device (step 110). When the reconnection request is received and the read command is issued from the host device, the microprocessor 4 transfers the prefetched data from the buffer 7 to the host device (step 111). In step 112, the processing statuses of the higher-level device and the disk volume 10 are monitored, and the data transfer method of the remaining transfer amount is carried out with the upper-level device being combined, or
Determine whether to disconnect the host device and execute prefetch again. When prefetching is performed again, a disconnection request is issued to the host device in step 113. If the upper device is connected, the end of data transfer is awaited in step 114. By performing the control as described above, it becomes possible to perform data transfer on the upper device side without depending on the data transfer capability of the lower device, and the upper device and the magnetic disk control device can be connected.

【0028】本実施例ではマイクロプロセッサ5が独立
に先読みを行い、マイクロプロセッサ4および上位装置
と再結合するという方式について述べたが、マイクロプ
ロセッサ4と結合した後に先読みを開始しても良い。ま
た、規定時間内にマイクロプロセッサ4や上位装置から
応答が無かった場合、キャッシュメモリ8が使用可能状
態であれば、キャッシュメモリに先読みしたデータをロ
ードすることができるので、先読みしたデータが無駄に
ならない。
In this embodiment, the system has been described in which the microprocessor 5 independently performs prefetching and rejoins with the microprocessor 4 and the host device. However, prefetching may be started after the microprocessor 5 is joined. Further, if there is no response from the microprocessor 4 or the higher-level device within the specified time and the cache memory 8 is available, the prefetched data can be loaded into the cache memory, so the prefetched data is wasted. I won't.

【0029】[0029]

【発明の効果】本発明によれば、上位装置からの入出力
要求があった場合に、外部記憶装置と外部記憶制御装置
間で行う先読みするデータ量を最適化できるので、転送
データが制御装置内のデータバファに停留する時間を最
小になり、上位装置と制御装置のスループットが向上す
る。
According to the present invention, when an input / output request is issued from a higher-level device, the amount of data to be read ahead between the external storage device and the external storage control device can be optimized, so that the transfer data is transferred to the control device. The time spent in the internal data buffer is minimized, and the throughput of the host device and the control device is improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例である磁気ディスクサブシス
テムを用いて構築される計算機システム一例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an example of a computer system constructed using a magnetic disk subsystem that is an embodiment of the present invention.

【図2】本発明の実施例に於けるマイクロプログラムの
処理手順を示す図である。
FIG. 2 is a diagram showing a processing procedure of a micro program in the embodiment of the present invention.

【図3】本発明の実施例の制御に用いる制御情報を示す
図である。
FIG. 3 is a diagram showing control information used for control in the embodiment of the present invention.

【図4】本発明の実施例に於ける上位装置からの入出力
命令の一例を示す図である。
FIG. 4 is a diagram showing an example of input / output instructions from a host device in the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…磁気ディスク制御装置、 4、5…マイクロプロセッサ、 10…ディスクボリューム、 101、114…制御動作の一例を示すステップ、 30…履歴情報、 41、43…チャネルコマンド。 1 ... Magnetic disk control device, 4, 5 ... Microprocessor, 10 ... Disk volume, 101, 114 ... Step showing an example of control operation, 30 ... History information, 41, 43 ... Channel command.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数の外部記憶装置と、これらを接続し制
御するデータバファを備えた外部記憶制御装置と上位装
置から構成される計算機システムであり、外部記憶装置
からと上位装置間に対してデータ転送を行う場合に、上
位装置側のデータ処理時間と外部記憶装置側のデータ処
理時間を予測して、上記転送データが上記データバファ
に停留する時間が最小となるように外部記憶装置と外部
記憶制御装置間のデータ先読みを行う手段を備えた外部
記憶制御装置において、 外部記憶制御装置側のデータ先読み量を、位置決め完了
後の割り込みを検出後上位装置と再接続するのに要する
時間と上位装置側のデータ処理時間と外部記憶装置側の
データ処理時間の差を加味して先読みデータ量を決定
し、外部記憶装置から外部記憶装置へのデータ先読みを
行うことを特徴とする外部記憶制御装置のデータ転送制
御方式。
1. A computer system comprising a plurality of external storage devices, an external storage control device having a data buffer for connecting and controlling these, and a host device, and between the external storage device and the host device. When performing data transfer, the data processing time of the host device side and the data processing time of the external storage device side are predicted, and the external storage device and the external storage device are externalized so that the transfer data stays in the data buffer for a minimum time. In an external storage control device equipped with means for prefetching data between storage control devices, the amount of data readahead on the external storage control device side and the time required to reconnect with the host device after detecting an interrupt after completion of positioning The amount of read-ahead data is determined by considering the difference between the data processing time on the device side and the data processing time on the external storage device side, and the data read-ahead from the external storage device to the external storage device is determined. A data transfer control method for an external storage control device, which is characterized in that
【請求項2】請求項1記載の外部記憶制御装置におい
て、上位装置と外部記憶装置間でデータ転送を行う場合
に、上位装置に転送すべき残データ処理量に応じて、一
旦上記上位装置と上記外部記憶制御装置の接続を切離す
手段を有し、上記外部記憶制御装置と上記外部記憶装置
間のデータ転送は継続してデータを先読みし、必要なデ
ータ量をバファリング後、上記上位装置に対して接続要
求を発行して、接続が許可された場合には、再び上記外
部記憶制御装置と上記上位装置とのデータ転送を再開す
ることを特徴とする外部記憶制御装置のデータ転送制御
方式。
2. The external storage control device according to claim 1, wherein when data transfer is performed between the host device and the external storage device, the data is temporarily transferred to the host device according to the remaining data processing amount to be transferred to the host device. A means for disconnecting the connection of the external storage control device is provided, and data transfer between the external storage control device and the external storage device continues to prefetch data, and after buffering the required data amount, the host device A data transfer control method for an external storage control device, characterized in that when a connection request is issued to the external storage control device and the connection is permitted, data transfer between the external storage control device and the host device is restarted again. .
【請求項3】請求項1記載の外部記憶制御装置におい
て、上記外部記憶装置と上記外部記憶制御装置間のデー
タ転送中に、上記外部記憶制御装置と上記上位装置間の
結合が遅れた場合や結合できない場合には、既にバファ
リング済みのデータを当該外部記憶制御装置内の共用メ
モリにデータを退避させて、上位装置から要求があった
場合には、上記共用メモリ内のデータを使いデータ転送
を行うことを特徴とする外部記憶制御装置のデータ転送
制御方式。
3. The external storage control device according to claim 1, wherein the connection between the external storage control device and the host device is delayed during data transfer between the external storage device and the external storage control device, If the data cannot be combined, the already buffered data is saved in the shared memory in the external storage control device, and if requested by the host device, the data in the shared memory is used for data transfer. A data transfer control method for an external storage control device, characterized by:
JP16726292A 1992-06-25 1992-06-25 Data transfer control system for external storage controller Pending JPH0612188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16726292A JPH0612188A (en) 1992-06-25 1992-06-25 Data transfer control system for external storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16726292A JPH0612188A (en) 1992-06-25 1992-06-25 Data transfer control system for external storage controller

Publications (1)

Publication Number Publication Date
JPH0612188A true JPH0612188A (en) 1994-01-21

Family

ID=15846480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16726292A Pending JPH0612188A (en) 1992-06-25 1992-06-25 Data transfer control system for external storage controller

Country Status (1)

Country Link
JP (1) JPH0612188A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6894863B2 (en) 2001-12-27 2005-05-17 Kabushiki Kaisha Toshiba Method and apparatus for access control in a disk drive

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6894863B2 (en) 2001-12-27 2005-05-17 Kabushiki Kaisha Toshiba Method and apparatus for access control in a disk drive

Similar Documents

Publication Publication Date Title
US6230239B1 (en) Method of data migration
EP0560343B1 (en) Input-output control system and input-output control method in the system
JP3254429B2 (en) Data transfer / management system and method
US6934891B2 (en) Storage system having trace information fetching structure and method of fetching the same
KR900006353B1 (en) Method for controlling data trasmitting
JP3087429B2 (en) Storage system
US6725348B1 (en) Data storage device and method for reducing write misses by completing transfer to a dual-port cache before initiating a disk write of the data from the cache
EP0017666B1 (en) Methods of operating direct access storage means
JPH0612188A (en) Data transfer control system for external storage controller
US6560662B1 (en) Time-out processing method and apparatus for SCSI system as well as recording medium on which program is recorded
US6535953B1 (en) Magnetic disk, method of accessing magnetic disk device, and recording medium storing disk access control program for magnetic disk device
US6088818A (en) Data read apparatus and data read method
JP3283928B2 (en) Disk controller
JP3122702B2 (en) Disk device write-back control method
JPH0944315A (en) Memory device and its method
JPH0415493B2 (en)
JP3498651B2 (en) Disk control device, disk device, disk control system, retry frequency control method, and recording medium
JP5207374B2 (en) Data processing device
US5860087A (en) Data search method wherein the court-key-data (CKD) storage subsystem disconnects from the central processing unit when searching
JP3257484B2 (en) Computer communication flow control method, method and recording medium
JPH05257859A (en) Information processor
US20060031604A1 (en) DMA transfer apparatus and method of controlling data transfer
JPH1074347A (en) Magnetic tape control device
JPH0528096A (en) Scsi operation measuring system
JPH0477942A (en) Stop system for pre-fetch function for cache memory