JPH03201152A - Prefetch control system - Google Patents
Prefetch control systemInfo
- Publication number
- JPH03201152A JPH03201152A JP34272589A JP34272589A JPH03201152A JP H03201152 A JPH03201152 A JP H03201152A JP 34272589 A JP34272589 A JP 34272589A JP 34272589 A JP34272589 A JP 34272589A JP H03201152 A JPH03201152 A JP H03201152A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- write data
- data request
- prefetching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000000873 masking effect Effects 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 5
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ転送装置に関し、特にデータ転送装置で
のライトデータの先取り時におけるデータ転送速度を制
御する先取り制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer device, and more particularly to a prefetch control method for controlling the data transfer rate when prefetching write data in a data transfer device.
従来、この種のデータ転送装置では、データオーバラン
対策のためにチャネルに多量のデータバッファが備えら
れており、ライトデータの転送時にはデータバッファに
ライトデータを先取りしてから入出力(I 10)イン
タフェース上のデータ転送を開始するようになっている
が、ライトデータの先取り中のチャネルへのデータ転送
速度はチャネルの転送能カー杯で行われていた。Conventionally, in this type of data transfer device, a large amount of data buffer is provided in the channel to prevent data overruns, and when transferring write data, the write data is first read into the data buffer and then transferred to the input/output (I10) interface. However, the data transfer speed to the channel during the prefetching of write data was performed at the maximum transfer capacity of the channel.
(発明が解決しようとする!1113
上述した従来のデータ転送装置では、ライトデータの先
取り中にチャネルが最大能力でデータバソファが満杯に
なるまでデータ転送を行っていたので、ライトデータの
先取りが複数のチャネルで同時に発生すると、チャネル
制御部の処理がこれらのチャネルのために専有されてし
まい、他のチャネルからのデータ要求(リードおよびラ
イトのいずれの場合も)が長時間待たされてしまい、デ
ータオーバランが発生するという欠点がある。(The invention attempts to solve this problem! 1113) In the conventional data transfer device described above, data was transferred at maximum capacity during the prefetching of write data until the data bath sofa was full. If this happens in multiple channels at the same time, the processing of the channel control unit will be exclusive to these channels, and data requests (both read and write) from other channels will have to wait for a long time. There is a drawback that data overrun occurs.
本発明の目的は、上述の点に鑑み、ライトデータの先取
り中におけるチャネルのデータ要求間隔を長くして、ラ
イトデータの先取り中は同一のチャネルが必要以上のデ
ータ転送速度でデータ要求を実行しないようにして、ラ
イトデータの先取り中でない他のチャネルのデータ要求
に対する待合せ時間を短くしてデータオーバランの発生
を少なくするようにした先取り制御方式を提供すること
にある。In view of the above-mentioned points, an object of the present invention is to lengthen the data request interval of a channel during prefetching of write data, so that the same channel does not execute data requests at a data transfer rate higher than necessary while prefetching write data. In this way, it is an object of the present invention to provide a prefetch control system that reduces the occurrence of data overruns by shortening the waiting time for data requests from other channels that are not currently prefetching write data.
本発明の先取り制御方式は、入出力インタフェースを制
御する複数のチャネルと、これら複数のチャネルを多重
制御するチャネル制御部とを備えるデータ転送装置にお
いて、前記チャネルが、ライトデータの先取り中を表示
するライトデータ先取り中表示手段と、一定周期毎にタ
イムアウト信号を出力するタイマ手段と、このタイマ手
段からのタイムアウト信号によりセットされ前記チャネ
ル制御部からのリプライ信号によりリセットされるデー
タ要求有効表示手段と、前記ライトデータ先取り中表示
手段によりライトデータの先取り中が表示されている場
合に前記データ要求有効表示手段がリセット状態であれ
ば前記チャネル制御部に対するデータ要求信号をマスク
してライトデータの転送速度を所定値以下に抑えるマス
ク手段とを有する。The preemption control method of the present invention provides a data transfer device that includes a plurality of channels that control input/output interfaces and a channel control unit that multiplexes control of the plurality of channels, in which the channel indicates that write data is being preempted. write data prefetching display means; timer means for outputting a timeout signal at regular intervals; and data request valid display means that is set by the timeout signal from the timer means and reset by a reply signal from the channel control section; When the write data prefetching display means indicates that write data is being prefetched and the data request valid display means is in a reset state, the data request signal to the channel control unit is masked to reduce the write data transfer rate. masking means for suppressing the value to below a predetermined value.
本発明の先取り制御方式では、ライトデータ先取り中表
示手段がライトデータの先取り中を表示し、タイマ手段
が一定周期毎にタイムアウト信号を出力し、データ要求
有効表示手段がタイマ手段からのタイムアウト信号によ
りセットされチャネル制御部からのリプライ信号により
リセットされ、マスク手段がライトデータ先取り中表示
手段によりライトデータの先取り中が表示されている場
合にデータ要求有効表示手段かり・セント状態であれば
チャネル制御部に対するデータ要求信号をマスクしてラ
イトデータの転送速度を所定値以下に抑える。In the prefetching control system of the present invention, the write data prefetching display means displays that the write data is being prefetched, the timer means outputs a timeout signal at regular intervals, and the data request valid display means responds to the timeout signal from the timer means. is set and reset by a reply signal from the channel control unit, and if the masking unit is in the write data prefetching display unit and the write data prefetching display unit is indicating that the data request valid display unit is in the state, the channel control unit The data request signal for the write data is masked to suppress the write data transfer speed to a predetermined value or less.
次に、本発明について図面を参照して詳細Q説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明の一実施例に係る先取り制御方式が適
用されたデータ転送装置の構成を示すブロック図である
。このデータ転送装置は、主メモリlと、主メモリ1に
接続されたチャネル制御部2と、チャネル制御部2に接
続された複数のチャネル3と、チャネル3に接続された
周辺装置4とから、その主要部が構成されている。FIG. 1 is a block diagram showing the configuration of a data transfer device to which a preemption control method according to an embodiment of the present invention is applied. This data transfer device includes a main memory 1, a channel control unit 2 connected to the main memory 1, a plurality of channels 3 connected to the channel control unit 2, and a peripheral device 4 connected to the channel 3. Its main parts are composed of:
チャネル3は、バッファ制御部lOと、ライトデータ先
取り中表示手段11と、タイマ手段12と、データ要求
有効表示手段であるデータ要求有効フリップフロップ1
3と、マスク手段14とを含んで構成されている。The channel 3 includes a buffer control unit 10, a write data prefetching display means 11, a timer means 12, and a data request valid flip-flop 1 which is a data request valid display means.
3 and mask means 14.
バッファ制御部lOは、データバッファを内蔵していて
、データ要求信号24に対するチャネル制御部2からの
リプライ信号26に応じてライトデータ27をデータバ
ッファに格納する。また、バッファ制御部10は、I1
0インタフェース28を介して周辺装置E4との間のデ
ータ転送を制御する。The buffer control unit 1O has a built-in data buffer, and stores write data 27 in the data buffer in response to a reply signal 26 from the channel control unit 2 in response to the data request signal 24. Further, the buffer control unit 10 controls I1
0 interface 28 to and from peripheral device E4.
ライトデータ先取り中表示手段11は、バッファM御部
10からのセント/リセット信号21によりセットおよ
びリセットされ、セント中にライトデータ27の先取り
中を表示するライトデータ先取り表示信号23をオンに
してマスク手段4に出力する。The write data prefetching display means 11 is set and reset by the cent/reset signal 21 from the buffer M control unit 10, and is masked by turning on the write data prefetching display signal 23 that indicates that the write data 27 is being prefetched during cents. Output to means 4.
タイマ手段12は、一定周期毎にタイムアウト信号20
をデータ要求有効フリップフロップ13に出力する。The timer means 12 outputs a timeout signal 20 at regular intervals.
is output to the data request valid flip-flop 13.
データ要求有効フリップフロップ13は、タイマ手段1
2からのタイムアウト信号20によりセントされ、チャ
ネル制御部2からのリプライ信号26によりリセットさ
れ、セント時にデータ要求有効信号22をオンにしてマ
スク手段14に出力する。The data request valid flip-flop 13 is connected to the timer means 1.
It is sent by the timeout signal 20 from the channel control section 2, and reset by the reply signal 26 from the channel control section 2. At the time of sending, the data request valid signal 22 is turned on and outputted to the masking means 14.
マスク手段14は、ライトデータ先取り中表示手段11
からのライトデータ先取り表示信号23がオンである間
は、データ要求有効フリップフロップ13からのデータ
要求有効18号22がオンであればバッファ制御部lO
からのデータ要求信号24をチャネル制御部2に対する
データ要求信号25として出力し、データ要求有効信号
22がオフであればバッファ制御部10からのデータ要
求信号24をマスクする。The masking means 14 displays the write data prefetching display means 11.
While the write data prefetching display signal 23 from the data request valid flip-flop 13 is on, if the data request valid signal 22 from the data request valid flip-flop 13 is on, the buffer control unit lO
The data request signal 24 from the buffer controller 10 is output as a data request signal 25 to the channel controller 2, and if the data request valid signal 22 is off, the data request signal 24 from the buffer controller 10 is masked.
次に、このように構成された先取り制御方式の動作につ
いて説明する。Next, the operation of the preemption control system configured as described above will be explained.
まず、チャネル制御部2がチャネル3にライトデータ転
送(主メモリlから周辺装置4に対するデータ転送)を
指示すると、バッファ制御部lOは、セット/リセット
イε号21によりライトデータ先取り中表示手段11を
セントしてライトデータ先取り表示信号23をオンにし
、データ要求18号24によりライトデータ要求をマス
ク手段14に対して行う。First, when the channel control unit 2 instructs the channel 3 to transfer write data (data transfer from the main memory 1 to the peripheral device 4), the buffer control unit 10 causes the write data prefetching display unit 11 to be displayed by the set/reset signal ε 21. Then, the write data prefetch display signal 23 is turned on, and a write data request is made to the masking means 14 using the data request number 18 24.
マスク手段14には、ライトデータ先取り中表示手段1
1からのライトデータ先取り表示信号23がオンであり
、かつタイマ手段12からのタイムアウト信号20によ
りデータ要求有効フリップフロツブ13からのデータ要
求有効信号22がオンとなっているため、データ要求信
号24をデータ要求信号25としてチャネル制御部2に
出力する。The masking means 14 includes a write data prefetching display means 1.
Since the write data prefetching display signal 23 from 1 is on and the data request valid signal 22 from the data request valid flip-flop 13 is on due to the timeout signal 20 from the timer means 12, the data request signal 24 is output to the channel control section 2 as a data request signal 25.
チャネル制御部2は、データ要求信号25に応じて主メ
モリlからデータを読み出し、ライトデータ27として
バッファ制御部10に出力し、リプライ信号26をバッ
フ1ti11111部10およびデータ要求有効フリッ
プフロップ13に出力する。Channel control unit 2 reads data from main memory l in response to data request signal 25, outputs it as write data 27 to buffer control unit 10, and outputs reply signal 26 to buffer 1ti11111 unit 10 and data request valid flip-flop 13. do.
データ要求有効フリップフロップ13は、リプライ信号
26によりリセットされて、データ要求有効信号22を
オフに反転させる。Data request valid flip-flop 13 is reset by reply signal 26 to turn data request valid signal 22 off.
バッファ制御部lOは、リプライ信号26に応じてライ
トデータ27を内部のデータバッファに格納し、データ
バッファに空きがある場合にはデータ要求信号24を再
出力して次のデータ要求を行う。The buffer control unit 1O stores the write data 27 in an internal data buffer in response to the reply signal 26, and if there is space in the data buffer, re-outputs the data request signal 24 to request the next data.
しかし、この時点では、データ要求有効フリップフロッ
プ13がリセットされてデータ要求有効信号22がオフ
になっているため、マスク手段14は、データ要求信号
24の入力にもかかわらずデータ要求信号25の出力を
マスクする。However, at this point, the data request valid flip-flop 13 is reset and the data request valid signal 22 is turned off, so the masking means 14 outputs the data request signal 25 despite the input of the data request signal 24. mask.
この後、タイマ手段12のあらかじめ定められたタイム
アウト間隔より短い時間が経過すると、タイマ手段12
がかならずタイムアウトを発生し、タイムアウト信号2
0がオンになる。After this, when a time shorter than the predetermined timeout interval of the timer means 12 has elapsed, the timer means 12
always generates a timeout, and the timeout signal 2
0 is turned on.
このため、データ要求有効フリップフロップ13は、タ
イムアウト信号20により再びセットされ、データ要求
有効信号22がオンとなる。Therefore, the data request valid flip-flop 13 is set again by the timeout signal 20, and the data request valid signal 22 is turned on.
これにより、マスク手段14は、データ要求(8号24
をデータ要求信号25としてチャネル制御部2に出力す
る。As a result, the masking means 14 requests the data (No. 8 24
is output to the channel control section 2 as a data request signal 25.
チャネル1111m部2は、データ要求信号25に応じ
て主メモリlからデータを読み出し、ライトデータ27
としてバッファ制御部10に入力し、リプライ信号26
をバッファ制御部10およびデータ要求有効フリップフ
ロップ13に出力する。The channel 1111m unit 2 reads data from the main memory l in response to the data request signal 25, and writes the write data 27.
is input to the buffer control unit 10 as a reply signal 26.
is output to the buffer control unit 10 and the data request valid flip-flop 13.
データ要求有効フリップフロップ13は、リプライ信号
26により再びリセットされ、タイマ手段12がタイム
アウトするまでオフの状態を保持する。The data request valid flip-flop 13 is reset again by the reply signal 26 and remains off until the timer means 12 times out.
バッファ制御部lOは、リプライ信号26に応じてライ
トデータ27をデータバッファに取り込み、データバッ
ファが満杯になるまでデータ要求信号24を繰り返し出
力し続ける。The buffer control unit 10 takes the write data 27 into the data buffer in response to the reply signal 26, and continues to repeatedly output the data request signal 24 until the data buffer is full.
マスク手段14は、データ要求信号24をデータ要求有
効信号22がオンになるまで待ち合わせた後にデータ要
求信号25としてチャネル制御部2に出力する。The masking means 14 outputs the data request signal 24 to the channel control section 2 as a data request signal 25 after waiting until the data request valid signal 22 is turned on.
以下、同様の処理を繰り返して、データバッファが満杯
となりライトデータの先取りが完了すると、バッファ制
御部1Gは、セント/リセット信号21によりライトデ
ータ先取り中表示手段11をリセットし、データバッフ
ァからI10インクフェース28を介して周辺装置4へ
のライトデータの転送を開始する。Thereafter, similar processing is repeated, and when the data buffer is full and prefetching of write data is completed, the buffer control unit 1G resets the write data prefetching display means 11 by the cent/reset signal 21, and transfers the I10 ink from the data buffer. Transfer of write data to the peripheral device 4 via the interface 28 is started.
ライトデータの周辺!Jlf4への転送が進み、データ
バッファに一定以上の空きが生じたならば、バッファ制
御部lOは、再びデータ要求信号24をマスク手段14
に対して出力する。Around light data! When the transfer to Jlf4 progresses and a certain amount of space becomes available in the data buffer, the buffer control unit 10 again transmits the data request signal 24 to the masking unit 14.
Output for.
マスク手段14は、ライトデータ先取り表示信号23が
オフであるので、こんどはデータ要求有効信号22のオ
ン/オフに無関係に、データ要求信号24をデータ要求
信号25としてチャネル制御部2に出力する。Since the write data prefetching display signal 23 is off, the masking means 14 outputs the data request signal 24 as the data request signal 25 to the channel control unit 2 regardless of whether the data request valid signal 22 is on or off.
バッファ制御部lOは、リプライ信号26が返ってくる
と、ライトデータ27をデータバッファに取り込む。When the reply signal 26 is returned, the buffer control unit 10 takes in the write data 27 into the data buffer.
以下同様にして、バッファ制御部10は、周辺装置4と
のライトデータの転送を行いながら、データバッファに
一定以上の空きが生じるたびにデータ要求信号24を出
力して、データ転送動作を実行する。Similarly, while transferring write data to and from the peripheral device 4, the buffer control unit 10 outputs a data request signal 24 every time a certain amount of space becomes available in the data buffer, thereby executing the data transfer operation. .
以上説明したように本発明は、ライトデータ先取り中表
示手段、タイマ手段、データ要求有効表示手段およびマ
スク手段を設け、ライトデータの先取り中のデータ要求
間隔を長くして、ライトデータの先取り中は同一のチャ
ネルが必要以上のデータ転送速度でデータ要求を実行し
ないようにすることにより、ライトデータの先取り中で
ない他のチャネルのデータ要求に対する待合せ時間を短
くしてデータオーバランの発生を少なくすることができ
るという効果がある。As described above, the present invention includes a write data prefetching display means, a timer means, a data request valid display means, and a masking means, and increases the data request interval during write data prefetching. By preventing the same channel from executing data requests at a data transfer rate higher than necessary, it is possible to shorten the waiting time for data requests from other channels that are not preempting write data and reduce the occurrence of data overruns. There is an effect that it can be done.
【図面の簡単な説明】
第1図は本発明の一実施例に係る先取り制御方式が適用
されたデータ転送装置の構成を示すプロンク図である。
図において、
l・・・主メモリ、
2・・・チャネル制御部、
3・・・チャネル、
4・・・周辺装置、
10・・バッファ制御部、
11・・ライトデータ先取り中表示手段、12・・タイ
マ手段、
13・・データ要求有効フリンプフロップ(データ要求
有効表示手段)、
マスク手段、
タイムアウト信号、
セット/リセン■δ号、
データ要求有効信号、
ライトデータ先取り表示信号、
データ要求信号、
データ要求信号、
リプライ信号、
ライトデータ、
I10インタフェースである。
l 4 ・
20 ・
2 l ・
22 ・
23 ・
24 ・
25 ・
26 ・
27 ・
28 ・
第1図BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the configuration of a data transfer device to which a preemption control method according to an embodiment of the present invention is applied. In the figure, l... Main memory, 2... Channel control unit, 3... Channel, 4... Peripheral device, 10... Buffer control unit, 11... Write data prefetching display means, 12...・Timer means, 13...Data request valid flip-flop (data request valid display means), mask means, timeout signal, set/resen ■δ number, data request valid signal, write data prefetching display signal, data request signal, data These are the request signal, reply signal, write data, and I10 interface. l 4 ・ 20 ・ 2 l ・ 22 ・ 23 ・ 24 ・ 25 ・ 26 ・ 27 ・ 28 ・ Figure 1
Claims (1)
れら複数のチャネルを多重制御するチャネル制御部とを
備えるデータ転送装置において、前記チャネルが、 ライトデータの先取り中を表示するライトデータ先取り
中表示手段と、 一定周期毎にタイムアウト信号を出力するタイマ手段と
、 このタイマ手段からのタイムアウト信号によりセットさ
れ前記チャネル制御部からのリプライ信号によりリセッ
トされるデータ要求有効表示手段と、 前記ライトデータ先取り中表示手段によりライトデータ
の先取り中が表示されている場合に前記データ要求有効
表示手段がリセット状態であれば前記チャネル制御部に
対するデータ要求信号をマスクしてライトデータの転送
速度を所定値以下に抑えるマスク手段と を有することを特徴とする先取り制御方式。[Scope of Claims] A data transfer device comprising a plurality of channels for controlling input/output interfaces and a channel control section for multiplexing control of the plurality of channels, wherein the channel is configured to transmit write data indicating that write data is being prefetched. Pre-fetching display means; timer means for outputting a timeout signal at regular intervals; data request valid display means set by the timeout signal from the timer means and reset by a reply signal from the channel control section; When the data prefetching display means indicates that write data is being prefetched and the data request valid display means is in a reset state, the data request signal to the channel control unit is masked and the write data transfer rate is set to a predetermined value. A preemptive control method characterized by having a masking means for suppressing:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34272589A JPH03201152A (en) | 1989-12-28 | 1989-12-28 | Prefetch control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34272589A JPH03201152A (en) | 1989-12-28 | 1989-12-28 | Prefetch control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03201152A true JPH03201152A (en) | 1991-09-03 |
Family
ID=18356007
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34272589A Pending JPH03201152A (en) | 1989-12-28 | 1989-12-28 | Prefetch control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03201152A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7818479B2 (en) | 2003-09-26 | 2010-10-19 | Toshiba Storage Device Corporation | Interface apparatus and packet transfer method |
-
1989
- 1989-12-28 JP JP34272589A patent/JPH03201152A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7818479B2 (en) | 2003-09-26 | 2010-10-19 | Toshiba Storage Device Corporation | Interface apparatus and packet transfer method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4602327A (en) | Bus master capable of relinquishing bus on request and retrying bus cycle | |
| US5613162A (en) | Method and apparatus for performing efficient direct memory access data transfers | |
| US5469577A (en) | Providing alternate bus master with multiple cycles of bursting access to local bus in a dual bus system including a processor local bus and a device communications bus | |
| JPS623362A (en) | Data reception system | |
| US5905912A (en) | System for implementing peripheral device bus mastering in a computer using a list processor for asserting and receiving control signals external to the DMA controller | |
| JPH06214945A (en) | Computer system and high-speed information transfer method | |
| JPH03201152A (en) | Prefetch control system | |
| KR20010013137A (en) | Communication DMA Device | |
| US6651152B1 (en) | Microcomputer including download circuit controlling data download to plurality of memories | |
| EP0341670A2 (en) | Processing time allocation system and method | |
| JP2963696B2 (en) | Data transfer control system | |
| JP2599184B2 (en) | DMAC read transfer controller | |
| JP3259095B2 (en) | Data transfer method | |
| JPH0145657B2 (en) | ||
| JPS6022383B2 (en) | input/output control device | |
| JP2826780B2 (en) | Data transfer method | |
| JPS60252977A (en) | Information processor | |
| JPS63129446A (en) | Interruption control system | |
| JPH0236971B2 (en) | ||
| JPS6160161A (en) | Multi-processor system | |
| JPS6057465A (en) | Simultaneous control system of display device and printer | |
| JPS6028023B2 (en) | I/O instruction acceleration method | |
| JPH03259491A (en) | Memory controller | |
| JPH03282667A (en) | Computer device | |
| JPH04160459A (en) | Data transfer device |