JPH096704A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH096704A
JPH096704A JP7175508A JP17550895A JPH096704A JP H096704 A JPH096704 A JP H096704A JP 7175508 A JP7175508 A JP 7175508A JP 17550895 A JP17550895 A JP 17550895A JP H096704 A JPH096704 A JP H096704A
Authority
JP
Japan
Prior art keywords
data
memory
read
channel control
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7175508A
Other languages
Japanese (ja)
Other versions
JP2720838B2 (en
Inventor
Sadanori Yamamoto
禎則 山本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP7175508A priority Critical patent/JP2720838B2/en
Publication of JPH096704A publication Critical patent/JPH096704A/en
Application granted granted Critical
Publication of JP2720838B2 publication Critical patent/JP2720838B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To reduce the cycle of invalid transfer between a main storage device and a data buffer inside a bus connector. CONSTITUTION: An I/O buffer table 33 stores the number of memory read data of respective channel controllers 41-43. Based on the response of a memory read data number reading instruction, a central processing unit(CPU) 10 stores the number of memory read data in the I/O buffer table 33. Corresponding to a memory data read instruction on input/output devices 51-53 issued from the CPU 10, a channel control circuit 411 issues a memory data read request to a bus connector 30. An I/O buffer control part 31 acquires the number of memory read data of channel controllers 41-43 at the issue source of memory data read request and performs the allocation of an I/O buffer part 32 and control of look-ahead of data of a main storage device 20 based on that numerical value.

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 device in an information processing system, and more particularly to a data transfer device provided with a data buffer for prefetching data read by an input / output device from a main storage device.

【0002】[0002]

【従来の技術】従来より、この種のデータ転送装置は、
入出力装置が主記憶装置からデータをリードする際に、
主記憶装置のデータを先読みすることにより、主記憶装
置と入出力装置との間のデータ転送性能の向上を図って
きた。
2. Description of the Related Art Conventionally, this type of data transfer device has been
When the I / O device reads data from the main memory,
By prefetching the data in the main storage device, the data transfer performance between the main storage device and the input / output device has been improved.

【0003】また、現在のデータ転送装置では、中央処
理装置および主記憶装置を接続しているシステムバス
と、複数のチャネル制御装置(配下に1以上の入出力装
置を有するチャネル制御装置)を接続しているI/O
(Input/Output)バスとの間に、相互のバ
スを接続するバス接続装置が設けられている場合が多
い。これは、中央処理装置,主記憶装置およびチャネル
制御装置が複数存在するような大規模なシステム(当該
データ転送装置に係るシステム。以下同様な意味で「シ
ステム」という用語を用いる)においては、チャネル制
御装置が中央処理装置および主記憶装置と1対1接続と
なる構成を有しているのでは、システム性能が低下する
からである。
Further, in the present data transfer apparatus, a system bus connecting the central processing unit and the main memory unit and a plurality of channel control units (channel control units having one or more input / output units under the control) are connected. I / O
In many cases, a bus connection device for connecting the buses to each other is provided between the (Input / Output) bus. This is a channel in a large-scale system (a system related to the data transfer device; hereinafter, the term "system" is used in a similar sense) having a plurality of central processing units, main storage devices, and channel control devices. This is because the system performance deteriorates if the control device has a one-to-one connection with the central processing unit and the main storage device.

【0004】本発明は、上述のような「データの先読
み」が行われ、上述のようなバス接続装置が設けられて
いるデータ転送装置を対象としている。
The present invention is directed to a data transfer device in which "prefetching of data" as described above is performed and which is provided with the bus connection device as described above.

【0005】従来、この種のデータ転送装置では、先読
みの対象となるデータ数は、どのデータ入出力装置が主
記憶装置のデータをリードするかにかかわらず、システ
ム固有の一定数となっていた。
Conventionally, in this type of data transfer device, the number of data to be prefetched is a constant number peculiar to the system regardless of which data input / output device reads the data in the main storage device. .

【0006】すなわち、従来のデータ転送装置では、主
記憶装置のデータをリードする主体である入出力装置
(以下、リード主体入出力装置という)を配下に持つチ
ャネル制御装置からのメモリデータリード要求に応じ
て、バス接続装置内のデータバッファに当該一定数分の
データの先読みが行われていた。
That is, in the conventional data transfer device, a memory data read request is issued from a channel controller having an input / output device (hereinafter referred to as a read main input / output device) which is a main body for reading data in the main storage device. Accordingly, the data buffer in the bus connection device is prefetched for the predetermined number of data.

【0007】[0007]

【発明が解決しようとする課題】上述した従来のデータ
転送装置では、どのデータ入出力装置がリード主体入出
力装置であるかにかかわらず先読みの対象となるデータ
数がシステム固有の一定数となっているので、チャネル
制御装置からのメモリデータリード要求に対してバス接
続装置は主記憶装置から当該一定数分のデータを先読み
するしかなかった。すなわち、リード主体入出力装置の
性能(メモリリードデータ数。入出力装置が主記憶装置
からデータをリードする際に連続してリードできるデー
タ数)がバス接続装置によるデータの先読みで考慮され
ることはなかった。
In the above-mentioned conventional data transfer device, the number of data to be prefetched becomes a constant number unique to the system regardless of which data input / output device is the read main input / output device. Therefore, in response to a memory data read request from the channel control device, the bus connection device has no choice but to pre-read the fixed amount of data from the main storage device. That is, the performance of the read main input / output device (the number of memory read data; the number of data that can be continuously read when the input / output device reads data from the main storage device) is considered in the prefetch of data by the bus connection device. There was no.

【0008】ここで、通常、当該一定数(システム固有
の先読みデータ数)は当該データ転送装置に係るシステ
ムに存在する複数の入出力装置のメモリリードデータ数
の中で最大のものに合わせて設定される。
Here, the fixed number (the number of pre-read data unique to the system) is usually set in accordance with the maximum number of memory read data of a plurality of input / output devices existing in the system related to the data transfer device. To be done.

【0009】したがって、チャネル制御装置(リード主
体入出力装置を配下に持つチャネル制御装置)がデータ
バッファ内に先読みされたデータの数より少ないデータ
数を主記憶装置からリードする場合(リード主体入出力
装置のメモリリードデータ数が当該一定数よりも少ない
場合)には、主記憶装置とバス接続装置内のデータバッ
ファとの間に無効な転送サイクル(無駄なデータ転送を
包含する転送サイクル)が発生するという問題点があっ
た。
Therefore, when the channel control device (the channel control device having a read main input / output device under it) reads from the main storage device a smaller number of data than the number of prefetched data in the data buffer (read main input / output) When the number of memory read data of the device is smaller than the certain number), an invalid transfer cycle (transfer cycle including useless data transfer) occurs between the main memory device and the data buffer in the bus connection device. There was a problem to do.

【0010】本発明の目的は、上述の点に鑑み、先読み
すべきデータ数をチャネル制御装置毎に個別に判断して
主記憶装置からバス接続装置内のデータバッファ(I/
Oバッファ部)へのデータ転送の制御を行うことによ
り、主記憶装置とバス接続装置内のデータバッファとの
間の無効な転送サイクルを削減することができ、システ
ム性能を向上させることができるデータ転送装置を提供
することにある。
In view of the above points, an object of the present invention is to individually judge the number of data to be preread for each channel control device, and to determine the data buffer (I / I) in the bus connection device from the main storage device.
By controlling the data transfer to the O buffer unit), it is possible to reduce an invalid transfer cycle between the main storage device and the data buffer in the bus connection device, and to improve the system performance. To provide a transfer device.

【0011】なお、データ転送装置における先読みの制
御に関する技術としては、特開平5−151138号公
報(データ転送装置)に係る技術が開示されている。し
かし、この従来技術は、バス接続装置が存在しない構成
のデータ転送装置における先読みの制御に関する技術で
あり、本願発明とはその構成を異にしている。また、本
願発明は、具体的な数値である「メモリリードデータ
数」に基づく先読みの制御を行っている点でも、当該公
報に係る技術と相違している(当該公報に係る技術で
は、先読みの制御の基準となる情報として「データ転送
性能」という漠然とした情報が用いられている)。
As a technique for controlling prefetching in the data transfer device, a technique disclosed in Japanese Patent Application Laid-Open No. 5-151138 (data transfer device) is disclosed. However, this conventional technique is a technique relating to the prefetch control in a data transfer device having a configuration in which a bus connection device does not exist, and its configuration is different from that of the present invention. The invention of the present application is also different from the technique according to the publication in that the read-ahead control is performed based on the “number of memory read data”, which is a specific numerical value. The vague information called "data transfer performance" is used as the information that serves as a reference for control).

【0012】[0012]

【課題を解決するための手段】本発明のデータ転送装置
は、複数の入出力装置と、前記入出力装置を配下に持つ
複数のチャネル制御装置と、中央処理装置と、主記憶装
置と、前記チャネル制御装置を接続しているI/Oバス
と前記中央処理装置および前記主記憶装置を接続してい
るシステムバスとを接続し前記主記憶装置と前記チャネ
ル制御装置との間のデータ転送を制御するバス接続装置
とを備えるデータ転送装置において、複数の前記チャネ
ル制御装置の各々のメモリリードデータ数を格納する前
記バス接続装置内のI/Oバッファテーブルと、前記I
/Oバッファテーブルの設定時にメモリリードデータ数
読込み命令を発行してその応答に基づいて前記I/Oバ
ッファテーブルにメモリリードデータ数を格納し、前記
入出力装置による前記主記憶装置内のデータのリード時
にメモリデータリード命令を発行する前記中央処理装置
と、前記中央処理装置から発行されるメモリリードデー
タ数読込み命令に対して自装置のメモリリードデータ数
を示す応答を通知し、前記中央処理装置から発行される
自装置の配下の入出力装置に関するメモリデータリード
命令に応じて前記バス接続装置にメモリデータリード要
求を発行する前記チャネル制御装置内のチャネル制御回
路と、当該メモリデータリード要求の発行元の前記チャ
ネル制御回路を有する前記チャネル制御装置のメモリリ
ードデータ数を前記I/Oバッファテーブルから取得
し、そのメモリリードデータ数の大きさのI/Oバッフ
ァ部を割り当て、当該I/Oバッファ部に前記主記憶装
置のデータを先読みし、当該I/Oバッファ部内のデー
タをI/Oバス上に出力する前記バス接続装置内のI/
Oバッファ制御部と、前記I/Oバッファ制御部によっ
てI/Oバス上に出力されたデータを入力してリード主
体入出力装置に送出する前記チャネル制御装置内のデー
タ制御回路とを有する。
A data transfer apparatus according to the present invention comprises a plurality of input / output devices, a plurality of channel control devices having the input / output devices under its control, a central processing unit, a main storage device, and An I / O bus connecting a channel controller and a system bus connecting the central processing unit and the main memory are connected to control data transfer between the main memory and the channel controller. And a bus connection device for controlling the I / O buffer table in the bus connection device for storing the number of memory read data of each of the plurality of channel control devices.
When the I / O buffer table is set, a memory read data number read command is issued, and based on the response, the memory read data number is stored in the I / O buffer table, and the I / O device stores the data in the main memory device. The central processing unit that issues a memory data read command at the time of reading, and sends a response indicating the number of memory read data of its own device to the memory read data number read command issued from the central processing unit, and the central processing unit A channel control circuit in the channel control device that issues a memory data read request to the bus connection device in response to a memory data read command related to an input / output device under its own device issued by The number of memory read data of the channel control device having the original channel control circuit is set in advance. It is acquired from the I / O buffer table, an I / O buffer unit having the size of the memory read data number is allocated, the data of the main storage device is prefetched to the I / O buffer unit, and the data in the I / O buffer unit is read. I / O in the bus connection device for outputting data on the I / O bus
An O buffer control unit and a data control circuit in the channel control device for inputting the data output on the I / O bus by the I / O buffer control unit and sending it to the read main input / output device.

【0013】[0013]

【作用】本発明のデータ転送装置では、バス接続装置内
のI/Oバッファテーブルが複数のチャネル制御装置の
各々のメモリリードデータ数を格納し、中央処理装置が
以下のAおよびAの処理を行い、チャネル制御装置
内のチャネル制御回路が以下のBおよびBの処理を
行い、バス接続装置内のI/Oバッファ制御部が以下の
C〜Cの処理を行い、チャネル制御装置内のデータ
制御回路がI/Oバッファ制御部によってI/Oバス上
に出力されたデータを入力してリード主体入出力装置に
送出する。 A I/Oバッファテーブルの設定時に、メモリリー
ドデータ数読込み命令を発行してその応答に基づいてI
/Oバッファテーブルにメモリリードデータ数を格納す
る。 A 入出力装置による主記憶装置内のデータのリード
時に、メモリデータリード命令を発行する。 B 中央処理装置から発行されるメモリリードデータ
数読込み命令に対して、自装置のメモリリードデータ数
を示す応答を通知する。 B 中央処理装置から発行される自装置の配下の入出
力装置に関するメモリデータリード命令に応じて、バス
接続装置にメモリデータリード要求を発行する。 C 当該メモリデータリード要求の発行元のチャネル
制御回路を有するチャネル制御装置のメモリリードデー
タ数を、I/Oバッファテーブルから取得する。 C そのメモリリードデータ数の大きさのI/Oバッ
ファ部を割り当てる。 C 当該I/Oバッファ部に主記憶装置のデータを先
読みする。 C 当該I/Oバッファ部内のデータをI/Oバス上
に出力する。
In the data transfer device of the present invention, the I / O buffer table in the bus connection device stores the number of memory read data of each of the plurality of channel control devices, and the central processing unit performs the following processes A and A. Then, the channel control circuit in the channel control device performs the following processes B and B, the I / O buffer control unit in the bus connection device performs the following processes C to C, and controls the data in the channel control device. The circuit inputs the data output on the I / O bus by the I / O buffer control unit and sends it to the read main input / output device. At the time of setting the I / O buffer table, the memory read data number read command is issued and I
Store the number of memory read data in the / O buffer table. A A memory data read command is issued when the I / O device reads data in the main memory. B In response to a memory read data number read command issued from the central processing unit, a response indicating the number of memory read data of its own device is notified. B A memory data read request is issued to the bus connecting device in response to a memory data read command issued by the central processing unit for the input / output device under its own device. C The number of memory read data of the channel control device having the channel control circuit that issued the memory data read request is acquired from the I / O buffer table. C Allocate an I / O buffer unit having the size of the memory read data number. C The data in the main storage device is prefetched to the I / O buffer unit. C Outputs the data in the I / O buffer section to the I / O bus.

【0014】[0014]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0015】図1は、本発明のデータ転送装置の一実施
例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the data transfer apparatus of the present invention.

【0016】本実施例のデータ転送装置は、中央処理装
置10と、主記憶装置20と、バス接続装置30と、複
数(ここでは、3)のチャネル制御装置41〜43と、
各チャネル制御装置41〜43の配下にそれぞれ1以上
(ここでは、3)接続されている入出力装置51〜59
と、システムバス100と、I/Oバス200とを含ん
で構成されている。なお、複数のチャネル制御装置およ
び複数の入出力装置の数が、図1に示す数(3および
9)に限られるものでないことはいうまでもない。ま
た、中央処理装置10および主記憶装置20の数は複数
であってもかまわない。
The data transfer apparatus of this embodiment comprises a central processing unit 10, a main storage unit 20, a bus connection unit 30, a plurality of (here, three) channel control units 41 to 43, and
Input / output devices 51 to 59 connected to each of the channel control devices 41 to 43 by one or more (here, 3).
And a system bus 100 and an I / O bus 200. Needless to say, the numbers of the plurality of channel control devices and the plurality of input / output devices are not limited to the numbers (3 and 9) shown in FIG. Further, the number of central processing units 10 and main storage units 20 may be plural.

【0017】中央処理装置10は、演算処理を行う装置
であり、ある入出力装置(入出力装置51〜59のいず
れか)に関する入出力処理(本発明で対象とするメモリ
データリード処理もその1つである)を行う際にバス接
続装置30を介して当該入出力装置に対応したチャネル
制御装置(入出力装置51〜53を配下に持つチャネル
制御装置41,入出力装置54〜56を配下に持つチャ
ネル制御装置42,および入出力装置57〜59を配下
に持つチャネル制御装置43のいずれか)に対して入出
力命令(本発明で対象とするメモリデータリード命令も
その1つである)を発行する。
The central processing unit 10 is a device for performing arithmetic processing, and it is an input / output processing relating to a certain input / output apparatus (any of the input / output apparatuses 51 to 59) (the memory data read processing which is the object of the present invention is also part 1). Channel control device corresponding to the input / output device (the channel control device 41 having the input / output devices 51 to 53 under its control and the input / output devices 54 to 56 under the control of the input / output device 51) via the bus connection device 30. An input / output command (a memory data read command targeted by the present invention is one of them) is also issued to the channel control device 42 that it has and any of the channel control devices 43 that have the input / output devices 57 to 59 under it. Issue.

【0018】主記憶装置20は、システムバス100を
介して中央処理装置10およびバス接続装置30とバス
接続されており、バス接続装置30からの要求に従いバ
ス接続装置30に対してデータを送出する。
The main storage device 20 is bus-connected to the central processing unit 10 and the bus connecting device 30 via the system bus 100, and sends data to the bus connecting device 30 in response to a request from the bus connecting device 30. .

【0019】バス接続装置30は、中央処理装置10お
よび主記憶装置20を接続しているシステムバス100
と、チャネル制御装置41〜43を接続しているI/O
バス200とを接続する装置である。
The bus connection device 30 is a system bus 100 connecting the central processing unit 10 and the main storage device 20.
And the I / O connecting the channel control devices 41 to 43
It is a device for connecting to the bus 200.

【0020】このバス接続装置30は、主記憶装置20
からリード主体入出力装置にリードされるデータの先読
みを制御するI/Oバッファ制御部31と、先読みされ
たデータを格納するためのデータバッファであるI/O
バッファ部32と、中央処理装置10からの指示(メモ
リリードデータ数読込み命令)に基づいて各チャネル制
御装置41〜43のメモリリードデータ数(当該チャネ
ル制御装置の配下の入出力装置のメモリリードデータ数
の中の最大数)を格納するI/Oバッファテーブル33
とを含んで構成されている。
The bus connection device 30 is a main storage device 20.
I / O buffer control unit 31 for controlling prefetching of data read from the read main input / output device and I / O which is a data buffer for storing the prefetched data
Based on an instruction (memory read data number read instruction) from the buffer unit 32 and the central processing unit 10, the number of memory read data of each channel control device 41 to 43 (memory read data of an input / output device under the control of the channel control device). I / O buffer table 33 for storing the maximum number)
It is comprised including.

【0021】I/Oバッファ制御部31は、あるチャネ
ル制御装置(チャネル制御装置41〜43のいずれか)
からのメモリデータリード要求が発生した場合に、当該
チャネル制御装置のメモリリードデータ数をI/Oバッ
ファテーブル33の参照により取得し、そのメモリリー
ドデータ数に応じたデータを主記憶装置20から先読み
してI/Oバッファ部32に格納する。
The I / O buffer controller 31 is a channel controller (one of the channel controllers 41 to 43).
When a memory data read request is issued from the main memory device 20, the memory read data number of the channel control device is acquired by referring to the I / O buffer table 33, and the data corresponding to the memory read data number is preread from the main storage device 20. And stores it in the I / O buffer section 32.

【0022】I/Oバッファテーブル33は、チャネル
制御装置41のメモリリードデータ数を格納するI/O
テーブル331と、チャネル制御装置42のメモリリー
ドデータ数を格納するI/Oテーブル332と、チャネ
ル制御装置43のメモリリードデータ数を格納するI/
Oテーブル333とから構成されている。なお、I/O
テーブルの数は、I/Oバス200に接続されているチ
ャネル制御装置の数と同数であり、図1における3に限
られるものでないことはいうまでもない。
The I / O buffer table 33 stores the number of memory read data of the channel controller 41.
A table 331, an I / O table 332 that stores the number of memory read data of the channel controller 42, and an I / O table that stores the number of memory read data of the channel controller 43.
And an O table 333. I / O
It goes without saying that the number of tables is the same as the number of channel control devices connected to the I / O bus 200, and is not limited to 3 in FIG.

【0023】チャネル制御装置41,42および43
は、中央処理装置10からの入出力命令に従って、自装
置の配下に接続されている入出力装置51〜53,54
〜56,および57〜59に関するデータの入出力の制
御を行う装置である。
Channel controllers 41, 42 and 43
Is an input / output device 51 to 53, 54 connected under its own device in accordance with an input / output command from the central processing unit 10.
This is a device for controlling the input / output of data relating to 56 to 57 and 57 to 59.

【0024】チャネル制御装置41〜43は、中央処理
装置10からのメモリデータリード命令(入出力命令の
1つ)に基づくデータ転送が行われる際に、メモリデー
タリード命令で指示されるデータ数がリード主体入出力
装置の転送性能(メモリリードデータ数)を越えている
場合に、転送サイクルをいくつかに分割し、1回の転送
サイクル毎にI/Oバス200の使用権を要求し、当該
1回の転送サイクルが終了するとI/Oバス200の使
用権を放棄する(1回のバス使用要求で連続して複数の
転送サイクルを発生させるのではない)。
The channel control devices 41 to 43, when the data transfer based on the memory data read command (one of the input / output commands) from the central processing unit 10 is performed, determine the number of data specified by the memory data read command. When the transfer performance (the number of memory read data) of the read main input / output device is exceeded, the transfer cycle is divided into several, and the right to use the I / O bus 200 is requested for each transfer cycle. When one transfer cycle ends, the right to use the I / O bus 200 is abandoned (a plurality of transfer cycles are not continuously generated by one bus use request).

【0025】各チャネル制御装置(ここでは、チャネル
制御装置41で代表して説明する)は、チャネル制御回
路411と、データ制御回路412とを含んで構成され
ている(他のチャネル制御装置42および43も同様の
回路を有している)。
Each channel control device (here, the channel control device 41 is representatively described) is configured to include a channel control circuit 411 and a data control circuit 412 (other channel control devices 42 and 42). 43 also has a similar circuit).

【0026】チャネル制御回路411は、中央処理装置
10からのメモリリードデータ数読込み命令に対して、
自装置(自己を有するチャネル制御装置41)の配下に
接続されている入出力装置51〜53のメモリリードデ
ータ数の中の最大数を自装置のメモリリードデータ数と
して応答する機能を有している。
The channel control circuit 411 responds to the memory read data number read command from the central processing unit 10.
It has a function of responding the maximum number of the memory read data numbers of the input / output devices 51 to 53 connected to the own device (the own channel control device 41) as the memory read data number of the own device. There is.

【0027】データ制御回路412は、I/Oバス20
0上に出力されるデータ(自装置の配下に接続されてい
る入出力装置51〜53のいずれかがリード主体入出力
装置である場合の主記憶装置20からのデータ)を入力
し、そのデータをリード主体入出力装置に送出する機能
を有している。
The data control circuit 412 is connected to the I / O bus 20.
0 (data from the main storage device 20 when any of the input / output devices 51 to 53 connected under its own device is a read-based input / output device) is input and the data is output. Is sent to the lead-based input / output device.

【0028】図2は、中央処理装置10からチャネル制
御装置41〜43に発行されるメモリリードデータ数読
込み命令の構成と、その応答の構成とを示す図である。
FIG. 2 is a diagram showing the structure of the memory read data number read command issued from the central processing unit 10 to the channel control devices 41 to 43, and the structure of its response.

【0029】メモリリードデータ数読込み命令は、EP
U CH#(当該メモリリードデータ数読込み命令の発
行元の中央処理装置(ここでは、中央処理装置10)の
識別情報。中央処理装置が複数存在するシステムでも対
応できるようにするため等の情報である)と、CMD
(メモリリードデータ数読込みを指示するコマンド)
と、PCU CH#(当該メモリリードデータ数読込み
命令の発行先のチャネル制御装置の識別情報)とを含ん
でいる。
The memory read data number read command is EP
U CH # (identification information of the central processing unit (here, the central processing unit 10) that has issued the memory read data number reading instruction. This information is used to support a system having a plurality of central processing units. Yes, and CMD
(Command for instructing to read the number of memory read data)
And PCU CH # (identification information of the channel control device to which the memory read data number read command is issued).

【0030】メモリリードデータ数読込み命令の応答
は、当該メモリリードデータ数読込み命令の発行先のチ
ャネル制御装置(チャネル制御装置41〜43のいずれ
か)のメモリリードデータ数を示す制御データを含んで
いる。なお、ここでは、制御データは、当該応答の最下
位1バイトによって表され(他の3バイトはRFU(R
eserve For Use)とされる)、当該1バ
イト中の下位2ビットによってメモリリードデータ数が
表されるものとする。
The response of the memory read data number read command includes control data indicating the number of memory read data of the channel control device (one of the channel control devices 41 to 43) to which the memory read data number read command is issued. There is. Here, the control data is represented by the least significant 1 byte of the response (the other 3 bytes are RFU (R
The number of memory read data is represented by the lower 2 bits in the 1 byte.

【0031】中央処理装置10は、各チャネル制御装置
41〜43に、図2に示すメモリリードデータ数読込み
命令を発行し、図2に示す応答中の制御データが“00
h”のときには4バイトを当該応答の発行元(当該メモ
リリードデータ数読込み命令の発行先)のチャネル制御
装置のメモリリードデータ数と判断し、当該制御データ
が“01h”のときには64バイトを当該メモリリード
データ数と判断し、当該制御データが“10h”のとき
には256バイトを当該メモリリードデータ数と判断す
る(図2参照)。その上で、バス接続装置30内のI/
Oバッファテーブル33中の該当するI/Oテーブル
(I/Oテーブル331〜333のいずれか)に当該メ
モリリードデータ数を格納する。
The central processing unit 10 issues the memory read data number read instruction shown in FIG. 2 to each of the channel control units 41 to 43, and the control data in the response shown in FIG.
When "h", 4 bytes are determined as the memory read data number of the channel control device that is the issuer of the response (issue destination of the memory read data number read instruction), and when the control data is "01h", 64 bytes are determined. The number of memory read data is determined, and when the control data is “10h”, 256 bytes is determined as the number of memory read data (see FIG. 2).
The memory read data number is stored in the corresponding I / O table (one of I / O tables 331 to 333) in the O buffer table 33.

【0032】なお、本実施例では、メモリリードデータ
数は4バイト,64バイトおよび256バイトのいずれ
かであるものとしたが、本発明のデータ転送装置で設定
可能なメモリリードデータ数の数値および種類がこれら
に限られるものでないことはいうまでもない(ただし、
本実施例における3種類の数値は実際の運用上からも妥
当なものである)。
In the present embodiment, the number of memory read data is 4 bytes, 64 bytes or 256 bytes, but the number of memory read data which can be set by the data transfer device of the present invention and It goes without saying that the types are not limited to these (however,
The three types of numerical values in this embodiment are appropriate in actual operation).

【0033】図3は、本実施例のデータ転送装置の処理
を示す流れ図である。
FIG. 3 is a flow chart showing the processing of the data transfer apparatus of this embodiment.

【0034】図3(a)は、メモリリードデータ数読込
み命令発行時(I/Oバッファテーブル32を設定する
時)における本実施例のデータ転送装置の処理を示す流
れ図である。この処理は、メモリリードデータ数読込み
命令発行ステップ301と、応答通知ステップ302
と、メモリリードデータ数格納ステップ303とからな
る。
FIG. 3A is a flow chart showing the processing of the data transfer apparatus of this embodiment at the time of issuing a memory read data number read instruction (when setting the I / O buffer table 32). This process is performed by issuing a memory read data number read command issuing step 301 and a response notifying step 302.
And a memory read data number storage step 303.

【0035】図3(b)は、メモリデータリード命令発
行時(入出力装置51〜59のいずれかが主記憶装置2
0からデータをリードする時)における本実施例のデー
タ転送装置の処理を示す流れ図である。この処理は、メ
モリデータリード命令発行ステップ304と、メモリデ
ータリード要求発行ステップ305と、I/Oテーブル
参照ステップ306と、データ転送制御ステップ307
と、I/Oバス上データ送出ステップ308と、終了報
告通知ステップ309とからなる。
FIG. 3B shows that when the memory data read command is issued (one of the input / output devices 51 to 59 is the main storage device 2).
7 is a flowchart showing the processing of the data transfer device of the present embodiment when reading data from 0). This process is performed by the memory data read command issuing step 304, the memory data read request issuing step 305, the I / O table reference step 306, and the data transfer control step 307.
And an I / O bus data sending step 308 and an end report notifying step 309.

【0036】次に、このように構成された本実施例のデ
ータ転送装置の動作について説明する。
Next, the operation of the data transfer apparatus of this embodiment having the above-mentioned structure will be described.

【0037】第1に、メモリリードデータ数読込み命令
発行時(システム立上げ時等においてI/Oバッファテ
ーブル32を設定する時)の動作について説明する(図
3(a)参照)。
First, the operation at the time of issuing a memory read data number read command (when setting the I / O buffer table 32 at system startup etc.) will be described (see FIG. 3A).

【0038】中央処理装置10は、システムバス10
0,バス接続装置30およびI/Oバス200を介し
て、各チャネル制御装置41〜43に対して(ここで
は、「チャネル制御装置41に対して」の場合で代表し
て説明する)、図2に示すようなメモリリードデータ数
読込み命令を発行する(ステップ301)。
The central processing unit 10 is a system bus 10
0, via the bus connection device 30 and the I / O bus 200, for each channel control device 41 to 43 (herein, the case of “for the channel control device 41” will be described as a representative). A memory read data number read command as shown in 2 is issued (step 301).

【0039】チャネル制御装置41内のチャネル制御回
路411は、このメモリリードデータ数読込み命令に応
じて、自装置(自己を含むチャネル制御装置41)のメ
モリリードデータ数(自装置の配下に接続されている入
出力装置51〜53のメモリリードデータ数の中の最大
数)を示す応答(図2参照)を、I/Oバス200,バ
ス接続装置30およびシステムバス100を介して中央
処理装置10に通知する(ステップ302)。
In response to the memory read data number read command, the channel control circuit 411 in the channel control device 41 determines the number of memory read data of its own device (the channel control device 41 including itself) (connected to the subordinate of the own device). Of the memory read data of the input / output devices 51 to 53 (see FIG. 2) is sent to the central processing unit 10 via the I / O bus 200, the bus connection device 30 and the system bus 100. (Step 302).

【0040】中央処理装置10は、その応答中のメモリ
リードデータ数をバス接続装置30内のI/Oバッファ
テーブル33中のI/Oテーブル331(チャネル制御
装置41に対応するI/Oテーブル)に格納する(ステ
ップ303)。
The central processing unit 10 uses the number of memory read data in the response as the I / O table 331 (I / O table corresponding to the channel control device 41) in the I / O buffer table 33 in the bus connection device 30. (Step 303).

【0041】このような処理が、I/Oバス200に接
続されている全てのチャネル制御装置について行われ
る。すなわち、チャネル制御装置42のメモリリードデ
ータ数はI/Oテーブル332(チャネル制御装置42
に対応するI/Oテーブル)に格納され、チャネル制御
装置43のメモリリードデータ数はI/Oテーブル33
3(チャネル制御装置43に対応するI/Oテーブル)
に格納される。
Such processing is performed for all the channel control devices connected to the I / O bus 200. That is, the number of memory read data of the channel controller 42 is the I / O table 332 (the channel controller 42).
Stored in the I / O table), and the number of memory read data of the channel controller 43 is stored in the I / O table 33.
3 (I / O table corresponding to channel controller 43)
Stored in.

【0042】第2に、メモリデータリード命令発行時
(入出力装置(入出力装置51〜59のいずれか)が主
記憶装置20のデータをリードする時)の動作について
説明する(図3(b)参照)。なお、ここでは、入出力
装置51がリード主体入出力装置である場合の動作につ
いて説明する。
Second, the operation at the time of issuing the memory data read command (when the input / output device (any of the input / output devices 51 to 59) reads the data of the main storage device 20) will be described (FIG. 3 (b)). )reference). Here, the operation when the input / output device 51 is a read-oriented input / output device will be described.

【0043】中央処理装置10は、システムバス10
0,バス接続装置30およびI/Oバス200を介し
て、チャネル制御装置41(リード主体入出力装置であ
る入出力装置51を配下に持つチャネル制御装置)に対
して、リード主体入出力装置を特定したメモリデータリ
ード命令を発行する(ステップ304)。
The central processing unit 10 is the system bus 10
0, through the bus connection device 30 and the I / O bus 200, a read main input / output device is connected to a channel control device 41 (a channel control device having an input / output device 51 which is a read main input / output device under its control). The specified memory data read command is issued (step 304).

【0044】チャネル制御装置41内のチャネル制御回
路411は、当該メモリデータリード命令を解読し、当
該メモリデータリード命令が入出力装置51をリード主
体入出力装置とするものであることを認識すると、I/
Oバス200を介してバス接続装置30に対してメモリ
データリード要求(主記憶装置20から入出力装置51
にデータを転送するためのメモリデータリード要求)を
発行する(ステップ305)。
When the channel control circuit 411 in the channel control device 41 decodes the memory data read command and recognizes that the memory data read command makes the input / output device 51 the read main input / output device, I /
A memory data read request (from the main storage device 20 to the input / output device 51) to the bus connection device 30 via the O bus 200.
Issue a memory data read request) to transfer data to (step 305).

【0045】バス接続装置30内のI/Oバッファ制御
部31は、チャネル制御装置41からの当該メモリデー
タリード要求を受け取ると、当該メモリデータリード要
求がチャネル制御装置41からのものであることに基づ
き、チャネル制御装置41に対応するI/Oテーブル3
31を参照する(ステップ306)。
When the I / O buffer controller 31 in the bus connection device 30 receives the memory data read request from the channel controller 41, the memory data read request comes from the channel controller 41. Based on the I / O table 3 corresponding to the channel control device 41
31 is referred to (step 306).

【0046】さらに、I/Oバッファ制御部31は、ス
テップ306で参照したI/Oテーブル331に格納さ
れているメモリリードデータ数に基づき、当該メモリデ
ータリード命令の対象となる主記憶装置20内のデータ
(メモリデータ)に関するデータ転送の制御を以下の
〜に示すように行う(ステップ307)。
Further, the I / O buffer control section 31 determines, based on the number of memory read data stored in the I / O table 331 referred to in step 306, in the main storage device 20 which is the target of the memory data read instruction. The data transfer control for the data (memory data) is performed as shown in the following (1) to (3) (step 307).

【0047】 当該メモリリードデータ数分のデータ
を格納するためのデータバッファであるI/Oバッファ
部32をバス接続装置30内に割り当てる。
An I / O buffer section 32, which is a data buffer for storing data corresponding to the memory read data number, is allocated in the bus connection device 30.

【0048】 システムバス100を介して、当該メ
モリリードデータ数分のデータを主記憶装置20から
で割り当てたI/Oバッファ部32に先読みする。
Through the system bus 100, data corresponding to the number of memory read data is prefetched to the I / O buffer unit 32 allocated from the main storage device 20.

【0049】 同時に、I/Oバス200上にI/O
バッファ部32内のデータを出力する。
At the same time, I / O on the I / O bus 200
The data in the buffer unit 32 is output.

【0050】チャネル制御装置41内のデータ制御回路
412は、I/Oバス200上に出力されているデータ
を入力し、そのデータをリード主体入出力装置である入
出力装置51に送出する(ステップ308)。
The data control circuit 412 in the channel control device 41 inputs the data output on the I / O bus 200 and sends the data to the input / output device 51 which is the read main input / output device (step). 308).

【0051】チャネル制御装置41内のチャネル制御回
路411は、以上のようにして当該メモリデータリード
命令によって指示されるデータ転送が終了すると(デー
タ転送の対象のデータ量が大きくて複数の転送サイクル
によって当該データ転送が実現される場合には全ての転
送サイクルが終了した後に)、I/Oバス200,バス
接続装置30およびシステムバス100を介して、その
旨を示す終了報告を中央処理装置10に対して通知する
(ステップ309)。
When the data transfer instructed by the memory data read command is completed as described above, the channel control circuit 411 in the channel control device 41 (when the data amount of the data transfer is large and a plurality of transfer cycles occur). When the data transfer is realized, after the completion of all transfer cycles), a completion report indicating that effect is sent to the central processing unit 10 via the I / O bus 200, the bus connection device 30, and the system bus 100. It is notified to the user (step 309).

【0052】中央処理装置10は、この終了報告を受け
取ると、当該メモリデータリード処理に後続する処理の
実行に制御を移す。
Upon receiving this end report, the central processing unit 10 shifts control to the execution of processing subsequent to the memory data read processing.

【0053】[0053]

【発明の効果】以上説明したように、本発明のデータ転
送装置では、各チャネル制御装置のメモリリードデータ
数をI/Oバッファテーブルに設定するためのメモリリ
ードデータ数読込み命令をサポートし、メモリデータリ
ード命令発行時に当該I/Oバッファテーブルを参照す
ることにより、どの入出力装置がリード主体入出力装置
であるかということを考慮して先読みすべき適切なデー
タ数をバス接続装置が判断できるようになる。したがっ
て、本発明によると、主記憶装置とバス接続装置内のデ
ータバッファ(I/Oバッファ部)との間の無効な転送
サイクルを削減することができ、システム性能を向上さ
せることができるという効果が生じる。
As described above, in the data transfer device of the present invention, the memory read data number read instruction for setting the memory read data number of each channel control device in the I / O buffer table is supported. By referring to the I / O buffer table at the time of issuing a data read command, the bus connection device can determine the appropriate number of data to be prefetched in consideration of which input / output device is the read main input / output device. Like Therefore, according to the present invention, it is possible to reduce invalid transfer cycles between the main memory device and the data buffer (I / O buffer unit) in the bus connection device, and it is possible to improve the system performance. Occurs.

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

【図1】本発明のデータ転送装置の一実施例の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a data transfer device of the present invention.

【図2】図1に示すデータ転送装置で取り扱われるメモ
リリードデータ数読込み命令およびその応答の構成を示
す図である。
FIG. 2 is a diagram showing a configuration of a memory read data number read command and its response handled by the data transfer device shown in FIG.

【図3】図1に示すデータ転送装置の処理を示す流れ図
である。
FIG. 3 is a flowchart showing a process of the data transfer device shown in FIG.

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

10 中央処理装置 20 主記憶装置 30 バス接続装置 31 I/Oバッファ制御部 32 I/Oバッファ部 33 I/Oバッファテーブル 41,42,43 チャネル制御装置 51,52,53,54,55,56,57,58,5
9 入出力装置 100 システムバス 200 I/Oバス 331,332,333 I/Oテーブル 411 チャネル制御回路 412 データ制御回路
10 Central Processing Unit 20 Main Storage Device 30 Bus Connection Device 31 I / O Buffer Control Unit 32 I / O Buffer Unit 33 I / O Buffer Table 41, 42, 43 Channel Control Device 51, 52, 53, 54, 55, 56 , 57, 58, 5
9 I / O device 100 System bus 200 I / O bus 331, 332, 333 I / O table 411 Channel control circuit 412 Data control circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の入出力装置と、前記入出力装置を
配下に持つ複数のチャネル制御装置と、中央処理装置
と、主記憶装置と、前記チャネル制御装置を接続してい
るI/Oバスと前記中央処理装置および前記主記憶装置
を接続しているシステムバスとを接続し前記主記憶装置
と前記チャネル制御装置との間のデータ転送を制御する
バス接続装置とを備えるデータ転送装置において、 複数の前記チャネル制御装置の各々のメモリリードデー
タ数を格納する前記バス接続装置内のI/Oバッファテ
ーブルと、 前記I/Oバッファテーブルの設定時にメモリリードデ
ータ数読込み命令を発行してその応答に基づいて前記I
/Oバッファテーブルにメモリリードデータ数を格納
し、前記入出力装置による前記主記憶装置内のデータの
リード時にメモリデータリード命令を発行する前記中央
処理装置と、 前記中央処理装置から発行されるメモリリードデータ数
読込み命令に対して自装置のメモリリードデータ数を示
す応答を通知し、前記中央処理装置から発行される自装
置の配下の入出力装置に関するメモリデータリード命令
に応じて前記バス接続装置にメモリデータリード要求を
発行する前記チャネル制御装置内のチャネル制御回路
と、 当該メモリデータリード要求の発行元の前記チャネル制
御回路を有する前記チャネル制御装置のメモリリードデ
ータ数を前記I/Oバッファテーブルから取得し、その
メモリリードデータ数の大きさのI/Oバッファ部を割
り当て、当該I/Oバッファ部に前記主記憶装置のデー
タを先読みし、当該I/Oバッファ部内のデータをI/
Oバス上に出力する前記バス接続装置内のI/Oバッフ
ァ制御部と、 前記I/Oバッファ制御部によってI/Oバス上に出力
されたデータを入力してリード主体入出力装置に送出す
る前記チャネル制御装置内のデータ制御回路とを有する
ことを特徴とするデータ転送装置。
1. An I / O bus connecting a plurality of input / output devices, a plurality of channel control devices having the input / output devices under its control, a central processing unit, a main storage device, and the channel control device. And a bus connection device that connects a system bus connecting the central processing unit and the main storage device to each other and controls a data transfer between the main storage device and the channel control device, An I / O buffer table in the bus connection device for storing the memory read data number of each of the plurality of channel control devices, and a memory read data number read command issued when the I / O buffer table is set Based on I
/ O buffer table for storing the number of memory read data and issuing a memory data read command when the input / output device reads data in the main memory, and a memory issued by the central processing unit The bus connection device is notified of a response indicating the number of memory read data of its own device in response to the read data number read command, and in response to the memory data read command regarding the input / output device under its own device issued from the central processing unit. A channel control circuit in the channel control device that issues a memory data read request to the I / O buffer table, and the number of memory read data of the channel control device that has the channel control circuit that issued the memory data read request. Acquired from the I / O buffer part of the size of the memory read data Te, pre-read data stored in the main storage to the I / O buffer section, the data in the I / O buffer section I /
An I / O buffer control unit in the bus connection device for outputting on the O bus, and data output on the I / O bus by the I / O buffer control unit are input and sent to a read main input / output device. And a data control circuit in the channel control device.
【請求項2】 メモリリードデータ数読込み命令が「当
該メモリリードデータ数読込み命令の発行元の中央処理
装置の識別情報」,「メモリリードデータ数読込みを指
示するコマンド」,および「当該メモリリードデータ数
読込み命令の発行先のチャネル制御装置の識別情報」か
らなることを特徴とする請求項1記載のデータ転送装
置。
2. The memory read data number read instruction is “identification information of the central processing unit that issued the memory read data number read instruction”, “command for instructing to read the memory read data number”, and “corresponding memory read data”. 2. The data transfer device according to claim 1, comprising "identification information of a channel control device to which a number reading command is issued".
【請求項3】 各チャネル制御装置のメモリリードデー
タ数が4バイト,64バイト,および256バイトのい
ずれかであることを特徴とする請求項1または請求項2
記載のデータ転送装置。
3. The number of memory read data of each channel control device is any one of 4 bytes, 64 bytes and 256 bytes.
A data transfer device according to claim 1.
JP7175508A 1995-06-19 1995-06-19 Data transfer device Expired - Lifetime JP2720838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7175508A JP2720838B2 (en) 1995-06-19 1995-06-19 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7175508A JP2720838B2 (en) 1995-06-19 1995-06-19 Data transfer device

Publications (2)

Publication Number Publication Date
JPH096704A true JPH096704A (en) 1997-01-10
JP2720838B2 JP2720838B2 (en) 1998-03-04

Family

ID=15997281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7175508A Expired - Lifetime JP2720838B2 (en) 1995-06-19 1995-06-19 Data transfer device

Country Status (1)

Country Link
JP (1) JP2720838B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007500402A (en) * 2003-05-07 2007-01-11 フリースケール セミコンダクター インコーポレイテッド Data processing system with peripheral device access protection
JP2007500897A (en) * 2003-07-31 2007-01-18 フリースケール セミコンダクター インコーポレイテッド Prefetch control in data processing system
KR100769867B1 (en) * 2005-03-18 2007-10-25 후지쯔 가부시끼가이샤 Partition allocation method and cpmputer system
JP2011014135A (en) * 2009-06-30 2011-01-20 Intel Corp Method and device for reducing power consumption
WO2016038710A1 (en) * 2014-09-11 2016-03-17 株式会社日立製作所 Storage system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007500402A (en) * 2003-05-07 2007-01-11 フリースケール セミコンダクター インコーポレイテッド Data processing system with peripheral device access protection
JP2007500897A (en) * 2003-07-31 2007-01-18 フリースケール セミコンダクター インコーポレイテッド Prefetch control in data processing system
JP4875981B2 (en) * 2003-07-31 2012-02-15 フリースケール セミコンダクター インコーポレイテッド Prefetch control in data processing system
KR100769867B1 (en) * 2005-03-18 2007-10-25 후지쯔 가부시끼가이샤 Partition allocation method and cpmputer system
JP2011014135A (en) * 2009-06-30 2011-01-20 Intel Corp Method and device for reducing power consumption
WO2016038710A1 (en) * 2014-09-11 2016-03-17 株式会社日立製作所 Storage system
US10216448B2 (en) 2014-09-11 2019-02-26 Hitachi, Ltd. Storage system with read request accelerator having dynamic internal data memory allocation

Also Published As

Publication number Publication date
JP2720838B2 (en) 1998-03-04

Similar Documents

Publication Publication Date Title
JP5275414B2 (en) Readable virtual DMA control and status register
US4475155A (en) I/O Adapter with direct memory access to I/O control information
KR910005997B1 (en) Apparatus and method for an operating system supervisor in a data processing system
US20220237041A1 (en) Parallel processing system performing in-memory processing
JPH04363746A (en) Microcomputer system having dma function
US20030172229A1 (en) Systems and methods for detecting and compensating for runt block data transfers
JPH096704A (en) Data transfer device
JP2856244B2 (en) Data transfer method
JP4431492B2 (en) Data transfer unit that supports multiple coherency granules
JP2000099452A (en) Dma control device
JP2000187636A (en) Dam transfer system
JP2504528B2 (en) Bus control system between main memory controllers
JP2002259326A (en) Dma controller and dma transferring method
JP2001256169A (en) Data transfer control system and device
JP2002278753A (en) Data processing system
JP2826780B2 (en) Data transfer method
JPH04106624A (en) Microprogram storing system
JP2002182901A (en) Coprocessor data access controller, its method and its instruction format
JPS60142767A (en) Asynchronous type bus dominating system
JPH03109661A (en) Data processor
KR20050076274A (en) Muliti-bufferring dma data transferring apparatus adopting descriptor dma controller
JPH07334453A (en) Memory access system
JP2003186666A (en) Microcomputer and dma control circuit
KR19990058631A (en) DM Controller
JPH01193960A (en) Input/output control system