JP2644857B2 - Data transfer method - Google Patents

Data transfer method

Info

Publication number
JP2644857B2
JP2644857B2 JP27625188A JP27625188A JP2644857B2 JP 2644857 B2 JP2644857 B2 JP 2644857B2 JP 27625188 A JP27625188 A JP 27625188A JP 27625188 A JP27625188 A JP 27625188A JP 2644857 B2 JP2644857 B2 JP 2644857B2
Authority
JP
Japan
Prior art keywords
storage device
input
data
output
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.)
Expired - Lifetime
Application number
JP27625188A
Other languages
Japanese (ja)
Other versions
JPH02123446A (en
Inventor
俊之 木下
克己 竹田
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 JP27625188A priority Critical patent/JP2644857B2/en
Publication of JPH02123446A publication Critical patent/JPH02123446A/en
Application granted granted Critical
Publication of JP2644857B2 publication Critical patent/JP2644857B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は大型計算機が持つ主記憶装置,拡張記憶装
置,入出力装置のうち、拡張記憶装置と入出力装置間の
データ転送を主記憶装置と入出力装置間の既存の入出力
動作と同等に実行可能で、かつ実現が容易なデータ転送
方法、ならびに拡張記憶装置と入出力装置間のデータ転
送が命令処理装置のメモリ効率を低下させることを防止
するデータ転送方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a main storage device for transferring data between an extended storage device and an input / output device among a main storage device, an extended storage device, and an input / output device of a large computer. A data transfer method that can be executed as easily as the existing input / output operation between the I / O device and that is easy to realize, and that the data transfer between the extended storage device and the input / output device reduces the memory efficiency of the instruction processing device. The present invention relates to a data transfer method for preventing data transmission.

〔従来の技術〕[Conventional technology]

拡張記憶装置は、近年の大型計算機において安価で大
量のデータを格納可能な記憶媒体として装備されている
ものである。主記憶装置に使用されている半導体素子に
比べてアクセス速度は遅いが、その分安価であるため大
量に実装でき、これを可能とするために主記憶装置より
隔かに大きなアドレス付けが可能である。即ち、現在の
主記憶装置は31ビット表現のため最大2Gバイトまでアド
レス付けできるが、拡張記憶装置は1ページ(=4096バ
イト)を単位とする32ビツト表現のため最大16Tバイト
(2Gバイトの8192倍)までアドレス付けできる。この拡
張記憶装置と主記憶装置のデータ転送には、専用の記械
命令が用意されており高速に同期的にデータ転送でき
る。一方入出力装置と主記憶装置間は、入出力動作によ
りデータ転送を行なう。
The extended storage device is provided as a storage medium capable of storing a large amount of data at low cost in recent large-scale computers. Although the access speed is slower than that of the semiconductor element used in the main storage device, it is inexpensive and can be mounted in large quantities, and in order to enable this, it is possible to assign a larger address than the main storage device. is there. That is, the current main memory can be addressed to a maximum of 2 Gbytes because of the 31-bit representation, while the extended storage can be addressed to a maximum of 16 Tbytes (8192 bytes of 2 Gbytes) because of the 32-bit representation of one page (= 4096 bytes). Address). For the data transfer between the extended storage device and the main storage device, a dedicated mechanical instruction is prepared, and the data can be transferred synchronously at high speed. On the other hand, data transfer is performed between the input / output device and the main storage device by an input / output operation.

そこで拡張記憶装置と入出力装置間のデータ転送を行
なう場合には、プログラムにより主記憶装置上に拡張記
憶装置の転送単位である4096バイト若しくはその整数倍
の連続領域を確保し、先ず拡張記憶装置から主記憶装置
のこの領域にデータ転送し、次に主記憶装置上から入出
力動作によつて入出力装置にデータ転送(またはその逆
の手順)することにより実現していた。
Therefore, when performing data transfer between the extended storage device and the I / O device, the program secures a continuous area of 4096 bytes, which is the transfer unit of the extended storage device, or an integral multiple thereof, on the main storage device by the program. To the main storage device, and then from the main storage device to the input / output device by an input / output operation (or vice versa).

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術では、プログラムは本来拡張記憶装置と
入出力装置間のデータ転送を行ないたいにもかかわら
ず、主記憶装置上に中継用の領域を確保し、拡張記憶装
置・主記憶装置間のデータ転送を行ない、主記憶装置・
入出力装置間のデータ転送のための入出力動作の実行と
いう手続きを踏む必要がある。これはプログラムにはわ
ずらわしい処理であり、かつまた実行時の処理オーバヘ
ツドを伴う方法である。プログラムにとつては主記憶装
置などは全く意識せずに従来の入出力動作と同等の機能
と処理手順で、拡張記憶装置と入出力装置間の直接にデ
ータ転送する手段があつてほしい。
In the above-mentioned conventional technique, a program secures a relay area on the main storage device and transfers data between the expansion storage device and the main storage device, although the program originally wants to perform data transfer between the expansion storage device and the input / output device. Transfer the data to the main storage device
It is necessary to take a procedure of executing an input / output operation for data transfer between the input / output devices. This is a process that is troublesome for a program and involves a processing overhead at the time of execution. For a program, there is a need for a means for directly transferring data between the extended storage device and the input / output device with the same functions and processing procedures as those of the conventional input / output operation without being conscious of the main storage device.

一方、この拡張記憶装置と入出力装置間の直接データ
転送を可能とするためには、入出力動作におけるデータ
の転送路であるチヤネルが拡張記憶装置に接続されてい
ることがデータ転送上最も有利であるが、これはハード
ウエアの物量を増加させ経済性の面で不利である。
On the other hand, in order to enable direct data transfer between the extended storage device and the input / output device, it is most advantageous in terms of data transfer that the channel, which is a data transfer path in the input / output operation, is connected to the extended storage device. However, this increases the amount of hardware and is economically disadvantageous.

そこで本発明の第1の目的は、プログラムからは拡張
記憶装置と入出力装置間のデータ直接転送機能が利用で
き、その一方で従来のデータ転送のためのハードウエア
機構を大きく追加・変更する必要がなく、かつ直接転送
のためのチヤネルを設けた場合に比べて性能が遜色ない
データ転送方法を提供することにある。
Therefore, a first object of the present invention is to make it possible to use a function of direct data transfer between an extended storage device and an input / output device from a program, while making it necessary to greatly add or change a conventional hardware mechanism for data transfer. It is an object of the present invention to provide a data transfer method which does not have a performance and is inferior in performance to a case where a channel for direct transfer is provided.

また、上記従来技術ではプログラムから入出力要求が
発行されるため、一般の入出力動作と同様に、転送デー
タは一たんワーク記憶装置内に格納されて(またワーク
記憶装置内に格納されているデータが)入出力装置へ転
送されていた。主記憶装置と入出力装置間の転送データ
は、主記憶装置上のデータとして命令処理装置が直後に
使用する可能性があるので、入出力動作と同時にワーク
記憶装置に格納しておく価値は高い。しかし拡張記憶装
置上のデータは主記憶装置上のものよりも一般に使用頻
度は低いので、拡張記憶装置と入出力装置間の転送デー
タをワーク記憶装置に格納することは、命令処理装置が
頻繁に使用しているワーク記憶装置上のデータを拡張記
憶装置・入出力装置間の転送データのために追い出して
しまい、命令処理装置のワーク記憶装置へのアクセス効
率が低下するという問題を引き起こしていた。
Further, in the above-described conventional technology, since an input / output request is issued from a program, the transfer data is temporarily stored in the work storage device (also stored in the work storage device), as in a general input / output operation. Data was being transferred to the I / O device). Since the data transferred between the main storage device and the input / output device may be used immediately by the instruction processing device as data on the main storage device, the value stored in the work storage device at the same time as the input / output operation is high. . However, since the data on the extended storage device is generally less frequently used than the data on the main storage device, storing the transfer data between the extended storage device and the input / output device in the work storage device is often performed by the instruction processing device. Data on the used work storage device is expelled for transfer data between the extended storage device and the input / output device, causing a problem that the efficiency of access of the instruction processing device to the work storage device is reduced.

本発明の第2の目的は、拡張記憶装置・入出力装置間
のデータ転送をワーク記憶装置から隔離することによ
り、上記のような命令処理装置からのワーク記憶装置の
使用効率低下を防止することにある。
A second object of the present invention is to isolate the data transfer between the extended storage device and the input / output device from the work storage device, thereby preventing a decrease in the use efficiency of the work storage device from the instruction processing device as described above. It is in.

〔課題を解決するための手段〕[Means for solving the problem]

上記第1の目的は、ハードウエア専用の主記憶装置で
あるハードウエアシステム領域を経由することにより達
成される。ハードウエアシステム領域はプログラムから
は参照できない仮想記憶装置外の領域であるから、ここ
にハードウエアが中継用の領域を設定してもプログラム
の実行には支障をきたさない。しかも物理的には主記憶
装置の一部であるから従来のチヤネルを通じての入出力
動作の対象内であり、かつ(実アドレスを用いれば)拡
張記憶装置・入出力装置間のデータ転送命令の対象内で
もある。そこで、本発明ではこのハードウエアシステム
領域を拡張記憶装置と入出力装置間のデータ転送の中継
領域とすることで、新しくデータ転送のためのハードウ
エアを設けることなく、データ転送が可能となる。そし
てこの領域の管理をプログラムは全く関知する必要がな
く(関知できない)、従来のように主記憶装置がデータ
転送の中継として使用されることを意識する必要がない
ので、プログラムからはあたかも拡張記憶装置と入出力
装置間を直接にデータ転送しているものとして取り扱う
ことができる。
The first object is achieved by passing through a hardware system area which is a main storage device dedicated to hardware. Since the hardware system area is an area outside the virtual storage device that cannot be referenced from the program, setting the relay area by the hardware does not hinder the execution of the program. Moreover, since it is physically a part of the main storage device, it is subject to input / output operations through the conventional channel, and is subject to a data transfer instruction between the extended storage device and the input / output device (if a real address is used). Also within. Therefore, in the present invention, this hardware system area is used as a relay area for data transfer between the extended storage device and the input / output device, thereby enabling data transfer without providing new data transfer hardware. The program does not need to be aware of the management of this area at all (cannot be recognized), and it is not necessary to be aware that the main storage device is used as a relay for data transfer as in the prior art. It can be handled as if data is directly transferred between the device and the input / output device.

第2の目的は、システム制御装置内にワーク記憶装置
とは別に拡張記憶装置・入出力装置間データ転送専用の
転送バツフアを設け、プログラムから拡張記憶装置・入
出力装置間の直接のデータ転送を指定された場合には、
この転送バツフアを中継することにより達成される。
A second object is to provide a transfer buffer dedicated to data transfer between the extended storage device and the input / output device separately from the work storage device in the system control device so that a program can directly transfer data between the extended storage device and the input / output device. If specified,
This is accomplished by relaying this transfer buffer.

〔作用〕[Action]

第1の発明は、従来の拡張記憶装置と入出力装置間の
データ転送において必要としていた主記憶装置による中
継を、ハードウエアシステム領域に置き換えてプログラ
ムの介入を不要とする方法であるから、転送時間は伸延
されることはなく、むしろプログラム介入のための時間
が短縮される。
The first invention is a method in which the relay by the main storage device, which has been required in the conventional data transfer between the extended storage device and the input / output device, is replaced with a hardware system area so that no program intervention is required. The time is not delayed, but rather the time for program intervention is reduced.

この発明では入出力動作においてデータ転送路となる
チヤネルを拡張記憶装置に接続せずに主記憶装置の一部
であるハードウエアシステム領域を中継するので、チヤ
ネル直結方式よりも転送時間が長くなることが考えられ
る。ところで、拡張記憶装置とハードウエアシステム領
域間のデータ転送には、拡張記憶装置と主記憶装置間の
データ転送に用いる高速の専用命令の機構を用いるの
で、1ページ(=4096バイト)当り所要時間は数μ秒〜
数十μ秒であり、またハードウエアシステム領域と入出
力装置間のデータ転送、並びにチヤネル直結による拡張
記憶装置と入出力装置間のデータ転送は共に既存の入出
力動作により実行されるので、所要時間は数ミリ秒〜数
十ミリ秒である。従つて、主記憶装置(またはハードウ
エアシステム領域)を経由することのデータ転送の遅れ
はチヤネル直結に比べて1/1000程度であり、実質的な差
はないとみなすことができる。
According to the present invention, in the input / output operation, the channel serving as the data transfer path is not connected to the extended storage device but is relayed through the hardware system area which is a part of the main storage device, so that the transfer time is longer than in the channel direct connection method. Can be considered. By the way, since the data transfer between the extended storage device and the hardware system area uses a high-speed dedicated instruction mechanism used for data transfer between the extended storage device and the main storage device, the required time per page (= 4096 bytes) Is a few microseconds ~
It takes several tens of microseconds, and the data transfer between the hardware system area and the I / O device, and the data transfer between the extended storage device and the I / O device by direct channel connection are both executed by the existing I / O operation. The time is several milliseconds to several tens of milliseconds. Therefore, the delay in data transfer via the main storage device (or the hardware system area) is about 1/1000 compared to the direct connection to the channel, and it can be considered that there is no substantial difference.

第2の発明では、主記憶装置を経由せずにシステム制
御装置内の転送バツフアのみを中継するため、従来方式
や第1の発明で生じた主記憶装置・拡張記憶装置間のデ
ータ転送が発生せず、高速化が可能である。
In the second invention, since only the transfer buffer in the system control device is relayed without passing through the main storage device, data transfer between the main storage device and the extended storage device caused by the conventional method and the first invention occurs. Without doing so, it is possible to increase the speed.

〔実施例〕〔Example〕

本発明の一実施例を、第1図以下により説明する。 One embodiment of the present invention will be described with reference to FIG.

第1図は本願発明による入出力装置・拡張記憶装置の
直接データ転送方法の概要を示す。
FIG. 1 shows an outline of a direct data transfer method for an input / output device / extended storage device according to the present invention.

第1図に示すように、全てのデータはシステム制御装
置(System Controllor:SC、102)を介して転送され
る。演算は命令処理装置(Instructi on Processor:I
P、101)内で実行されるため、演算に必要なデータは主
記憶装置(Main Storage:MS、105)から命令処理装置
(101)に送られて処理される。その際当該データはシ
ステム制御装置(102)内のワーク記憶装置(Work Stor
age:WS、104)に蓄えられる。その後同一データへの参
照は(ワーク記憶装置にある限り)ワーク記憶装置(10
4)から転送される。ワーク記憶装置(104)は主記憶装
置(105)より容量は小さいが高速アクセスが可能のた
め、性能向上のため必須である。このワーク記憶装置
(104)は主記憶装置(105)へのアクセス、拡張記憶装
置(Extended Storage:ES、107)へのアクセス、入出力
に伴うデータ転送の何れにおいてもデータの一時的な格
納場所となる。しかしこのワーク記憶装置(104)はあ
くまで一時的なデータ格納場所という位置付けであり、
入出力装置や主記憶装置・拡張記憶装置間のデータ転送
においては、転送の始点・終点は当該の入出力装置(In
put/Output Device、111〜113)、および主記憶装置(1
05)・拡張記憶装置(107)である。この既存の転送機
構を変更せずに入出力装置(111〜113)、拡張記憶装置
(107)間の(見掛け上の)直接データ転送を実現する
には、やはり主記憶装置(105)上に転送の中継領域を
設定する必要がある。
As shown in FIG. 1, all data is transferred via a system controller (SC, 102). The operation is performed by an instruction processor (I).
P, 101), the data necessary for the operation is sent from the main storage device (Main Storage: MS, 105) to the instruction processing device (101) for processing. At that time, the data is stored in a work storage device (Work Stor) in the system controller (102).
age: WS, 104). Thereafter, a reference to the same data is stored in the work storage device (10
4) transferred from. The work storage device (104) has a smaller capacity than the main storage device (105) but is capable of high-speed access, and is essential for improving performance. The work storage device (104) is a temporary storage location for data in any of access to the main storage device (105), access to the extended storage device (Extended Storage: ES, 107), and data transfer accompanying input / output. Becomes However, this work storage device (104) is only a temporary data storage location,
In data transfer between an input / output device and a main storage device / expansion storage device, the start and end points of the transfer are determined by the input / output device (In).
put / Output Device, 111 to 113) and main storage (1
05)-It is an extended storage device (107). To realize (apparent) direct data transfer between the input / output devices (111 to 113) and the extended storage device (107) without changing the existing transfer mechanism, the data must be stored in the main storage device (105). It is necessary to set the transfer relay area.

第2図は従来方式による入出力装置・拡張記憶装置間
のデータ転送方法の概要を示す。
FIG. 2 shows an outline of a data transfer method between an input / output device and an extended storage device according to a conventional method.

図に示すように、従来の入出力装置(211〜213)・拡
張記憶装置(207)間のデータ転送では、プログラムが
主記憶装置(205)上に中継用の領域(231)を確保し、
先ず入出力装置(211〜213)からこの領域(231)へ既
存の入出力動作によりデータ転送を行ない、次に主記憶
装置(205)・拡張記憶装置(207)間のデータ転送命令
を用いて拡張記憶装置(207)に転送することを、プロ
グラムの指示により行なつていた。この主記憶装置・拡
張記憶装置間のデータ転送命令が発行されると、システ
ム制御装置(202)中のMS−ESデータ転送装置(203)が
動作して転送を実行する。
As shown in the figure, in data transfer between the conventional input / output devices (211 to 213) and the extended storage device (207), the program secures a relay area (231) on the main storage device (205),
First, data is transferred from the input / output devices (211 to 213) to the area (231) by the existing input / output operation, and then, by using a data transfer instruction between the main storage device (205) and the extended storage device (207). The transfer to the extended storage device (207) has been performed according to a program instruction. When the data transfer instruction between the main storage device and the extended storage device is issued, the MS-ES data transfer device (203) in the system control device (202) operates to execute the transfer.

第1図に示すように、第1の発明ではこの既存のデー
タ転送機構に新たなハードウエア機構を追加することな
く、プログラムの介入を必要としていた主記憶装置のデ
ータ中継の手順を不要とするために、中継領域(131,13
2)をハードウエアシステム領域(Hardware System Are
s:HSA、106)に移行し、中継手順を自動化することを考
える。
As shown in FIG. 1, the first invention does not add a new hardware mechanism to the existing data transfer mechanism, and eliminates the data relay procedure of the main storage device that required the intervention of a program. For the relay area (131,13
2) Change the Hardware System Are
s: HSA, 106) and consider automating the relay procedure.

そのために先ずプログラムが入出力装置(111〜113)
から拡張記憶装置(107)へ直接入出力を指示する手段
が必要である。第4図は既存の入出力におけるチヤネル
コンマド語の形式を示す。図に示すように、主記憶装置
(105)と入出力装置(111〜113)間で実行される既存
の入出力動作では、プログラムは入出力実行を指示する
ためのチヤネルコマンド語(Channel Command Word:CC
W)を作成し、これを指定して入出力実行命令を発行す
ると入出力装置(Input/Output Processor:IOP、108)
がこれを実行することにより実現されている。この場
合、アドレスフイールド(404)には主記憶装置上で当
該データの格納領域の実アドレスを指定する。
For that purpose, first, the program must be an input / output device (111-113).
A means for directly instructing input / output from / to the extended storage device (107) is required. FIG. 4 shows the format of Channel Commad in existing input / output. As shown in the figure, in an existing input / output operation executed between the main storage device (105) and the input / output devices (111 to 113), a program uses a channel command word (Channel Command Word) for instructing input / output execution. : CC
W) is created, and an I / O execution instruction is issued by specifying this, and an I / O device (Input / Output Processor: IOP, 108)
Is realized by executing this. In this case, the real address of the data storage area on the main storage device is specified in the address field (404).

第5図は本発明における入出力装置・拡張記憶装置間
の直接データ転送方法のためのチヤネルコマンド語の形
式を示す。
FIG. 5 shows the format of a channel command word for a direct data transfer method between an input / output device and an extended storage device according to the present invention.

図に示すように、拡張記憶装置(107)と入出力装置
(111〜113)間の入出力動作を実現するには、既存入出
力と同形式のチヤネルコマンド語(ただしコマンドコー
ド(501)は異なる)を指定して入出力実行命令を発行
することにより実現できる。この際、アドレスフイール
ド(504)の値は拡張記憶装置(107)中のデータ格納領
域(141)のアドレスを指定する。
As shown in the figure, in order to realize an input / output operation between the extended storage device (107) and the input / output devices (111 to 113), a channel command word having the same format as the existing input / output (however, the command code (501) is Is different) and an input / output execution instruction is issued. At this time, the value of the address field (504) specifies the address of the data storage area (141) in the extended storage device (107).

ハードウエアシステム領域(106)内の中継領域(13
1,132)は、ハードウエアシステム領域(106)の初期化
するためのIMPL(Initial Micro−Program Load)実行
時に、同時に設定する。そして1面当り4096バイトと
し、各チヤネル毎に中継領域0(131)と中継領域1(1
32)の2面を設定する。
The relay area (13) in the hardware system area (106)
1, 132) are set at the same time as the execution of an IMPL (Initial Micro-Program Load) for initializing the hardware system area (106). Then, 4096 bytes are set for one side, and the relay area 0 (131) and the relay area 1 (1
32) Set the two surfaces.

第6図は本発明における入出力処理装置の処理方法を
示す。
FIG. 6 shows a processing method of the input / output processing device according to the present invention.

図に示すように、入出力処理装置(108)が拡張記憶
装置(107)と入出力装置(111〜113)間の直接転送コ
マンドの実行を指示された場合(600)は、もし転送長
が4096バイトより長ければこれを4096バイトのブロツク
に区切り(601)、第1ブロツク(121)を入出力装置
(110〜112)と使用するチヤネルに対応する中継領域0
(131)間で、既存の入出力動作により転送を行なう(6
02)。
As shown in the figure, when the input / output processing device (108) is instructed to execute a direct transfer command between the extended storage device (107) and the input / output device (111 to 113) (600), if the transfer length is If it is longer than 4096 bytes, it is divided into blocks of 4096 bytes (601), and the first block (121) is used as a relay area 0 corresponding to the channel used with the input / output devices (110 to 112).
Transfer between (131) and existing I / O operations (6
02).

次に入出力完了または4096バイトの転送完了時(61
0)には、その旨をシステム制御装置(102)に連絡する
(611)と同時に、まだ残りの転送データがあり(612)
かつ他方の中継領域1が使用可能な場合(613)は、2
番目のブロツク(122)を切りだして(614)中継領域1
(132)を用いてこれのデータ転送を開始する(615)。
もし残りの転送データがあり(612)かつ他方の中継領
域1が使用不可能ならば(613)、後続のデータ転送を
待たせる。以降、同様にして後続の残りの転送データが
無くなるまで、中継領域0,1を切り替えながらデータ転
送を継続する。
Next, when the I / O is completed or the transfer of 4096 bytes is completed (61
In (0), this is notified to the system controller (102) (611), and at the same time, there is still remaining transfer data (612).
If the other relay area 1 is available (613), 2
Cut out the first block (122) (614), relay area 1
The data transfer is started using (132) (615).
If there is remaining transfer data (612) and the other relay area 1 cannot be used (613), the subsequent data transfer is made to wait. Thereafter, data transfer is continued while switching the relay areas 0 and 1 until there is no remaining remaining transfer data.

一方、連絡を受けたシステム制御装置(102)は、直
ちに既存のMS−ES間データ転送装置(103)を起動して
中継領域0(131)から拡張記憶装置(107)へのデータ
転送を実行する。この場合、MS−ES間データ転送装置の
データ転送速度は入出力動作におけるデータ転送速度よ
りも速いので、同じ4096バイトならば、中継領域・拡張
記憶装置間のデータ転送の方が中継領域・入出力装置間
のデータ転送よりも先に終了する。従つて、第1,第2の
ブロツクが共に4096バイトならば、並列して実行される
第2ブロツク(122)の入出力装置(111〜113)・中継
領域1(132)間のデータ転送と第1ブロツク(121)の
中継領域0(131)・拡張記憶装置(141)間のデータ転
送とでは、後者が先に完了する。すなわち入出力処理装
置(108)が第2ブロツク(122)の入出力装置(111〜1
13)・中継領域1(132)間のデータ転送を完了した時
点で、中継領域0(131)とMS−ES間データ転送装置(1
03)は使用可能である。最終ブロツクについては、一般
に4096バイトよりも短いので、入出力処理装置(108)
がデータ転送を完了した時点で必ずしもMS−ES間データ
転送装置(103)はデータ転送を完了していない場合が
あり、この場合に限り中継領域(131or132)とMS−ES間
データ転送装置(103)が使用可能になるまで待たされ
る(616)。
On the other hand, the system control device (102) that has been notified immediately starts the existing MS-ES data transfer device (103) and executes data transfer from the relay area 0 (131) to the extended storage device (107). I do. In this case, since the data transfer speed of the MS-ES data transfer device is faster than the data transfer speed in the input / output operation, if the same 4096 bytes, the data transfer between the relay area and the extended storage device is performed in the relay area / input device. The process ends before data transfer between output devices. Therefore, if both the first and second blocks are 4096 bytes, data transfer between the input / output device (111-113) and the relay area 1 (132) of the second block (122) executed in parallel In the data transfer between the relay area 0 (131) and the extended storage device (141) of the first block (121), the latter is completed first. That is, the input / output processing device (108) is connected to the input / output device (111-1) of the second block (122).
13) When the data transfer between the relay area 1 (132) is completed, the relay area 0 (131) and the MS-ES data transfer device (1
03) is available. Since the last block is generally shorter than 4096 bytes, the I / O processor (108)
When the data transfer is completed, the MS-ES data transfer device (103) may not necessarily complete the data transfer. Only in this case, the relay area (131 or 132) and the MS-ES data transfer device (103) ) Is made available (616).

上記の処理において新たに必要となる機能は、何れも
以下に述べるように、既存のハードウエアを変更・追加
することなく実現することができる。システム制御装置
(102)への連絡は、既存の入出力動作においても入出
力完了を命令処理装置(101)へ連絡するための信号が
システム制御装置(102)を経由しているのでこれをそ
のまま使用できる。またハードウエアシステム領域(10
6)・拡張記憶装置(107)間のデータ転送の完了の連絡
も、既存の主記憶装置(105)・拡張記憶装置(107)間
のデータ転送命令において命令実行の完了を命令処理装
置(101)に連絡する信号がそのまま使用できる。従つ
て、この入出力装置(111〜113)・拡張記憶装置(10
7)間のデータ転送を実現するためには、以下の項目が
実現できれば良い。
Any functions newly required in the above processing can be realized without changing or adding existing hardware, as described below. In the communication to the system controller (102), the signal for communicating the completion of the input / output to the instruction processing device (101) has passed through the system controller (102) even in the existing input / output operation. Can be used. The hardware system area (10
6) The completion of the data transfer between the extended storage device (107) is also notified, and the completion of the instruction execution in the data transfer instruction between the existing main storage device (105) and the extended storage device (107) is determined by the instruction processing device (101). ) Can be used as is. Therefore, the input / output device (111 to 113) and the extended storage device (10
In order to realize data transfer between 7), the following items should be realized.

(1)ハードウエアシステム領域(106)内にデータ転
送を中継するための領域(131〜132)を各チヤネル毎に
2面ずつ設定する。
(1) In the hardware system area (106), two areas (131 to 132) for relaying data transfer are set for each channel.

(2)第5図に示すようなプログラムから直接に拡張記
憶装置(107)・入出力装置(111〜113)間のデータ転
送を指示するためのチヤネルコマント語を提供する。
(2) A channel command language for directly instructing data transfer between the extended storage device (107) and the input / output device (111 to 113) is provided from a program as shown in FIG.

(3)拡張記憶装置(107)・入出力装置(111〜113)
間のデータ転送要求を4096バイト毎のブロツクに区切
り、それらを順次ハードウエアシステム領域(106)内
の中継領域(131〜132)と入出力装置(111〜113)間で
データ転送する。その際、2面の中継領域(131〜132)
を切り替えて使用する。
(3) Expansion storage device (107) / input / output device (111-113)
The data transfer requests between them are divided into blocks of every 4096 bytes, and these are sequentially transferred between the relay area (131-132) in the hardware system area (106) and the input / output device (111-113). At that time, two relay areas (131-132)
Switch to use.

(4)ブロツクのデータ転送の完了をシステム制御装置
(102)に連絡する。
(4) The completion of the block data transfer is notified to the system controller (102).

(5)システム制御装置(102)は中継領域(131〜13
2)と拡張記憶装置(141)間のデータ転送を行なう。
(5) The system control device (102) is connected to the relay area (131 to 13).
Data transfer between 2) and the extended storage device (141) is performed.

このうち(1)は、IMPL時にロードするマイクロプロ
グラムを変更することにより実現できる。
Of these, (1) can be realized by changing the microprogram loaded at the time of IMPL.

また(2),(3)は、入出力処理装置(108)のマ
イクロプログラムを変更することにより実現できる。
Further, (2) and (3) can be realized by changing the microprogram of the input / output processing device (108).

(4)は、既存の入出力動作においても入出力完了を
命令処理装置(101)に連絡する信号がシステム制御装
置(102)を経由しているので、これをそのまま使用で
きる。
In the case of (4), even in the existing input / output operation, the signal for notifying the completion of the input / output to the instruction processing device (101) is passed through the system control device (102), and therefore can be used as it is.

(5)は、既存のMS−ES間データ転送装置(103)を
使用できる。
(5) can use the existing MS-ES data transfer device (103).

第3図は本願発明による入出力装置・拡張記憶装置の
直接データ転送方法の他の一例の概要を示す。
FIG. 3 shows an outline of another example of the direct data transfer method of the input / output device / extended storage device according to the present invention.

図に示すように、この方法では、システム制御装置
(302)内にワーク記憶装置(304)とは別に拡張記憶装
置(307)と入出力装置(311〜313)間のデータ転送専
用の転送バツフア(331,332)を設け、拡張記憶装置(3
07)と入出力装置(311〜313)間の直接データ転送では
この転送バツフア(331,332)を中継する。転送バツフ
ア(331,332)の形式、使用方法は、第1の発明におい
てハードウエアシステム領域内に設定した中継領域(13
1〜132)と同様である。これを実現するためにはシステ
ム制御装置(302)のハードウエアを追加・変更する必
要がある。
As shown in the figure, in this method, a transfer buffer dedicated to data transfer between an expansion storage device (307) and an input / output device (311 to 313) separately from a work storage device (304) in a system control device (302). (331, 332) and extended storage (3
07) and the input / output devices (311 to 313), the transfer buffer (331, 332) is relayed. The format and usage of the transfer buffer (331, 332) are determined by the relay area (13) set in the hardware system area in the first invention.
1 to 132). In order to realize this, it is necessary to add or change the hardware of the system control device (302).

〔発明の効果〕 第1の発明により、既存の入出力装置・主記憶装置間
のデータ転送のための入出力動作と、主記憶装置・拡張
記憶装置間のデータ転送のための機構以外のハードウエ
アを追加・変更することなく、プログラムから見て拡張
記憶装置・入出力装置間の直接データ転送機能を実現で
きる。その際ハードウエアシステム領域中に必要となる
中継領域は多くても320Kバイト程度であり、かつデータ
転送時間は拡張記憶装置にチヤネルを直結する方式に比
べて、無視できる程度しか増加しない。
[Effects of the Invention] According to the first invention, an input / output operation for data transfer between an existing input / output device and a main storage device, and hardware other than a mechanism for data transfer between a main storage device and an extended storage device A direct data transfer function between the extended storage device and the input / output device can be realized from the viewpoint of the program without adding or changing hardware. At that time, the required relay area in the hardware system area is at most about 320 Kbytes, and the data transfer time is increased to a negligible extent as compared with the method in which the channel is directly connected to the extended storage device.

第2の発明により、拡張記憶装置・入出力装置間の転
送データをワーク記憶装置に格納しないため、命令処理
装置が使用しているワーク記憶装置上のデータが拡張記
憶装置・入出力装置間の転送データのために追い出され
て、命令処理装置のワーク記憶装置へのアクセス効率が
低下することを防止できる。
According to the second aspect, since the transfer data between the extended storage device and the input / output device is not stored in the work storage device, the data on the work storage device used by the instruction processing device is not stored between the extended storage device and the input / output device. It is possible to prevent the instruction processing device from being expelled due to the transfer data and from lowering the access efficiency to the work storage device.

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

第1図は本願発明による入出力装置・拡張記憶装置の直
接データ転送方法の概要を示す。 第2図は従来方式による入出力装置・拡張記憶装置間の
データ転送方法の概要を示す。 第3図は本願発明による入出力装置・拡張記憶装置間の
直接データ転送方法の他の一例の概要を示す。 第4図は既存の入出力におけるチヤネルコマンド語の形
式を示す。 第5図は本発明における入出力装置・拡張記憶装置間の
直接データ転送方法のためのチヤネルコマンド語の形式
を示す。 第6図は本発明における入出力処理装置の処理方法を示
す。
FIG. 1 shows an outline of a direct data transfer method for an input / output device / extended storage device according to the present invention. FIG. 2 shows an outline of a data transfer method between an input / output device and an extended storage device according to a conventional method. FIG. 3 shows an outline of another example of the direct data transfer method between the input / output device and the extended storage device according to the present invention. FIG. 4 shows the format of a channel command word in the existing input / output. FIG. 5 shows the format of a channel command word for a direct data transfer method between an input / output device and an extended storage device according to the present invention. FIG. 6 shows a processing method of the input / output processing device according to the present invention.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】命令処理装置と、 プログラムからは参照することができずハードウエアが
参照するハードウエアシステム領域を有し、 命令処理装置が直接にアクセスして、その上で演算可能
な主記憶装置と、 大量のデータを同期的に高速に格納と取り出し可能な拡
張記憶装置と、 大量のデータを入出力動作によつて非同期に書き込み・
読み出し可能な入出力装置と、 命令処理装置と主記憶装置の中間に位置して主記憶装置
のキヤツシユメモリの働きをするワーク記憶を有して、
主記憶装置、拡張記憶装置、入出力装置間のデータ転送
を制御するシステム制御装置と、 入出力動作を専用に制御する入出力処理装置からなる計
算機システムにおいて、 入出力装置から拡張記憶装置へ転送すべきデータを一た
ん入出力装置からハードウエアシステム領域に既存の入
出力動作によつて転送し、次に該データをハードウエア
システム領域から拡張記憶装置へ、主記憶装置・拡張記
憶装置間データ転送命令によりデータ転送し、 拡張記憶装置から入出力装置へ転送すべきデータを、拡
張記憶装置からハードウエアシステム領域を経由して入
出力装置へ転送することを特徴とするデータ転送方法。
An instruction processing device and a main memory which has a hardware system area which cannot be referenced from a program but is referred to by hardware, and which can be directly accessed by the instruction processing device and operated thereon Device, an extended storage device capable of storing and retrieving a large amount of data synchronously and at high speed, and asynchronously writing and writing a large amount of data by input / output operations.
A readable / output I / O device, and a work storage located between the instruction processing device and the main storage device and serving as a cache memory of the main storage device.
In a computer system consisting of a system control device that controls data transfer between the main storage device, extended storage device, and I / O device, and an I / O processing device that exclusively controls I / O operations, transfer from the I / O device to the extended storage device The data to be transferred is transferred from the input / output device to the hardware system area by the existing input / output operation, and then the data is transferred from the hardware system area to the extended storage device. A data transfer method, wherein data is transferred by a transfer command, and data to be transferred from the extended storage device to the input / output device is transferred from the extended storage device to the input / output device via the hardware system area.
【請求項2】システム制御装置内に入出力装置と拡張記
憶装置間のデータ転送のための転送バツフアを設け、入
出力装置と拡張記憶装置間の転送データをワーク記憶装
置にも主記憶装置にも格納せず、この転送バツフアを中
継して行うことを特徴とする特許請求の範囲第1項記載
のデータ転送方法。
2. A transfer buffer for transferring data between an input / output device and an extended storage device is provided in a system controller, and transfer data between the input / output device and the extended storage device is transferred to a work storage device and a main storage device. 2. The data transfer method according to claim 1, wherein the transfer is performed by relaying the transfer buffer without storing the data.
JP27625188A 1988-11-02 1988-11-02 Data transfer method Expired - Lifetime JP2644857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27625188A JP2644857B2 (en) 1988-11-02 1988-11-02 Data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27625188A JP2644857B2 (en) 1988-11-02 1988-11-02 Data transfer method

Publications (2)

Publication Number Publication Date
JPH02123446A JPH02123446A (en) 1990-05-10
JP2644857B2 true JP2644857B2 (en) 1997-08-25

Family

ID=17566816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27625188A Expired - Lifetime JP2644857B2 (en) 1988-11-02 1988-11-02 Data transfer method

Country Status (1)

Country Link
JP (1) JP2644857B2 (en)

Also Published As

Publication number Publication date
JPH02123446A (en) 1990-05-10

Similar Documents

Publication Publication Date Title
US6240486B1 (en) System and method for on-line, real time, data migration
EP0848321B1 (en) Method of data migration
JPH05257866A (en) Device and method for dynamically chaining direct memory access operation that should be performed to input/output device
JP3266470B2 (en) Data processing system with per-request write-through cache in forced order
JP2644857B2 (en) Data transfer method
JP3517417B2 (en) Data transfer device
US20020083150A1 (en) Accessing information from memory
JPH07121308A (en) Write back control method for disk device
KR100372886B1 (en) Real time scheduling method by standby process
JPH05173933A (en) Direct memory access transfer system
KR910000590B1 (en) Mirror disk ram system of computer
JPS6218074B2 (en)
JPH03154139A (en) Cache memory
JPH04338852A (en) File transfer program with interruption restart mechanism
KR950009572B1 (en) High-speed on-line back-up method in high-speed medium computer
JPS5836373B2 (en) Access time variable device
JPH04347756A (en) Channel state read system
JPH0646391B2 (en) Data transfer device
JPS6212555B2 (en)
JPH0380339A (en) Information processor having input/output device simulating function
JPS6394339A (en) Virtual calculation system
JPH039431A (en) Interruption processing system
JPS63226757A (en) Data transfer system for information processing system
JPH0432944A (en) Magnetic disk control system
JPS6131899B2 (en)